Skip to content

Commit f3443d0

Browse files
authored
Merge branch 'main' into feat/check-doc-listing
2 parents 12c9ac4 + e1df77e commit f3443d0

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
python utils/print_env.py
4040
- name: Diffusers Benchmarking
4141
env:
42-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.DIFFUSERS_BOT_TOKEN }}
42+
HF_TOKEN: ${{ secrets.DIFFUSERS_BOT_TOKEN }}
4343
BASE_PATH: benchmark_outputs
4444
run: |
4545
export TOTAL_GPU_MEMORY=$(python -c "import torch; print(torch.cuda.get_device_properties(0).total_memory / (1024**3))")

.github/workflows/nightly_tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
- name: Nightly PyTorch CUDA checkpoint (pipelines) tests
8383
env:
84-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
84+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
8585
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
8686
CUBLAS_WORKSPACE_CONFIG: :16:8
8787
run: |
@@ -141,7 +141,7 @@ jobs:
141141
- name: Run nightly PyTorch CUDA tests for non-pipeline modules
142142
if: ${{ matrix.module != 'examples'}}
143143
env:
144-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
144+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
145145
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
146146
CUBLAS_WORKSPACE_CONFIG: :16:8
147147
run: |
@@ -154,7 +154,7 @@ jobs:
154154
- name: Run nightly example tests with Torch
155155
if: ${{ matrix.module == 'examples' }}
156156
env:
157-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
157+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
158158
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
159159
CUBLAS_WORKSPACE_CONFIG: :16:8
160160
run: |
@@ -211,7 +211,7 @@ jobs:
211211

212212
- name: Run nightly LoRA tests with PEFT and Torch
213213
env:
214-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
214+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
215215
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
216216
CUBLAS_WORKSPACE_CONFIG: :16:8
217217
run: |
@@ -269,7 +269,7 @@ jobs:
269269

270270
- name: Run nightly Flax TPU tests
271271
env:
272-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
272+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
273273
run: |
274274
python -m pytest -n 0 \
275275
-s -v -k "Flax" \
@@ -324,7 +324,7 @@ jobs:
324324

325325
- name: Run nightly ONNXRuntime CUDA tests
326326
env:
327-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
327+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
328328
run: |
329329
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
330330
-s -v -k "Onnx" \
@@ -390,7 +390,7 @@ jobs:
390390
shell: arch -arch arm64 bash {0}
391391
env:
392392
HF_HOME: /System/Volumes/Data/mnt/cache
393-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
393+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
394394
run: |
395395
${CONDA_RUN} python -m pytest -n 1 -s -v --make-reports=tests_torch_mps \
396396
--report-log=tests_torch_mps.log \

.github/workflows/push_tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
python utils/print_env.py
8888
- name: Slow PyTorch CUDA checkpoint tests on Ubuntu
8989
env:
90-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
90+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
9191
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
9292
CUBLAS_WORKSPACE_CONFIG: :16:8
9393
run: |
@@ -144,7 +144,7 @@ jobs:
144144
145145
- name: Run slow PyTorch CUDA tests
146146
env:
147-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
147+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
148148
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
149149
CUBLAS_WORKSPACE_CONFIG: :16:8
150150
run: |
@@ -194,7 +194,7 @@ jobs:
194194
195195
- name: Run slow PEFT CUDA tests
196196
env:
197-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
197+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
198198
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
199199
CUBLAS_WORKSPACE_CONFIG: :16:8
200200
run: |
@@ -243,7 +243,7 @@ jobs:
243243
244244
- name: Run slow Flax TPU tests
245245
env:
246-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
246+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
247247
run: |
248248
python -m pytest -n 0 \
249249
-s -v -k "Flax" \
@@ -290,7 +290,7 @@ jobs:
290290
291291
- name: Run slow ONNXRuntime CUDA tests
292292
env:
293-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
293+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
294294
run: |
295295
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
296296
-s -v -k "Onnx" \
@@ -337,7 +337,7 @@ jobs:
337337
python utils/print_env.py
338338
- name: Run example tests on GPU
339339
env:
340-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
340+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
341341
run: |
342342
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v -k "compile" --make-reports=tests_torch_compile_cuda tests/
343343
- name: Failure short reports
@@ -378,7 +378,7 @@ jobs:
378378
python utils/print_env.py
379379
- name: Run example tests on GPU
380380
env:
381-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
381+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
382382
run: |
383383
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile -s -v -k "xformers" --make-reports=tests_torch_xformers_cuda tests/
384384
- name: Failure short reports
@@ -423,7 +423,7 @@ jobs:
423423
424424
- name: Run example tests on GPU
425425
env:
426-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
426+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
427427
run: |
428428
python -m venv /opt/venv && export PATH="/opt/venv/bin:$PATH"
429429
python -m uv pip install timm

.github/workflows/push_tests_mps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
shell: arch -arch arm64 bash {0}
6060
env:
6161
HF_HOME: /System/Volumes/Data/mnt/cache
62-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGING_FACE_HUB_TOKEN }}
62+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
6363
run: |
6464
${CONDA_RUN} python -m pytest -n 0 -s -v --make-reports=tests_torch_mps tests/
6565

.github/workflows/update_metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
2626
- name: Update metadata
2727
env:
28-
HUGGING_FACE_HUB_TOKEN: ${{ secrets.SAYAK_HF_TOKEN }}
28+
HF_TOKEN: ${{ secrets.SAYAK_HF_TOKEN }}
2929
run: |
3030
python utils/update_metadata.py --commit_sha ${{ github.sha }}

0 commit comments

Comments
 (0)