5959 runs-on : [single-gpu, nvidia-gpu, t4, ci]
6060 container :
6161 image : diffusers/diffusers-pytorch-cuda
62- options : --shm-size "16gb" --ipc host -v /mnt/hf_cache :/mnt/cache/ --gpus 0
62+ options : --shm-size "16gb" --ipc host -v /mnt/cache/.cache/huggingface/diffusers :/mnt/cache/ --gpus 0
6363 steps :
6464 - name : Checkout diffusers
6565 uses : actions/checkout@v3
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 \
0 commit comments