1414 DIFFUSERS_IS_CI : yes
1515 OMP_NUM_THREADS : 8
1616 MKL_NUM_THREADS : 8
17+ HF_HUB_ENABLE_HF_TRANSFER : 1
1718 PYTEST_TIMEOUT : 600
1819 PIPELINE_USAGE_CUTOFF : 50000
1920
7677 run : |
7778 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
7879 python -m uv pip install -e [quality,test]
79- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
80+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
8081 - name : Environment
8182 run : |
8283 python utils/print_env.py
@@ -127,8 +128,8 @@ jobs:
127128 run : |
128129 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
129130 python -m uv pip install -e [quality,test]
130- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
131131 python -m uv pip install peft@git+https://github.com/huggingface/peft.git
132+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
132133
133134 - name : Environment
134135 run : |
@@ -142,20 +143,20 @@ jobs:
142143 run : |
143144 python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
144145 -s -v -k "not Flax and not Onnx" \
145- --make-reports=tests_torch_cuda \
146+ --make-reports=tests_torch_cuda_${{ matrix.module }} \
146147 tests/${{ matrix.module }}
147148
148149 - name : Failure short reports
149150 if : ${{ failure() }}
150151 run : |
151- cat reports/tests_torch_cuda_stats .txt
152- cat reports/tests_torch_cuda_failures_short .txt
152+ cat reports/tests_torch_cuda_${{ matrix.module }}_stats .txt
153+ cat reports/tests_torch_cuda_${{ matrix.module }}_failures_short .txt
153154
154155 - name : Test suite reports artifacts
155156 if : ${{ always() }}
156157 uses : actions/upload-artifact@v4
157158 with :
158- name : torch_cuda_test_reports
159+ name : torch_cuda_test_reports_${{ matrix.module }}
159160 path : reports
160161
161162 flax_tpu_tests :
@@ -177,7 +178,7 @@ jobs:
177178 run : |
178179 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
179180 python -m uv pip install -e [quality,test]
180- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
181+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
181182
182183 - name : Environment
183184 run : |
@@ -225,7 +226,7 @@ jobs:
225226 run : |
226227 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
227228 python -m uv pip install -e [quality,test]
228- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
229+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
229230
230231 - name : Environment
231232 run : |
0 commit comments