Skip to content

Commit b6cd4a4

Browse files
DN6sayakpaul
authored andcommitted
[CI] Update Hub Token on nightly tests (#9318)
update
1 parent ae8d9bb commit b6cd4a4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/nightly_tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
python utils/print_env.py
8080
- name: Pipeline CUDA Test
8181
env:
82-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
82+
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
8383
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
8484
CUBLAS_WORKSPACE_CONFIG: :16:8
8585
run: |
@@ -139,7 +139,7 @@ jobs:
139139
- name: Run nightly PyTorch CUDA tests for non-pipeline modules
140140
if: ${{ matrix.module != 'examples'}}
141141
env:
142-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
142+
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
143143
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
144144
CUBLAS_WORKSPACE_CONFIG: :16:8
145145
run: |
@@ -152,7 +152,7 @@ jobs:
152152
- name: Run nightly example tests with Torch
153153
if: ${{ matrix.module == 'examples' }}
154154
env:
155-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
155+
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
156156
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
157157
CUBLAS_WORKSPACE_CONFIG: :16:8
158158
run: |
@@ -209,7 +209,7 @@ jobs:
209209

210210
- name: Run nightly Flax TPU tests
211211
env:
212-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
212+
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
213213
run: |
214214
python -m pytest -n 0 \
215215
-s -v -k "Flax" \
@@ -264,7 +264,7 @@ jobs:
264264

265265
- name: Run Nightly ONNXRuntime CUDA tests
266266
env:
267-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
267+
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
268268
run: |
269269
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
270270
-s -v -k "Onnx" \

0 commit comments

Comments
 (0)