Skip to content

Commit 35d7033

Browse files
authored
[CI] Fix typo in uv install (#12618)
update
1 parent b455dc9 commit 35d7033

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/push_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +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
79+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
8080
- name: Environment
8181
run: |
8282
python utils/print_env.py
@@ -128,7 +128,7 @@ jobs:
128128
uv pip install -e ".[quality]"
129129
uv pip install peft@git+https://github.com/huggingface/peft.git
130130
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
131+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
132132
133133
- name: Environment
134134
run: |
@@ -180,7 +180,7 @@ jobs:
180180
- name: Install dependencies
181181
run: |
182182
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
183+
uv pip uninstall transformers huggingface_hub && uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git
184184
- name: Environment
185185
run: |
186186
python utils/print_env.py

0 commit comments

Comments
 (0)