Skip to content

Commit 7715e6c

Browse files
committed
debug
1 parent 05b3d36 commit 7715e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lora/test_lora_layers_old_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ def test_save_load_fused_lora_modules(self):
14461446

14471447
with tempfile.TemporaryDirectory() as tmpdirname:
14481448
sd_pipe.save_pretrained(tmpdirname)
1449-
sd_pipe_loaded = StableDiffusionXLPipeline.from_pretrained(tmpdirname)
1449+
sd_pipe_loaded = StableDiffusionXLPipeline.from_pretrained(tmpdirname).to(torch_device)
14501450

14511451
loaded_lora_images = sd_pipe_loaded(**pipeline_inputs, generator=torch.manual_seed(0)).images
14521452
loaded_lora_image_slice = loaded_lora_images[0, -3:, -3:, -1]

0 commit comments

Comments
 (0)