Skip to content

Commit 288e457

Browse files
committed
[don't merge] Test hfh v0.26.0.rc0
1 parent 30be8df commit 288e457

13 files changed

+78
-78
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: 21 additions & 21 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,9 +200,9 @@ 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-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
205-
python -m uv pip install pytest-reportlog
203+
python -m uv pip install --prerelease=allow -e [quality,test]
204+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
205+
python -m uv pip install --prerelease=allow pytest-reportlog
206206
207207
- name: Environment
208208
run: python utils/print_env.py
@@ -256,9 +256,9 @@ jobs:
256256
- name: Install dependencies
257257
run: |
258258
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
259-
python -m uv pip install -e [quality,test]
260-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
261-
python -m uv pip install pytest-reportlog
259+
python -m uv pip install --prerelease=allow -e [quality,test]
260+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
261+
python -m uv pip install --prerelease=allow pytest-reportlog
262262
- name: Environment
263263
run: python utils/print_env.py
264264

@@ -317,10 +317,10 @@ jobs:
317317
# shell: arch -arch arm64 bash {0}
318318
# run: |
319319
# ${CONDA_RUN} python -m pip install --upgrade pip uv
320-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
321-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
322-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
323-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
320+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
321+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
322+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
323+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
324324
# - name: Environment
325325
# shell: arch -arch arm64 bash {0}
326326
# run: |
@@ -373,10 +373,10 @@ jobs:
373373
# shell: arch -arch arm64 bash {0}
374374
# run: |
375375
# ${CONDA_RUN} python -m pip install --upgrade pip uv
376-
# ${CONDA_RUN} python -m uv pip install -e [quality,test]
377-
# ${CONDA_RUN} python -m uv pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
378-
# ${CONDA_RUN} python -m uv pip install accelerate@git+https://github.com/huggingface/accelerate
379-
# ${CONDA_RUN} python -m uv pip install pytest-reportlog
376+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow -e [quality,test]
377+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
378+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow accelerate@git+https://github.com/huggingface/accelerate
379+
# ${CONDA_RUN} python -m uv pip install --prerelease=allow pytest-reportlog
380380
# - name: Environment
381381
# shell: arch -arch arm64 bash {0}
382382
# 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_test_peft_backend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ jobs:
9191
- name: Install dependencies
9292
run: |
9393
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
94-
python -m uv pip install -e [quality,test]
94+
python -m uv pip install --prerelease=allow -e [quality,test]
9595
if [ "${{ matrix.lib-versions }}" == "main" ]; then
9696
python -m pip install -U peft@git+https://github.com/huggingface/peft.git
97-
python -m uv pip install -U transformers@git+https://github.com/huggingface/transformers.git
98-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
97+
python -m uv pip install --prerelease=allow -U transformers@git+https://github.com/huggingface/transformers.git
98+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
9999
else
100-
python -m uv pip install -U peft transformers accelerate
100+
python -m uv pip install --prerelease=allow -U peft transformers accelerate
101101
fi
102102
103103
- name: Environment

.github/workflows/pr_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ 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-
python -m uv pip install accelerate
122+
python -m uv pip install --prerelease=allow -e [quality,test]
123+
python -m uv pip install --prerelease=allow accelerate
124124
125125
- name: Environment
126126
run: |
@@ -158,7 +158,7 @@ jobs:
158158
if: ${{ matrix.config.framework == 'pytorch_examples' }}
159159
run: |
160160
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
161-
python -m uv pip install peft timm
161+
python -m uv pip install --prerelease=allow peft timm
162162
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
163163
--make-reports=tests_${{ matrix.config.report }} \
164164
examples
@@ -208,7 +208,7 @@ jobs:
208208
- name: Install dependencies
209209
run: |
210210
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
211-
python -m uv pip install -e [quality,test]
211+
python -m uv pip install --prerelease=allow -e [quality,test]
212212
213213
- name: Environment
214214
run: |

.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: 14 additions & 14 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: |
@@ -177,8 +177,8 @@ jobs:
177177
- name: Install dependencies
178178
run: |
179179
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
180-
python -m uv pip install -e [quality,test]
181-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
180+
python -m uv pip install --prerelease=allow -e [quality,test]
181+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
182182
183183
- name: Environment
184184
run: |
@@ -225,8 +225,8 @@ jobs:
225225
- name: Install dependencies
226226
run: |
227227
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
228-
python -m uv pip install -e [quality,test]
229-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
228+
python -m uv pip install --prerelease=allow -e [quality,test]
229+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
230230
231231
- name: Environment
232232
run: |
@@ -276,7 +276,7 @@ jobs:
276276
- name: Install dependencies
277277
run: |
278278
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
279-
python -m uv pip install -e [quality,test,training]
279+
python -m uv pip install --prerelease=allow -e [quality,test,training]
280280
- name: Environment
281281
run: |
282282
python utils/print_env.py
@@ -319,7 +319,7 @@ jobs:
319319
- name: Install dependencies
320320
run: |
321321
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
322-
python -m uv pip install -e [quality,test,training]
322+
python -m uv pip install --prerelease=allow -e [quality,test,training]
323323
- name: Environment
324324
run: |
325325
python utils/print_env.py
@@ -362,7 +362,7 @@ jobs:
362362
- name: Install dependencies
363363
run: |
364364
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
365-
python -m uv pip install -e [quality,test,training]
365+
python -m uv pip install --prerelease=allow -e [quality,test,training]
366366
367367
- name: Environment
368368
run: |
@@ -374,7 +374,7 @@ jobs:
374374
HF_TOKEN: ${{ secrets.HF_TOKEN }}
375375
run: |
376376
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
377-
python -m uv pip install timm
377+
python -m uv pip install --prerelease=allow timm
378378
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
379379
380380
- name: Failure short reports

.github/workflows/push_tests_fast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ 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]
74+
python -m uv pip install --prerelease=allow -e [quality,test]
7575
7676
- name: Environment
7777
run: |
@@ -109,7 +109,7 @@ jobs:
109109
if: ${{ matrix.config.framework == 'pytorch_examples' }}
110110
run: |
111111
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
112-
python -m uv pip install peft timm
112+
python -m uv pip install --prerelease=allow peft timm
113113
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
114114
--make-reports=tests_${{ matrix.config.report }} \
115115
examples

0 commit comments

Comments
 (0)