@@ -132,9 +132,8 @@ jobs:
132
132
run : |
133
133
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
134
134
python -m uv pip install -e [quality,test]
135
- # Stopping this update temporarily until the Hub RC is fully shipped and integrated.
136
- # pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
137
- # pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
135
+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
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
138
137
139
138
- name : Environment
140
139
run : |
@@ -204,9 +203,8 @@ jobs:
204
203
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
205
204
python -m uv pip install -e [quality,test]
206
205
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
207
- # Stopping this update temporarily until the Hub RC is fully shipped and integrated.
208
- # pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
209
- # pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
206
+ pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
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
210
208
211
209
- name : Environment
212
210
run : |
@@ -268,8 +266,7 @@ jobs:
268
266
- name : Install dependencies
269
267
run : |
270
268
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
271
- # Stopping this update temporarily until the Hub RC is fully shipped and integrated.
272
- # pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
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
273
270
python -m uv pip install -e [quality,test,training]
274
271
275
272
- name : Environment
0 commit comments