Skip to content

Commit 5761c84

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.31.0.rc0
1 parent fb29132 commit 5761c84

15 files changed

+108
-108
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: 33 additions & 33 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

@@ -202,7 +202,7 @@ jobs:
202202
- name: Install dependencies
203203
run: |
204204
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
205-
python -m uv pip install -e [quality,test,training]
205+
python -m uv pip install --prerelease=allow -e [quality,test,training]
206206
- name: Environment
207207
run: |
208208
python utils/print_env.py
@@ -249,10 +249,10 @@ jobs:
249249
- name: Install dependencies
250250
run: |
251251
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
252-
python -m uv pip install -e [quality,test]
253-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
254-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
255-
python -m uv pip install pytest-reportlog
252+
python -m uv pip install --prerelease=allow -e [quality,test]
253+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
254+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
255+
python -m uv pip install --prerelease=allow pytest-reportlog
256256
- name: Environment
257257
run: |
258258
python utils/print_env.py
@@ -304,9 +304,9 @@ jobs:
304304
- name: Install dependencies
305305
run: |
306306
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
307-
python -m uv pip install -e [quality,test]
308-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
309-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
307+
python -m uv pip install --prerelease=allow -e [quality,test]
308+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
309+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
310310
311311
- name: Environment
312312
run: |
@@ -363,9 +363,9 @@ jobs:
363363
- name: Install dependencies
364364
run: |
365365
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
366-
python -m uv pip install -e [quality,test]
367-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
368-
python -m uv pip install pytest-reportlog
366+
python -m uv pip install --prerelease=allow -e [quality,test]
367+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
368+
python -m uv pip install --prerelease=allow pytest-reportlog
369369
370370
- name: Environment
371371
run: python utils/print_env.py
@@ -419,9 +419,9 @@ jobs:
419419
- name: Install dependencies
420420
run: |
421421
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
422-
python -m uv pip install -e [quality,test]
423-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
424-
python -m uv pip install pytest-reportlog
422+
python -m uv pip install --prerelease=allow -e [quality,test]
423+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
424+
python -m uv pip install --prerelease=allow pytest-reportlog
425425
- name: Environment
426426
run: python utils/print_env.py
427427

@@ -488,12 +488,12 @@ jobs:
488488
- name: Install dependencies
489489
run: |
490490
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
491-
python -m uv pip install -e [quality,test]
492-
python -m uv pip install -U ${{ matrix.config.backend }}
491+
python -m uv pip install --prerelease=allow -e [quality,test]
492+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
493493
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
494-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
494+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
495495
fi
496-
python -m uv pip install pytest-reportlog
496+
python -m uv pip install --prerelease=allow pytest-reportlog
497497
- name: Environment
498498
run: |
499499
python utils/print_env.py
@@ -551,10 +551,10 @@ jobs:
551551
# shell: arch -arch arm64 bash {0}
552552
# run: |
553553
# ${CONDA_RUN} python -m pip install --upgrade pip uv
554-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
555-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
556-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
557-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
554+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
555+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
556+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
557+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
558558
# - name: Environment
559559
# shell: arch -arch arm64 bash {0}
560560
# run: |
@@ -607,10 +607,10 @@ jobs:
607607
# shell: arch -arch arm64 bash {0}
608608
# run: |
609609
# ${CONDA_RUN} python -m pip install --upgrade pip uv
610-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
611-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
612-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
613-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
610+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
611+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
612+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
613+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
614614
# - name: Environment
615615
# shell: arch -arch arm64 bash {0}
616616
# 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)