Skip to content

Commit 6281905

Browse files
committed
[don't merge] Test hfh v0.25.0.rc1
1 parent 8fcfb2a commit 6281905

15 files changed

+80
-80
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ 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]
39-
python -m uv pip install pandas peft
38+
python -m uv pip install --prerelease=allow -e [quality,test]
39+
python -m uv pip install --prerelease=allow pandas peft
4040
- name: Environment
4141
run: |
4242
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
@@ -118,8 +118,8 @@ jobs:
118118
- name: Install dependencies
119119
run: |
120120
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
121-
python -m uv pip install -e [quality,test]
122-
python -m uv pip install accelerate
121+
python -m uv pip install --prerelease=allow -e [quality,test]
122+
python -m uv pip install --prerelease=allow accelerate
123123
124124
- name: Environment
125125
run: |
@@ -157,7 +157,7 @@ jobs:
157157
if: ${{ matrix.config.framework == 'pytorch_examples' }}
158158
run: |
159159
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
160-
python -m uv pip install peft timm
160+
python -m uv pip install --prerelease=allow peft timm
161161
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
162162
--make-reports=tests_${{ matrix.config.report }} \
163163
examples
@@ -207,7 +207,7 @@ jobs:
207207
- name: Install dependencies
208208
run: |
209209
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
210-
python -m uv pip install -e [quality,test]
210+
python -m uv pip install --prerelease=allow -e [quality,test]
211211
212212
- name: Environment
213213
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
@@ -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
@@ -75,8 +75,8 @@ jobs:
7575
- name: Install dependencies
7676
run: |
7777
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
78-
python -m uv pip install -e [quality,test]
79-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
78+
python -m uv pip install --prerelease=allow -e [quality,test]
79+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
8080
- name: Environment
8181
run: |
8282
python utils/print_env.py
@@ -126,9 +126,9 @@ jobs:
126126
- name: Install dependencies
127127
run: |
128128
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
129-
python -m uv pip install -e [quality,test]
130-
python -m uv pip install peft@git+https://github.com/huggingface/peft.git
131-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
129+
python -m uv pip install --prerelease=allow -e [quality,test]
130+
python -m uv pip install --prerelease=allow peft@git+https://github.com/huggingface/peft.git
131+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
132132
133133
- name: Environment
134134
run: |
@@ -176,8 +176,8 @@ jobs:
176176
- name: Install dependencies
177177
run: |
178178
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
179-
python -m uv pip install -e [quality,test]
180-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
179+
python -m uv pip install --prerelease=allow -e [quality,test]
180+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
181181
182182
- name: Environment
183183
run: |
@@ -224,8 +224,8 @@ 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]
228-
pip uninstall accelerate -y && python -m uv pip install -U accelerate@git+https://github.com/huggingface/accelerate.git
227+
python -m uv pip install --prerelease=allow -e [quality,test]
228+
pip uninstall accelerate -y && python -m uv pip install --prerelease=allow -U accelerate@git+https://github.com/huggingface/accelerate.git
229229
230230
- name: Environment
231231
run: |
@@ -275,7 +275,7 @@ jobs:
275275
- name: Install dependencies
276276
run: |
277277
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
278-
python -m uv pip install -e [quality,test,training]
278+
python -m uv pip install --prerelease=allow -e [quality,test,training]
279279
- name: Environment
280280
run: |
281281
python utils/print_env.py
@@ -318,7 +318,7 @@ jobs:
318318
- name: Install dependencies
319319
run: |
320320
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
321-
python -m uv pip install -e [quality,test,training]
321+
python -m uv pip install --prerelease=allow -e [quality,test,training]
322322
- name: Environment
323323
run: |
324324
python utils/print_env.py
@@ -361,7 +361,7 @@ jobs:
361361
- name: Install dependencies
362362
run: |
363363
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
364-
python -m uv pip install -e [quality,test,training]
364+
python -m uv pip install --prerelease=allow -e [quality,test,training]
365365
366366
- name: Environment
367367
run: |
@@ -373,7 +373,7 @@ jobs:
373373
HF_TOKEN: ${{ secrets.HF_TOKEN }}
374374
run: |
375375
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
376-
python -m uv pip install timm
376+
python -m uv pip install --prerelease=allow timm
377377
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v --make-reports=examples_torch_cuda examples/
378378
379379
- name: Failure short reports

.github/workflows/push_tests_fast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Install dependencies
7171
run: |
7272
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
73-
python -m uv pip install -e [quality,test]
73+
python -m uv pip install --prerelease=allow -e [quality,test]
7474
7575
- name: Environment
7676
run: |
@@ -108,7 +108,7 @@ jobs:
108108
if: ${{ matrix.config.framework == 'pytorch_examples' }}
109109
run: |
110110
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
111-
python -m uv pip install peft timm
111+
python -m uv pip install --prerelease=allow peft timm
112112
python -m pytest -n 4 --max-worker-restart=0 --dist=loadfile \
113113
--make-reports=tests_${{ matrix.config.report }} \
114114
examples

0 commit comments

Comments
 (0)