Skip to content

Commit 8c07129

Browse files
committed
maybe better
1 parent fb6aae6 commit 8c07129

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/pr_modular_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +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 --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
113+
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
114114
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
115115
116116
- name: Environment

.github/workflows/pr_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +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 --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
119+
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
120120
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
121121
122122
- name: Environment
@@ -253,7 +253,7 @@ jobs:
253253
python -m uv pip install -e [quality,test]
254254
# TODO (sayakpaul, DN6): revisit `--no-deps`
255255
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
256-
python -m uv pip install --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
256+
python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
257257
python -m uv pip install -U tokenizers
258258
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
259259

.github/workflows/pr_tests_gpu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +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 --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
136+
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
137137
138138
- name: Environment
139139
run: |
@@ -204,7 +204,7 @@ jobs:
204204
python -m uv pip install -e [quality,test]
205205
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
206206
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
207-
pip uninstall transformers -y && python -m uv pip install --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
207+
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
208208
209209
- name: Environment
210210
run: |
@@ -266,7 +266,7 @@ jobs:
266266
- name: Install dependencies
267267
run: |
268268
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
269-
pip uninstall transformers -y && python -m uv pip install --allow-prerelease -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
269+
pip uninstall transformers -y && python -m uv pip install --prerelease allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
270270
python -m uv pip install -e [quality,test,training]
271271
272272
- name: Environment

0 commit comments

Comments
 (0)