7676 run : |
7777 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
7878 python -m uv pip install -e [quality,test]
79- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
79+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
8080 - name : Environment
8181 run : |
8282 python utils/print_env.py
@@ -127,8 +127,8 @@ jobs:
127127 run : |
128128 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
129129 python -m uv pip install -e [quality,test]
130- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
131130 python -m uv pip install peft@git+https://github.com/huggingface/peft.git
131+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
132132
133133 - name : Environment
134134 run : |
@@ -142,20 +142,20 @@ jobs:
142142 run : |
143143 python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
144144 -s -v -k "not Flax and not Onnx" \
145- --make-reports=tests_torch_cuda \
145+ --make-reports=tests_torch_cuda_${{ matrix.module }} \
146146 tests/${{ matrix.module }}
147147
148148 - name : Failure short reports
149149 if : ${{ failure() }}
150150 run : |
151- cat reports/tests_torch_cuda_stats .txt
152- cat reports/tests_torch_cuda_failures_short .txt
151+ cat reports/tests_torch_cuda_${{ matrix.module }}_stats .txt
152+ cat reports/tests_torch_cuda_${{ matrix.module }}_failures_short .txt
153153
154154 - name : Test suite reports artifacts
155155 if : ${{ always() }}
156156 uses : actions/upload-artifact@v4
157157 with :
158- name : torch_cuda_test_reports
158+ name : torch_cuda_test_reports_${{ matrix.module }}
159159 path : reports
160160
161161 flax_tpu_tests :
@@ -177,7 +177,7 @@ jobs:
177177 run : |
178178 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
179179 python -m uv pip install -e [quality,test]
180- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
180+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
181181
182182 - name : Environment
183183 run : |
@@ -225,7 +225,7 @@ jobs:
225225 run : |
226226 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
227227 python -m uv pip install -e [quality,test]
228- python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate.git
228+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
229229
230230 - name : Environment
231231 run : |
0 commit comments