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
4647 echo "pipeline_test_matrix=$matrix" >> $GITHUB_OUTPUT
4748 - name : Pipeline Tests Artifacts
4849 if : ${{ always() }}
49- uses : actions/upload-artifact@v2
50+ uses : actions/upload-artifact@v4
5051 with :
5152 name : test-pipelines.json
5253 path : reports
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
9798 cat reports/tests_pipeline_${{ matrix.module }}_cuda_failures_short.txt
9899 - name : Test suite reports artifacts
99100 if : ${{ always() }}
100- uses : actions/upload-artifact@v2
101+ uses : actions/upload-artifact@v4
101102 with :
102103 name : pipeline_${{ matrix.module }}_test_reports
103104 path : reports
@@ -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() }}
156- uses : actions/upload-artifact@v2
157+ 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 : |
@@ -200,7 +201,7 @@ jobs:
200201
201202 - name : Test suite reports artifacts
202203 if : ${{ always() }}
203- uses : actions/upload-artifact@v2
204+ uses : actions/upload-artifact@v4
204205 with :
205206 name : flax_tpu_test_reports
206207 path : reports
@@ -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 : |
@@ -248,7 +249,7 @@ jobs:
248249
249250 - name : Test suite reports artifacts
250251 if : ${{ always() }}
251- uses : actions/upload-artifact@v2
252+ uses : actions/upload-artifact@v4
252253 with :
253254 name : onnx_cuda_test_reports
254255 path : reports
@@ -291,7 +292,7 @@ jobs:
291292
292293 - name : Test suite reports artifacts
293294 if : ${{ always() }}
294- uses : actions/upload-artifact@v2
295+ uses : actions/upload-artifact@v4
295296 with :
296297 name : torch_compile_test_reports
297298 path : reports
@@ -333,7 +334,7 @@ jobs:
333334
334335 - name : Test suite reports artifacts
335336 if : ${{ always() }}
336- uses : actions/upload-artifact@v2
337+ uses : actions/upload-artifact@v4
337338 with :
338339 name : torch_xformers_test_reports
339340 path : reports
@@ -384,7 +385,7 @@ jobs:
384385
385386 - name : Test suite reports artifacts
386387 if : ${{ always() }}
387- uses : actions/upload-artifact@v2
388+ uses : actions/upload-artifact@v4
388389 with :
389390 name : examples_test_reports
390391 path : reports
0 commit comments