Skip to content

Commit 38f0ad5

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.34.0.rc0
1 parent f36ba9f commit 38f0ad5

15 files changed

+96
-96
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
apt update
4040
apt install -y libpq-dev postgresql-client
4141
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
42-
python -m uv pip install -e [quality,test]
43-
python -m uv pip install -r benchmarks/requirements.txt
42+
python -m uv pip install --prerelease=allow -e [quality,test]
43+
python -m uv pip install --prerelease=allow -r benchmarks/requirements.txt
4444
- name: Environment
4545
run: |
4646
python utils/print_env.py

.github/workflows/nightly_tests.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ jobs:
7272
- name: Install dependencies
7373
run: |
7474
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
75-
python -m uv pip install -e [quality,test]
76-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
77-
python -m uv pip install pytest-reportlog
75+
python -m uv pip install --prerelease=allow -e [quality,test]
76+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
77+
python -m uv pip install --prerelease=allow pytest-reportlog
7878
- name: Environment
7979
run: |
8080
python utils/print_env.py
@@ -125,10 +125,10 @@ jobs:
125125
- name: Install dependencies
126126
run: |
127127
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
128-
python -m uv pip install -e [quality,test]
129-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
130-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
131-
python -m uv pip install pytest-reportlog
128+
python -m uv pip install --prerelease=allow -e [quality,test]
129+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
130+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
131+
python -m uv pip install --prerelease=allow pytest-reportlog
132132
- name: Environment
133133
run: python utils/print_env.py
134134

@@ -192,7 +192,7 @@ jobs:
192192
- name: Install dependencies
193193
run: |
194194
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
195-
python -m uv pip install -e [quality,test,training]
195+
python -m uv pip install --prerelease=allow -e [quality,test,training]
196196
- name: Environment
197197
run: |
198198
python utils/print_env.py
@@ -233,10 +233,10 @@ jobs:
233233
- name: Install dependencies
234234
run: |
235235
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
236-
python -m uv pip install -e [quality,test]
237-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
238-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
239-
python -m uv pip install pytest-reportlog
236+
python -m uv pip install --prerelease=allow -e [quality,test]
237+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
238+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
239+
python -m uv pip install --prerelease=allow pytest-reportlog
240240
- name: Environment
241241
run: |
242242
python utils/print_env.py
@@ -283,9 +283,9 @@ jobs:
283283
- name: Install dependencies
284284
run: |
285285
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
286-
python -m uv pip install -e [quality,test]
287-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
288-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
286+
python -m uv pip install --prerelease=allow -e [quality,test]
287+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
288+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
289289
290290
- name: Environment
291291
run: |
@@ -355,12 +355,12 @@ jobs:
355355
- name: Install dependencies
356356
run: |
357357
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
358-
python -m uv pip install -e [quality,test]
359-
python -m uv pip install -U ${{ matrix.config.backend }}
358+
python -m uv pip install --prerelease=allow -e [quality,test]
359+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
360360
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
361-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
361+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
362362
fi
363-
python -m uv pip install pytest-reportlog
363+
python -m uv pip install --prerelease=allow pytest-reportlog
364364
- name: Environment
365365
run: |
366366
python utils/print_env.py
@@ -407,9 +407,9 @@ jobs:
407407
- name: Install dependencies
408408
run: |
409409
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
410-
python -m uv pip install -e [quality,test]
411-
python -m uv pip install -U bitsandbytes optimum_quanto
412-
python -m uv pip install pytest-reportlog
410+
python -m uv pip install --prerelease=allow -e [quality,test]
411+
python -m uv pip install --prerelease=allow -U bitsandbytes optimum_quanto
412+
python -m uv pip install --prerelease=allow pytest-reportlog
413413
- name: Environment
414414
run: |
415415
python utils/print_env.py
@@ -521,10 +521,10 @@ jobs:
521521
# shell: arch -arch arm64 bash {0}
522522
# run: |
523523
# ${CONDA_RUN} python -m pip install --upgrade pip uv
524-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
525-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
526-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
527-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
524+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
525+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
526+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
527+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
528528
# - name: Environment
529529
# shell: arch -arch arm64 bash {0}
530530
# run: |
@@ -577,10 +577,10 @@ jobs:
577577
# shell: arch -arch arm64 bash {0}
578578
# run: |
579579
# ${CONDA_RUN} python -m pip install --upgrade pip uv
580-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
581-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
582-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
583-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
580+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
581+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
582+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
583+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
584584
# - name: Environment
585585
# shell: arch -arch arm64 bash {0}
586586
# run: |

.github/workflows/pr_dependency_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
run: |
2828
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
2929
python -m pip install --upgrade pip uv
30-
python -m uv pip install -e .
31-
python -m uv pip install pytest
30+
python -m uv pip install --prerelease=allow -e .
31+
python -m uv pip install --prerelease=allow pytest
3232
- name: Check for soft dependencies
3333
run: |
3434
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"

.github/workflows/pr_flax_dependency_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
run: |
2828
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
2929
python -m pip install --upgrade pip uv
30-
python -m uv pip install -e .
31-
python -m uv pip install "jax[cpu]>=0.2.16,!=0.3.2"
32-
python -m uv pip install "flax>=0.4.1"
33-
python -m uv pip install "jaxlib>=0.1.65"
34-
python -m uv pip install pytest
30+
python -m uv pip install --prerelease=allow -e .
31+
python -m uv pip install --prerelease=allow "jax[cpu]>=0.2.16,!=0.3.2"
32+
python -m uv pip install --prerelease=allow "flax>=0.4.1"
33+
python -m uv pip install --prerelease=allow "jaxlib>=0.1.65"
34+
python -m uv pip install --prerelease=allow pytest
3535
- name: Check for soft dependencies
3636
run: |
3737
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"

