Skip to content

Commit 625bcab

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.32.0.rc0
1 parent a5f4cc7 commit 625bcab

15 files changed

+111
-111
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
- name: Install dependencies
3737
run: |
3838
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
39-
python -m uv pip install -e [quality,test]
40-
python -m uv pip install pandas peft
41-
python -m uv pip uninstall transformers && python -m uv pip install transformers==4.48.0
39+
python -m uv pip install --prerelease=allow -e [quality,test]
40+
python -m uv pip install --prerelease=allow pandas peft
41+
python -m uv pip uninstall transformers && python -m uv pip install --prerelease=allow transformers==4.48.0
4242
- name: Environment
4343
run: |
4444
python utils/print_env.py

.github/workflows/nightly_tests.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ jobs:
7171
- name: Install dependencies
7272
run: |
7373
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
74-
python -m uv pip install -e [quality,test]
75-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
76-
python -m uv pip install pytest-reportlog
74+
python -m uv pip install --prerelease=allow -e [quality,test]
75+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
76+
python -m uv pip install --prerelease=allow pytest-reportlog
7777
- name: Environment
7878
run: |
7979
python utils/print_env.py
@@ -129,10 +129,10 @@ jobs:
129129
- name: Install dependencies
130130
run: |
131131
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
132-
python -m uv pip install -e [quality,test]
133-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
134-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
135-
python -m uv pip install pytest-reportlog
132+
python -m uv pip install --prerelease=allow -e [quality,test]
133+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
134+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
135+
python -m uv pip install --prerelease=allow pytest-reportlog
136136
- name: Environment
137137
run: python utils/print_env.py
138138

@@ -203,7 +203,7 @@ jobs:
203203
- name: Install dependencies
204204
run: |
205205
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
206-
python -m uv pip install -e [quality,test,training]
206+
python -m uv pip install --prerelease=allow -e [quality,test,training]
207207
- name: Environment
208208
run: |
209209
python utils/print_env.py
@@ -250,10 +250,10 @@ 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]
254-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
255-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
256-
python -m uv pip install pytest-reportlog
253+
python -m uv pip install --prerelease=allow -e [quality,test]
254+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
255+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
256+
python -m uv pip install --prerelease=allow pytest-reportlog
257257
- name: Environment
258258
run: |
259259
python utils/print_env.py
@@ -305,9 +305,9 @@ jobs:
305305
- name: Install dependencies
306306
run: |
307307
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
308-
python -m uv pip install -e [quality,test]
309-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
310-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
308+
python -m uv pip install --prerelease=allow -e [quality,test]
309+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
310+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
311311
312312
- name: Environment
313313
run: |
@@ -364,9 +364,9 @@ jobs:
364364
- name: Install dependencies
365365
run: |
366366
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
367-
python -m uv pip install -e [quality,test]
368-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
369-
python -m uv pip install pytest-reportlog
367+
python -m uv pip install --prerelease=allow -e [quality,test]
368+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
369+
python -m uv pip install --prerelease=allow pytest-reportlog
370370
371371
- name: Environment
372372
run: python utils/print_env.py
@@ -420,9 +420,9 @@ jobs:
420420
- name: Install dependencies
421421
run: |
422422
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
423-
python -m uv pip install -e [quality,test]
424-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
425-
python -m uv pip install pytest-reportlog
423+
python -m uv pip install --prerelease=allow -e [quality,test]
424+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
425+
python -m uv pip install --prerelease=allow pytest-reportlog
426426
- name: Environment
427427
run: python utils/print_env.py
428428

