File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -262,11 +262,7 @@ jobs:
262262 nvidia-smi
263263 - name : Install dependencies
264264 run : |
265- if [ "${{ matrix.transformers_version }}" = "main" ]; then
266- uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
267- else
268- uv pip uninstall transformers huggingface_hub && uv pip install transformers==${{ matrix.transformers_version }}
269- fi
265+ uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
270266 uv pip install -e ".[quality,training]"
271267
272268 - name : Environment
@@ -290,6 +286,6 @@ jobs:
290286 if : ${{ always() }}
291287 uses : actions/upload-artifact@v6
292288 with :
293- name : examples_transformers_${{ matrix.transformers_version }}_test_reports
289+ name : examples_test_reports
294290 path : reports
295291
Original file line number Diff line number Diff line change 7676 run : |
7777 uv pip install -e ".[quality]"
7878 uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
79- #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
80- uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
79+ uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
8180 - name : Environment
8281 run : |
8382 python utils/print_env.py
@@ -129,8 +128,7 @@ jobs:
129128 uv pip install -e ".[quality]"
130129 uv pip install peft@git+https://github.com/huggingface/peft.git
131130 uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
132- #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
133- uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
131+ uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
134132
135133 - name : Environment
136134 run : |
@@ -182,8 +180,7 @@ jobs:
182180 - name : Install dependencies
183181 run : |
184182 uv pip install -e ".[quality,training]"
185- #uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
186- uv pip uninstall transformers huggingface_hub && uv pip install transformers==4.57.1
183+ uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
187184 - name : Environment
188185 run : |
189186 python utils/print_env.py
You can’t perform that action at this time.
0 commit comments