.github/workflows/pr_test_fetcher.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
37-
python -m uv pip install -e [quality,test]
37+
python -m uv pip install --prerelease=allow -e [quality,test]
3838
- name: Environment
3939
run: |
4040
python utils/print_env.py

.github/workflows/pr_tests.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ jobs:
115115
- name: Install dependencies
116116
run: |
117117
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
118-
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 accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
118+
python -m uv pip install --prerelease=allow -e [quality,test]
119+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
120+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
121121
122122
- name: Environment
123123
run: |
@@ -146,7 +146,7 @@ jobs:
146146
if: ${{ matrix.config.framework == 'pytorch_examples' }}
147147
run: |
148148
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
149-
python -m uv pip install peft timm
149+
python -m uv pip install --prerelease=allow peft timm
150150
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
151151
--make-reports=tests_${{ matrix.config.report }} \
152152
examples
@@ -196,7 +196,7 @@ jobs:
196196
- name: Install dependencies
197197
run: |
198198
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
199-
python -m uv pip install -e [quality,test]
199+
python -m uv pip install --prerelease=allow -e [quality,test]
200200
201201
- name: Environment
202202
run: |
@@ -250,12 +250,12 @@ jobs:
250250
- name: Install dependencies
251251
run: |
252252
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
253-
python -m uv pip install -e [quality,test]
253+
python -m uv pip install --prerelease=allow -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 -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
257-
python -m uv pip install -U tokenizers
258-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
256+
python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
257+
python -m uv pip install --prerelease=allow -U tokenizers
258+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
259259
260260
- name: Environment
261261
run: |

.github/workflows/pr_tests_gpu.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install dependencies
9090
run: |
9191
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
92-
python -m uv pip install -e [quality,test]
92+
python -m uv pip install --prerelease=allow -e [quality,test]
9393
- name: Environment
9494
run: |
9595
python utils/print_env.py
@@ -131,9 +131,9 @@ jobs:
131131
- name: Install dependencies
132132
run: |
133133
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
134-
python -m uv pip install -e [quality,test]
135-
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
134+
python -m uv pip install --prerelease=allow -e [quality,test]
135+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
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: |
@@ -201,10 +201,10 @@ jobs:
201201
- name: Install dependencies
202202
run: |
203203
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
204-
python -m uv pip install -e [quality,test]
205-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
206-
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 -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
204+
python -m uv pip install --prerelease=allow -e [quality,test]
205+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
206+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
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,8 +266,8 @@ 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 -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
270-
python -m uv pip install -e [quality,test,training]
269+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
270+
python -m uv pip install --prerelease=allow -e [quality,test,training]
271271
272272
- name: Environment
273273
run: |
@@ -279,7 +279,7 @@ jobs:
279279
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
280280
run: |
281281
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
282-
python -m uv pip install timm
282+
python -m uv pip install --prerelease=allow timm
283283
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
284284
285285
- name: Failure short reports

.github/workflows/pr_torch_dependency_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
run: |
2828
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
2929
python -m pip install --upgrade pip uv
30-
python -m uv pip install -e .
31-
python -m uv pip install torch torchvision torchaudio
32-
python -m uv pip install pytest
30+
python -m uv pip install --prerelease=allow -e .
31+
python -m uv pip install --prerelease=allow torch torchvision torchaudio
32+
python -m uv pip install --prerelease=allow pytest
3333
- name: Check for soft dependencies
3434
run: |
3535
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"

.github/workflows/push_tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install dependencies
3636
run: |
3737
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
38-
python -m uv pip install -e [quality,test]
38+
python -m uv pip install --prerelease=allow -e [quality,test]
3939
- name: Environment
4040
run: |
4141
python utils/print_env.py
@@ -76,8 +76,8 @@ jobs:
7676
- name: Install dependencies
7777
run: |
7878
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
79-
python -m uv pip install -e [quality,test]
80-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
79+
python -m uv pip install --prerelease=allow -e [quality,test]
80+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
8181
- name: Environment
8282
run: |
8383
python utils/print_env.py
@@ -127,9 +127,9 @@ jobs:
127127
- name: Install dependencies
128128
run: |
129129
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
130-
python -m uv pip install -e [quality,test]
131-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
132-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
130+
python -m uv pip install --prerelease=allow -e [quality,test]
131+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
132+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
133133
134134
- name: Environment
135135
run: |
@@ -181,7 +181,7 @@ jobs:
181181
- name: Install dependencies
182182
run: |
183183
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
184-
python -m uv pip install -e [quality,test,training]
184+
python -m uv pip install --prerelease=allow -e [quality,test,training]
185185
- name: Environment
186186
run: |
187187
python utils/print_env.py
@@ -224,7 +224,7 @@ jobs:
224224
- name: Install dependencies
225225
run: |
226226
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
227-
python -m uv pip install -e [quality,test,training]
227+
python -m uv pip install --prerelease=allow -e [quality,test,training]
228228
- name: Environment
229229
run: |
230230
python utils/print_env.py
@@ -265,7 +265,7 @@ jobs:
265265
- name: Install dependencies
266266
run: |
267267
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
268-
python -m uv pip install -e [quality,test,training]
268+
python -m uv pip install --prerelease=allow -e [quality,test,training]
269269
270270
- name: Environment
271271
run: |
@@ -277,7 +277,7 @@ jobs:
277277
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
278278
run: |
279279
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
280-
python -m uv pip install timm
280+
python -m uv pip install --prerelease=allow timm
281281
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
282282
283283
- name: Failure short reports

0 commit comments

Comments
 (0)