1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

[Tests] Enable more general testing for torch.compile() with LoRA hotswapping (#11322)

* refactor hotswap tester.

* fix seeds..

* add to nightly ci.

* move comment.

* move to nightly
This commit is contained in:
Sayak Paul
2025-05-09 11:29:06 +05:30
committed by GitHub
parent 599c887164
commit 7acf8345f6
4 changed files with 89 additions and 74 deletions

View File

@@ -142,6 +142,7 @@ jobs:
HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
CUBLAS_WORKSPACE_CONFIG: :16:8
RUN_COMPILE: yes
run: |
python -m pytest -n 1 --max-worker-restart=0 --dist=loadfile \
-s -v -k "not Flax and not Onnx" \