Skip to content

Commit 186e5bc

Browse files
committed
update
1 parent 01a5692 commit 186e5bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
run: |
7474
uv pip install -e ".[quality]"
7575
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
76+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
7677
uv pip install pytest-reportlog
7778
- name: Environment
7879
run: |
@@ -126,6 +127,7 @@ jobs:
126127
uv pip install -e ".[quality]"
127128
uv pip install peft@git+https://github.com/huggingface/peft.git
128129
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
130+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
129131
uv pip install pytest-reportlog
130132
- name: Environment
131133
run: python utils/print_env.py
@@ -190,6 +192,7 @@ jobs:
190192
- name: Install dependencies
191193
run: |
192194
uv pip install -e ".[quality,training]"
195+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
193196
- name: Environment
194197
run: |
195198
python utils/print_env.py
@@ -232,6 +235,7 @@ jobs:
232235
uv pip install -e ".[quality]"
233236
uv pip install peft@git+https://github.com/huggingface/peft.git
234237
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
238+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
235239
uv pip install pytest-reportlog
236240
- name: Environment
237241
run: |
@@ -281,6 +285,7 @@ jobs:
281285
uv pip install -e ".[quality]"
282286
uv pip install peft@git+https://github.com/huggingface/peft.git
283287
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
288+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
284289
285290
- name: Environment
286291
run: |
@@ -358,6 +363,7 @@ jobs:
358363
uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
359364
fi
360365
uv pip install pytest-reportlog
366+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
361367
- name: Environment
362368
run: |
363369
python utils/print_env.py
@@ -405,6 +411,7 @@ jobs:
405411
run: |
406412
uv pip install -e ".[quality]"
407413
uv pip install -U bitsandbytes optimum_quanto
414+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
408415
uv pip install pytest-reportlog
409416
- name: Environment
410417
run: |

0 commit comments

Comments
 (0)