Skip to content

Commit bc8fd86

Browse files
authored
[CI] Push test fix (#12617)
update
1 parent a9cb08a commit bc8fd86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/push_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
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 -y && pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
7980
- name: Environment
8081
run: |
8182
python utils/print_env.py
@@ -127,6 +128,7 @@ jobs:
127128
uv pip install -e ".[quality]"
128129
uv pip install peft@git+https://github.com/huggingface/peft.git
129130
uv pip uninstall accelerate && uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
131+
uv pip uninstall transformers -y && pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
130132
131133
- name: Environment
132134
run: |
@@ -178,6 +180,7 @@ jobs:
178180
- name: Install dependencies
179181
run: |
180182
uv pip install -e ".[quality,training]"
183+
uv pip uninstall transformers -y && pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
181184
- name: Environment
182185
run: |
183186
python utils/print_env.py

0 commit comments

Comments
 (0)