Skip to content

Commit 0b8e292

Browse files
UmerHAsayakpaul
andauthored
Skip test_lora_fuse_nan on mps (#7481)
Skipping test_lora_fuse_nan on mps Co-authored-by: Sayak Paul <[email protected]>
1 parent ab38ddf commit 0b8e292

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lora/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
floats_tensor,
3232
require_peft_backend,
3333
require_peft_version_greater,
34+
skip_mps,
3435
torch_device,
3536
)
3637

@@ -923,6 +924,7 @@ def test_simple_inference_with_text_unet_multi_adapter_weighted(self):
923924
"output with no lora and output with lora disabled should give same results",
924925
)
925926

927+
@skip_mps
926928
def test_lora_fuse_nan(self):
927929
for scheduler_cls in [DDIMScheduler, LCMScheduler]:
928930
components, text_lora_config, unet_lora_config = self.get_dummy_components(scheduler_cls)

0 commit comments

Comments
 (0)