Skip to content

Commit a10107f

Browse files
authored
fix: lora sdxl tests (huggingface#4652)
1 parent d0c30cf commit a10107f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/models/test_lora_layers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ def test_load_lora_locally(self):
664664
unet_lora_layers=lora_components["unet_lora_layers"],
665665
text_encoder_lora_layers=lora_components["text_encoder_one_lora_layers"],
666666
text_encoder_2_lora_layers=lora_components["text_encoder_two_lora_layers"],
667+
safe_serialization=False,
667668
)
668669
self.assertTrue(os.path.isfile(os.path.join(tmpdirname, "pytorch_lora_weights.bin")))
669670
sd_pipe.load_lora_weights(os.path.join(tmpdirname, "pytorch_lora_weights.bin"))

0 commit comments

Comments
 (0)