|
35 | 35 | - name: Install dependencies |
36 | 36 | run: | |
37 | 37 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
38 | | - python -m pip install -e .[quality,test] |
39 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
| 38 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 39 | + python -m uv pip install -e [quality,test] |
| 40 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
40 | 41 |
|
41 | 42 | - name: Environment |
42 | 43 | run: | |
|
79 | 80 | - name: Install dependencies |
80 | 81 | run: | |
81 | 82 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
82 | | - python -m pip install -e .[quality,test] |
83 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
| 83 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 84 | + python -m uv pip install -e [quality,test] |
| 85 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
84 | 86 | - name: Environment |
85 | 87 | run: | |
86 | 88 | python utils/print_env.py |
@@ -128,8 +130,9 @@ jobs: |
128 | 130 | - name: Install dependencies |
129 | 131 | run: | |
130 | 132 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
131 | | - python -m pip install -e .[quality,test] |
132 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
| 133 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 134 | + python -m uv pip install -e [quality,test] |
| 135 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
133 | 136 |
|
134 | 137 | - name: Environment |
135 | 138 | run: | |
@@ -177,9 +180,10 @@ jobs: |
177 | 180 | - name: Install dependencies |
178 | 181 | run: | |
179 | 182 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
180 | | - python -m pip install -e .[quality,test] |
181 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
182 | | - python -m pip install git+https://github.com/huggingface/peft.git |
| 183 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 184 | + python -m uv pip install -e [quality,test] |
| 185 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
| 186 | + python -m uv pip install peft@git+https://github.com/huggingface/peft.git |
183 | 187 |
|
184 | 188 | - name: Environment |
185 | 189 | run: | |
@@ -227,8 +231,9 @@ jobs: |
227 | 231 | - name: Install dependencies |
228 | 232 | run: | |
229 | 233 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
230 | | - python -m pip install -e .[quality,test] |
231 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
| 234 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 235 | + python -m uv pip install -e [quality,test] |
| 236 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
232 | 237 |
|
233 | 238 | - name: Environment |
234 | 239 | run: | |
@@ -274,8 +279,9 @@ jobs: |
274 | 279 | - name: Install dependencies |
275 | 280 | run: | |
276 | 281 | apt-get update && apt-get install libsndfile1-dev libgl1 -y |
277 | | - python -m pip install -e .[quality,test] |
278 | | - python -m pip install git+https://github.com/huggingface/accelerate.git |
| 282 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 283 | + python -m uv pip install -e [quality,test] |
| 284 | + python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git |
279 | 285 |
|
280 | 286 | - name: Environment |
281 | 287 | run: | |
@@ -323,7 +329,8 @@ jobs: |
323 | 329 | nvidia-smi |
324 | 330 | - name: Install dependencies |
325 | 331 | run: | |
326 | | - python -m pip install -e .[quality,test,training] |
| 332 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 333 | + python -m uv pip install -e [quality,test,training] |
327 | 334 | - name: Environment |
328 | 335 | run: | |
329 | 336 | python utils/print_env.py |
@@ -363,7 +370,8 @@ jobs: |
363 | 370 | nvidia-smi |
364 | 371 | - name: Install dependencies |
365 | 372 | run: | |
366 | | - python -m pip install -e .[quality,test,training] |
| 373 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 374 | + python -m uv pip install -e [quality,test,training] |
367 | 375 | - name: Environment |
368 | 376 | run: | |
369 | 377 | python utils/print_env.py |
@@ -404,16 +412,19 @@ jobs: |
404 | 412 |
|
405 | 413 | - name: Install dependencies |
406 | 414 | run: | |
407 | | - python -m pip install -e .[quality,test,training] |
| 415 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
| 416 | + python -m uv pip install -e [quality,test,training] |
408 | 417 |
|
409 | 418 | - name: Environment |
410 | 419 | run: | |
| 420 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
411 | 421 | python utils/print_env.py |
412 | 422 |
|
413 | 423 | - name: Run example tests on GPU |
414 | 424 | env: |
415 | 425 | HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }} |
416 | 426 | run: | |
| 427 | + python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH" |
417 | 428 | python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/ |
418 | 429 |
|
419 | 430 | - name: Failure short reports |
|
0 commit comments