Skip to content

Commit 9522d34

Browse files
committed
and now?
1 parent 50befc6 commit 9522d34

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/pr_modular_tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ jobs:
110110
run: |
111111
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
112112
python -m uv pip install -e [quality,test]
113-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
114-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
113+
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
115114
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
116115
117116
- name: Environment

.github/workflows/pr_tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ jobs:
116116
run: |
117117
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
118118
python -m uv pip install -e [quality,test]
119-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
120-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
119+
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
121120
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
122121
123122
- name: Environment
@@ -254,8 +253,7 @@ jobs:
254253
python -m uv pip install -e [quality,test]
255254
# TODO (sayakpaul, DN6): revisit `--no-deps`
256255
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
257-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
258-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
256+
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
259257
python -m uv pip install -U tokenizers
260258
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
261259

.github/workflows/pr_tests_gpu.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ jobs:
133133
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
134134
python -m uv pip install -e [quality,test]
135135
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
136-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
137-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
136+
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
138137
139138
- name: Environment
140139
run: |
@@ -205,8 +204,7 @@ jobs:
205204
python -m uv pip install -e [quality,test]
206205
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
207206
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
208-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
209-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
207+
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
210208
211209
- name: Environment
212210
run: |
@@ -268,8 +266,7 @@ jobs:
268266
- name: Install dependencies
269267
run: |
270268
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
271-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
272-
pip uninstall huggingface_hub -y && python -m uv pip install --prerelease allow -U huggingface_hub
269+
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
273270
python -m uv pip install -e [quality,test,training]
274271
275272
- name: Environment

0 commit comments

Comments
 (0)