Skip to content

Commit 79911ce

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.30.0.rc3
1 parent 617c208 commit 79911ce

15 files changed

+107
-107
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: 32 additions & 32 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

@@ -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-
python -m uv pip install pytest-reportlog
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+
python -m uv pip install --prerelease=allow pytest-reportlog
207207
- name: Environment
208208
run: |
209209
python utils/print_env.py
@@ -255,9 +255,9 @@ jobs:
255255
- name: Install dependencies
256256
run: |
257257
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
258-
python -m uv pip install -e [quality,test]
259-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
260-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
258+
python -m uv pip install --prerelease=allow -e [quality,test]
259+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
260+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
261261
262262
- name: Environment
263263
run: |
@@ -314,9 +314,9 @@ jobs:
314314
- name: Install dependencies
315315
run: |
316316
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
317-
python -m uv pip install -e [quality,test]
318-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
319-
python -m uv pip install pytest-reportlog
317+
python -m uv pip install --prerelease=allow -e [quality,test]
318+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
319+
python -m uv pip install --prerelease=allow pytest-reportlog
320320
321321
- name: Environment
322322
run: python utils/print_env.py
@@ -370,9 +370,9 @@ jobs:
370370
- name: Install dependencies
371371
run: |
372372
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
373-
python -m uv pip install -e [quality,test]
374-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
375-
python -m uv pip install pytest-reportlog
373+
python -m uv pip install --prerelease=allow -e [quality,test]
374+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
375+
python -m uv pip install --prerelease=allow pytest-reportlog
376376
- name: Environment
377377
run: python utils/print_env.py
378378

@@ -439,12 +439,12 @@ jobs:
439439
- name: Install dependencies
440440
run: |
441441
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
442-
python -m uv pip install -e [quality,test]
443-
python -m uv pip install -U ${{ matrix.config.backend }}
442+
python -m uv pip install --prerelease=allow -e [quality,test]
443+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
444444
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
445-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
445+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
446446
fi
447-
python -m uv pip install pytest-reportlog
447+
python -m uv pip install --prerelease=allow pytest-reportlog
448448
- name: Environment
449449
run: |
450450
python utils/print_env.py
@@ -502,10 +502,10 @@ jobs:
502502
# shell: arch -arch arm64 bash {0}
503503
# run: |
504504
# ${CONDA_RUN} python -m pip install --upgrade pip uv
505-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
506-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
507-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
508-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
505+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
506+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
507+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
508+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
509509
# - name: Environment
510510
# shell: arch -arch arm64 bash {0}
511511
# run: |
@@ -558,10 +558,10 @@ jobs:
558558
# shell: arch -arch arm64 bash {0}
559559
# run: |
560560
# ${CONDA_RUN} python -m pip install --upgrade pip uv
561-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
562-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
563-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
564-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
561+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
562+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
563+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
564+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
565565
# - name: Environment
566566
# shell: arch -arch arm64 bash {0}
567567
# 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
@@ -119,9 +119,9 @@ jobs:
119119
- name: Install dependencies
120120
run: |
121121
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
122-
python -m uv pip install -e [quality,test]
123-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
124-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
122+
python -m uv pip install --prerelease=allow -e [quality,test]
123+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
124+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
125125
126126
- name: Environment
127127
run: |
@@ -159,7 +159,7 @@ jobs:
159159
if: ${{ matrix.config.framework == 'pytorch_examples' }}
160160
run: |
161161
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
162-
python -m uv pip install peft timm
162+
python -m uv pip install --prerelease=allow peft timm
163163
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
164164
--make-reports=tests_${{ matrix.config.report }} \
165165
examples
@@ -209,7 +209,7 @@ jobs:
209209
- name: Install dependencies
210210
run: |
211211
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
212-
python -m uv pip install -e [quality,test]
212+
python -m uv pip install --prerelease=allow -e [quality,test]
213213
214214
- name: Environment
215215
run: |
@@ -263,12 +263,12 @@ jobs:
263263
- name: Install dependencies
264264
run: |
265265
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
266-
python -m uv pip install -e [quality,test]
266+
python -m uv pip install --prerelease=allow -e [quality,test]
267267
# TODO (sayakpaul, DN6): revisit `--no-deps`
268268
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
269-
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
270-
python -m uv pip install -U tokenizers
271-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
269+
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 -U tokenizers
271+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
272272
273273
- name: Environment
274274
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)