Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0426284

Browse files
author
Hugging Face Bot (RC Testing)
committed
Test hfh v1.0.0.rc1
1 parent 043ab25 commit 0426284

15 files changed

+94
-94
lines changed

‎.github/workflows/benchmark.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
apt update
4040
apt install -y libpq-dev postgresql-client
4141
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
42-
python -m uv pip install -e [quality,test]
43-
python -m uv pip install -r benchmarks/requirements.txt
42+
python -m uv pip install --prerelease=allow -e [quality,test]
43+
python -m uv pip install --prerelease=allow -r benchmarks/requirements.txt
4444
- name: Environment
4545
run: |
4646
python utils/print_env.py

‎.github/workflows/nightly_tests.yml‎

Lines changed: 30 additions & 30 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: |
@@ -358,12 +358,12 @@ jobs:
358358
- name: Install dependencies
359359
run: |
360360
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
361-
python -m uv pip install -e [quality,test]
362-
python -m uv pip install -U ${{ matrix.config.backend }}
361+
python -m uv pip install --prerelease=allow -e [quality,test]
362+
python -m uv pip install --prerelease=allow -U ${{ matrix.config.backend }}
363363
if [ "${{ join(matrix.config.additional_deps, ' ') }}" != "" ]; then
364-
python -m uv pip install ${{ join(matrix.config.additional_deps, ' ') }}
364+
python -m uv pip install --prerelease=allow ${{ join(matrix.config.additional_deps, ' ') }}
365365
fi
366-
python -m uv pip install pytest-reportlog
366+
python -m uv pip install --prerelease=allow pytest-reportlog
367367
- name: Environment
368368
run: |
369369
python utils/print_env.py
@@ -410,9 +410,9 @@ jobs:
410410
- name: Install dependencies
411411
run: |
412412
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
413-
python -m uv pip install -e [quality,test]
414-
python -m uv pip install -U bitsandbytes optimum_quanto
415-
python -m uv pip install pytest-reportlog
413+
python -m uv pip install --prerelease=allow -e [quality,test]
414+
python -m uv pip install --prerelease=allow -U bitsandbytes optimum_quanto
415+
python -m uv pip install --prerelease=allow pytest-reportlog
416416
- name: Environment
417417
run: |
418418
python utils/print_env.py
@@ -524,10 +524,10 @@ jobs:
524524
# shell: arch -arch arm64 bash {0}
525525
# run: |
526526
# ${CONDA_RUN} python -m pip install --upgrade pip uv
527-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
528-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
529-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
530-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
527+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
528+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
529+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
530+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
531531
# - name: Environment
532532
# shell: arch -arch arm64 bash {0}
533533
# run: |
@@ -580,10 +580,10 @@ jobs:
580580
# shell: arch -arch arm64 bash {0}
581581
# run: |
582582
# ${CONDA_RUN} python -m pip install --upgrade pip uv
583-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
584-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
585-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
586-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
583+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
584+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
585+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
586+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
587587
# - name: Environment
588588
# shell: arch -arch arm64 bash {0}
589589
# 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_modular_tests.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ jobs:
109109
- name: Install dependencies
110110
run: |
111111
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
112-
python -m uv pip install -e [quality,test]
113-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
114-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
112+
python -m uv pip install --prerelease=allow -e [quality,test]
113+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
114+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
115115
116116
- name: Environment
117117
run: |

‎.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
@@ -115,9 +115,9 @@ jobs:
115115
- name: Install dependencies
116116
run: |
117117
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
118-
python -m uv pip install -e [quality,test]
119-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
120-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
118+
python -m uv pip install --prerelease=allow -e [quality,test]
119+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
120+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
121121
122122
- name: Environment
123123
run: |
@@ -146,7 +146,7 @@ jobs:
146146
if: ${{ matrix.config.framework == 'pytorch_examples' }}
147147
run: |
148148
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
149-
python -m uv pip install peft timm
149+
python -m uv pip install --prerelease=allow peft timm
150150
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
151151
--make-reports=tests_${{ matrix.config.report }} \
152152
examples
@@ -196,7 +196,7 @@ jobs:
196196
- name: Install dependencies
197197
run: |
198198
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
199-
python -m uv pip install -e [quality,test]
199+
python -m uv pip install --prerelease=allow -e [quality,test]
200200
201201
- name: Environment
202202
run: |
@@ -250,12 +250,12 @@ 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]
253+
python -m uv pip install --prerelease=allow -e [quality,test]
254254
# TODO (sayakpaul, DN6): revisit `--no-deps`
255255
python -m pip install -U peft@git+https://github.com/huggingface/peft.git --no-deps
256-
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
257-
python -m uv pip install -U tokenizers
258-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
256+
python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
257+
python -m uv pip install --prerelease=allow -U tokenizers
258+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git --no-deps
259259
260260
- name: Environment
261261
run: |

