Skip to content

Commit cd7c155

Browse files
committed
fuse and unload.
1 parent cbad4b3 commit cd7c155

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/lora/test_lora_layers_flux.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,9 @@ def tearDown(self):
612612

613613
@parameterized.expand(["black-forest-labs/FLUX.1-Canny-dev-lora", "black-forest-labs/FLUX.1-Depth-dev-lora"])
614614
def test_lora(self, lora_ckpt_id):
615-
self.pipe.load_lora_weights(lora_ckpt_id)
615+
self.pipeline.load_lora_weights(lora_ckpt_id)
616+
self.pipeline.fuse_lora()
617+
self.pipeline.unload_lora_weights()
616618

617619
if "Canny" in lora_ckpt_id:
618620
control_image = load_image(

0 commit comments

Comments
 (0)