Skip to content

Commit 28023a2

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v0.33.0.rc0
1 parent 33e636c commit 28023a2

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
@@ -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: |
@@ -341,9 +341,9 @@ jobs:
341341
- name: Install dependencies
342342
run: |
343343
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
344-
python -m uv pip install -e [quality,test]
345-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
346-
python -m uv pip install pytest-reportlog
344+
python -m uv pip install --prerelease=allow -e [quality,test]
345+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
346+
python -m uv pip install --prerelease=allow pytest-reportlog
347347
- name: Environment
348348
run: python utils/print_env.py
349349

@@ -404,12 +404,12 @@ jobs:
404404
- name: Install dependencies
405405
run: |
406406
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
407-
python -m uv pip install -e [quality,test]
408-
python -m uv pip install -U ${{ matrix.config.backend }}
407+
python -m uv pip install --prerelease=allow -e [quality,test]
408+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
409409
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
410-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
410+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
411411
fi
412-
python -m uv pip install pytest-reportlog
412+
python -m uv pip install --prerelease=allow pytest-reportlog
413413
- name: Environment
414414
run: |
415415
python utils/print_env.py
@@ -456,9 +456,9 @@ jobs:
456456
- name: Install dependencies
457457
run: |
458458
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
459-
python -m uv pip install -e [quality,test]
460-
python -m uv pip install -U bitsandbytes optimum_quanto
461-
python -m uv pip install pytest-reportlog
459+
python -m uv pip install --prerelease=allow -e [quality,test]
460+
python -m uv pip install --prerelease=allow -U bitsandbytes optimum_quanto
461+
python -m uv pip install --prerelease=allow pytest-reportlog
462462
- name: Environment
463463
run: |
464464
python utils/print_env.py
@@ -506,9 +506,9 @@ jobs:
506506
- name: Install dependencies
507507
run: |
508508
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
509-
python -m uv pip install -e [quality,test]
510-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
511-
python -m uv pip install pytest-reportlog
509+
python -m uv pip install --prerelease=allow -e [quality,test]
510+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
511+
python -m uv pip install --prerelease=allow pytest-reportlog
512512
513513
- name: Environment
514514
run: python utils/print_env.py
@@ -621,10 +621,10 @@ jobs:
621621
# shell: arch -arch arm64 bash {0}
622622
# run: |
623623
# ${CONDA_RUN} python -m pip install --upgrade pip uv
624-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
625-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
626-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
627-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
624+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
625+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
626+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
627+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
628628
# - name: Environment
629629
# shell: arch -arch arm64 bash {0}
630630
# run: |
@@ -677,10 +677,10 @@ jobs:
677677
# shell: arch -arch arm64 bash {0}
678678
# run: |
679679
# ${CONDA_RUN} python -m pip install --upgrade pip uv
680-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
681-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
682-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
683-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
680+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
681+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
682+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
683+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
684684
# - name: Environment
685685
# shell: arch -arch arm64 bash {0}
686686
# 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)