‎.github/workflows/pr_tests_gpu.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install dependencies
9090
run: |
9191
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
92-
python -m uv pip install -e [quality,test]
92+
python -m uv pip install --prerelease=allow -e [quality,test]
9393
- name: Environment
9494
run: |
9595
python utils/print_env.py
@@ -131,9 +131,9 @@ jobs:
131131
- name: Install dependencies
132132
run: |
133133
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
134-
python -m uv pip install -e [quality,test]
135-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
136-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
134+
python -m uv pip install --prerelease=allow -e [quality,test]
135+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
136+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
137137
138138
- name: Environment
139139
run: |
@@ -201,10 +201,10 @@ jobs:
201201
- name: Install dependencies
202202
run: |
203203
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
204-
python -m uv pip install -e [quality,test]
205-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
206-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
207-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
204+
python -m uv pip install --prerelease=allow -e [quality,test]
205+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
206+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
207+
pip uninstall transformers -y && python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
208208
209209
- name: Environment
210210
run: |
@@ -266,8 +266,8 @@ jobs:
266266
- name: Install dependencies
267267
run: |
268268
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
269-
pip uninstall transformers -y && python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git --no-deps
270-
python -m uv pip install -e [quality,test,training]
269+
pip uninstall transformers -y && 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 -e [quality,test,training]
271271
272272
- name: Environment
273273
run: |
@@ -279,7 +279,7 @@ jobs:
279279
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
280280
run: |
281281
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
282-
python -m uv pip install timm
282+
python -m uv pip install --prerelease=allow timm
283283
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
284284
285285
- 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"

‎.github/workflows/push_tests.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install dependencies
3636
run: |
3737
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
38-
python -m uv pip install -e [quality,test]
38+
python -m uv pip install --prerelease=allow -e [quality,test]
3939
- name: Environment
4040
run: |
4141
python utils/print_env.py
@@ -76,8 +76,8 @@ jobs:
7676
- name: Install dependencies
7777
run: |
7878
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
79-
python -m uv pip install -e [quality,test]
80-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
79+
python -m uv pip install --prerelease=allow -e [quality,test]
80+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
8181
- name: Environment
8282
run: |
8383
python utils/print_env.py
@@ -127,9 +127,9 @@ jobs:
127127
- name: Install dependencies
128128
run: |
129129
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
130-
python -m uv pip install -e [quality,test]
131-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
132-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
130+
python -m uv pip install --prerelease=allow -e [quality,test]
131+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
132+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
133133
134134
- name: Environment
135135
run: |
@@ -181,7 +181,7 @@ jobs:
181181
- name: Install dependencies
182182
run: |
183183
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
184-
python -m uv pip install -e [quality,test,training]
184+
python -m uv pip install --prerelease=allow -e [quality,test,training]
185185
- name: Environment
186186
run: |
187187
python utils/print_env.py
@@ -224,7 +224,7 @@ jobs:
224224
- name: Install dependencies
225225
run: |
226226
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
227-
python -m uv pip install -e [quality,test,training]
227+
python -m uv pip install --prerelease=allow -e [quality,test,training]
228228
- name: Environment
229229
run: |
230230
python utils/print_env.py
@@ -265,7 +265,7 @@ jobs:
265265
- name: Install dependencies
266266
run: |
267267
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
268-
python -m uv pip install -e [quality,test,training]
268+
python -m uv pip install --prerelease=allow -e [quality,test,training]
269269
270270
- name: Environment
271271
run: |
@@ -277,7 +277,7 @@ jobs:
277277
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
278278
run: |
279279
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
280-
python -m uv pip install timm
280+
python -m uv pip install --prerelease=allow timm
281281
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
282282
283283
- name: Failure short reports

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /