Skip to content

Commit e4663cc

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.29.3.rc0
1 parent 4e3ddd5 commit e4663cc

15 files changed

+105
-105
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ 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
39+
python -m uv pip install --prerelease=allow -e [quality,test]
40+
python -m uv pip install --prerelease=allow pandas peft
4141
- name: Environment
4242
run: |
4343
python utils/print_env.py

.github/workflows/nightly_tests.yml

Lines changed: 31 additions & 31 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

@@ -435,9 +435,9 @@ jobs:
435435
- name: Install dependencies
436436
run: |
437437
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
438-
python -m uv pip install -e [quality,test]
439-
python -m uv pip install -U ${{ matrix.config.backend }}
440-
python -m uv pip install pytest-reportlog
438+
python -m uv pip install --prerelease=allow -e [quality,test]
439+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
440+
python -m uv pip install --prerelease=allow pytest-reportlog
441441
- name: Environment
442442
run: |
443443
python utils/print_env.py
@@ -495,10 +495,10 @@ jobs:
495495
# shell: arch -arch arm64 bash {0}
496496
# run: |
497497
# ${CONDA_RUN} python -m pip install --upgrade pip uv
498-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
499-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
500-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
501-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
498+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
499+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
500+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
501+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
502502
# - name: Environment
503503
# shell: arch -arch arm64 bash {0}
504504
# run: |
@@ -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: |

.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
@@ -44,7 +44,7 @@ jobs:
4444
- name: Install dependencies
4545
run: |
4646
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
47-
python -m uv pip install -e [quality,test]
47+
python -m uv pip install --prerelease=allow -e [quality,test]
4848
- name: Environment
4949
run: |
5050
python utils/print_env.py
@@ -86,9 +86,9 @@ jobs:
8686
- name: Install dependencies
8787
run: |
8888
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
89-
python -m uv pip install -e [quality,test]
90-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
91-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
89+
python -m uv pip install --prerelease=allow -e [quality,test]
90+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
91+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
9292
9393
- name: Environment
9494
run: |
@@ -155,10 +155,10 @@ jobs:
155155
- name: Install dependencies
156156
run: |
157157
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
158-
python -m uv pip install -e [quality,test]
159-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
160-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
161-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
158+
python -m uv pip install --prerelease=allow -e [quality,test]
159+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
160+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
161+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
162162
163163
- name: Environment
164164
run: |
@@ -201,7 +201,7 @@ jobs:
201201

202202
run_examples_tests:
203203
name: Examples PyTorch CUDA tests on Ubuntu
204-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
204+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
205205
runs-on:
206206
group: aws-g4dn-2xlarge
207207

@@ -220,7 +220,7 @@ jobs:
220220
- name: Install dependencies
221221
run: |
222222
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
223-
python -m uv pip install -e [quality,test,training]
223+
python -m uv pip install --prerelease=allow -e [quality,test,training]
224224
225225
- name: Environment
226226
run: |
@@ -232,7 +232,7 @@ jobs:
232232
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
233233
run: |
234234
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
235-
python -m uv pip install timm
235+
python -m uv pip install --prerelease=allow timm
236236
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
237237
238238
- 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)