Skip to content

Commit 92cab95

Browse files
author
Mark Saroufim
committed
Update model workflow to use uv venv
1 parent 7083362 commit 92cab95

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/nvidia_model_workflow.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@ jobs:
3636
# Now write to file (won't be logged since it's masked)
3737
echo "$PAYLOAD" > payload.json
3838
39+
- name: Install uv
40+
uses: astral-sh/setup-uv@v4
41+
3942
- name: Setup Virtual Environment and Install Dependencies
4043
shell: bash
4144
run: |
42-
pip install --upgrade pip
43-
pip install -r "requirements-dev.txt"
44-
pip install -e .
45+
uv venv .venv
46+
echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
47+
echo "$PWD/.venv/bin" >> $GITHUB_PATH
48+
uv pip install -r "requirements-dev.txt"
49+
uv pip install -e .
4550
4651
- name: Run model benchmark
4752
shell: bash

0 commit comments

Comments
 (0)