7373 run : |
7474 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
7575 python -m uv pip install -e [quality,test]
76- pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
77- python -m uv pip install pytest-reportlog
76+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
77+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
78+
7879 - name : Environment
7980 run : |
8081 python utils/print_env.py
@@ -128,7 +129,8 @@ jobs:
128129 python -m uv pip install -e [quality,test]
129130 python -m uv pip install peft@git+https://github.com/huggingface/peft.git
130131 pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
131- python -m uv pip install pytest-reportlog
132+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
133+
132134 - name : Environment
133135 run : python utils/print_env.py
134136
@@ -152,6 +154,7 @@ jobs:
152154 # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
153155 CUBLAS_WORKSPACE_CONFIG : :16:8
154156 run : |
157+ python -m uv pip install timm
155158 python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
156159 -s -v --make-reports=examples_torch_cuda \
157160 --report-log=examples_torch_cuda.log \
@@ -192,7 +195,10 @@ jobs:
192195 - name : Install dependencies
193196 run : |
194197 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
195- python -m uv pip install -e [quality,test,training]
198+ python -m uv pip install -e [quality,test]
199+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
200+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
201+ python -m uv pip install -U peft@git+https://github.com/huggingface/peft.git
196202 - name : Environment
197203 run : |
198204 python utils/print_env.py
@@ -236,7 +242,8 @@ jobs:
236242 python -m uv pip install -e [quality,test]
237243 python -m uv pip install peft@git+https://github.com/huggingface/peft.git
238244 pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
239- python -m uv pip install pytest-reportlog
245+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
246+
240247 - name : Environment
241248 run : |
242249 python utils/print_env.py
@@ -285,6 +292,7 @@ jobs:
285292 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
286293 python -m uv pip install -e [quality,test]
287294 python -m uv pip install peft@git+https://github.com/huggingface/peft.git
295+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
288296 pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
289297
290298 - name : Environment
@@ -343,7 +351,7 @@ jobs:
343351 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
344352 python -m uv pip install -e [quality,test]
345353 pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
346- python -m uv pip install pytest-reportlog
354+
347355 - name : Environment
348356 run : python utils/print_env.py
349357
@@ -405,11 +413,13 @@ jobs:
405413 run : |
406414 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
407415 python -m uv pip install -e [quality,test]
416+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
417+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
408418 python -m uv pip install -U ${{ matrix.config.backend }}
409419 if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
410420 python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
411421 fi
412- python -m uv pip install pytest-reportlog
422+
413423 - name : Environment
414424 run : |
415425 python utils/print_env.py
@@ -457,8 +467,10 @@ jobs:
457467 run : |
458468 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
459469 python -m uv pip install -e [quality,test]
470+ pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
471+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
460472 python -m uv pip install -U bitsandbytes optimum_quanto
461- python -m uv pip install pytest-reportlog
473+
462474 - name : Environment
463475 run : |
464476 python utils/print_env.py
@@ -508,7 +520,7 @@ jobs:
508520 python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
509521 python -m uv pip install -e [quality,test]
510522 pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
511- python -m uv pip install pytest-reportlog
523+
512524
513525 - name : Environment
514526 run : python utils/print_env.py
@@ -624,7 +636,7 @@ jobs:
624636# ${CONDA_RUN} python -m uv pip install -e [quality,test]
625637# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
626638# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
627- # ${CONDA_RUN} python -m uv pip install pytest-reportlog
639+ # ${CONDA_RUN}
628640# - name: Environment
629641# shell: arch -arch arm64 bash {0}
630642# run: |
@@ -680,7 +692,7 @@ jobs:
680692# ${CONDA_RUN} python -m uv pip install -e [quality,test]
681693# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
682694# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
683- # ${CONDA_RUN} python -m uv pip install pytest-reportlog
695+ # ${CONDA_RUN}
684696# - name: Environment
685697# shell: arch -arch arm64 bash {0}
686698# run: |
0 commit comments