@@ -489,12 +489,12 @@ jobs:
489489
- name: Install dependencies
490490
run: |
491491
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
492-
python -m uv pip install -e [quality,test]
493-
python -m uv pip install -U ${{ matrix.config.backend }}
492+
python -m uv pip install --prerelease=allow -e [quality,test]
493+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
494494
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
495-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
495+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
496496
fi
497-
python -m uv pip install pytest-reportlog
497+
python -m uv pip install --prerelease=allow pytest-reportlog
498498
- name: Environment
499499
run: |
500500
python utils/print_env.py
@@ -546,9 +546,9 @@ jobs:
546546
- name: Install dependencies
547547
run: |
548548
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
549-
python -m uv pip install -e [quality,test]
550-
python -m uv pip install -U bitsandbytes optimum_quanto
551-
python -m uv pip install pytest-reportlog
549+
python -m uv pip install --prerelease=allow -e [quality,test]
550+
python -m uv pip install --prerelease=allow -U bitsandbytes optimum_quanto
551+
python -m uv pip install --prerelease=allow pytest-reportlog
552552
- name: Environment
553553
run: |
554554
python utils/print_env.py
@@ -606,10 +606,10 @@ jobs:
606606
# shell: arch -arch arm64 bash {0}
607607
# run: |
608608
# ${CONDA_RUN} python -m pip install --upgrade pip uv
609-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
610-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
611-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
612-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
609+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
610+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
611+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
612+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
613613
# - name: Environment
614614
# shell: arch -arch arm64 bash {0}
615615
# run: |
@@ -662,10 +662,10 @@ jobs:
662662
# shell: arch -arch arm64 bash {0}
663663
# run: |
664664
# ${CONDA_RUN} python -m pip install --upgrade pip uv
665-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
666-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
667-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
668-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
665+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
666+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
667+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
668+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
669669
# - name: Environment
670670
# shell: arch -arch arm64 bash {0}
671671
# 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
@@ -120,9 +120,9 @@ jobs:
120120
- name: Install dependencies
121121
run: |
122122
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
123-
python -m uv pip install -e [quality,test]
124-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
125-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
123+
python -m uv pip install --prerelease=allow -e [quality,test]
124+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
125+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
126126
127127
- name: Environment
128128
run: |
@@ -160,7 +160,7 @@ jobs:
160160
if: ${{ matrix.config.framework == 'pytorch_examples' }}
161161
run: |
162162
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
163-
python -m uv pip install peft timm
163+
python -m uv pip install --prerelease=allow peft timm
164164
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
165165
--make-reports=tests_${{ matrix.config.report }} \
166166
examples
@@ -210,7 +210,7 @@ jobs:
210210
- name: Install dependencies
211211
run: |
212212
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
213-
python -m uv pip install -e [quality,test]
213+
python -m uv pip install --prerelease=allow -e [quality,test]
214214
215215
- name: Environment
216216
run: |
@@ -264,12 +264,12 @@ jobs:
264264
- name: Install dependencies
265265
run: |
266266
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
267-
python -m uv pip install -e [quality,test]
267+
python -m uv pip install --prerelease=allow -e [quality,test]
268268
# TODO (sayakpaul, DN6): revisit `--no-deps`
269269
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
270-
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
271-
python -m uv pip install -U tokenizers
272-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
270+
python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
271+
python -m uv pip install --prerelease=allow -U tokenizers
272+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
273273
274274
- name: Environment
275275
run: |

.github/workflows/pr_tests_gpu.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Install dependencies
8989
run: |
9090
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
91-
python -m uv pip install -e [quality,test]
91+
python -m uv pip install --prerelease=allow -e [quality,test]
9292
- name: Environment
9393
run: |
9494
python utils/print_env.py
@@ -130,9 +130,9 @@ jobs:
130130
- name: Install dependencies
131131
run: |
132132
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
133-
python -m uv pip install -e [quality,test]
134-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
135-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
133+
python -m uv pip install --prerelease=allow -e [quality,test]
134+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
135+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
136136
137137
- name: Environment
138138
run: |
@@ -200,10 +200,10 @@ jobs:
200200
- name: Install dependencies
201201
run: |
202202
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
203-
python -m uv pip install -e [quality,test]
204-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
205-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
206-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
203+
python -m uv pip install --prerelease=allow -e [quality,test]
204+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
205+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
206+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
207207
208208
- name: Environment
209209
run: |
@@ -265,8 +265,8 @@ jobs:
265265
- name: Install dependencies
266266
run: |
267267
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
268-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
269-
python -m uv pip install -e [quality,test,training]
268+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
269+
python -m uv pip install --prerelease=allow -e [quality,test,training]
270270
271271
- name: Environment
272272
run: |
@@ -278,7 +278,7 @@ jobs:
278278
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
279279
run: |
280280
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
281-
python -m uv pip install timm
281+
python -m uv pip install --prerelease=allow timm
282282
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
283283
284284
- 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"

0 commit comments

Comments
 (0)