Skip to content

Commit 5fbc59c

Browse files
committed
add copied.
1 parent 4ac0c12 commit 5fbc59c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4243,6 +4243,7 @@ def save_lora_weights(
42434243
safe_serialization=safe_serialization,
42444244
)
42454245

4246+
# Copied from diffusers.loaders.lora_pipeline.CogVideoXLoraLoaderMixin.fuse_lora
42464247
def fuse_lora(
42474248
self,
42484249
components: List[str] = ["transformer"],
@@ -4288,7 +4289,7 @@ def fuse_lora(
42884289
components=components, lora_scale=lora_scale, safe_fusing=safe_fusing, adapter_names=adapter_names
42894290
)
42904291

4291-
# Copied from diffusers.loaders.lora_pipeline.StableDiffusionLoraLoaderMixin.unfuse_lora with unet->transformer
4292+
# Copied from diffusers.loaders.lora_pipeline.CogVideoXLoraLoaderMixin.unfuse_lora
42924293
def unfuse_lora(self, components: List[str] = ["transformer", "text_encoder"], **kwargs):
42934294
r"""
42944295
Reverses the effect of

0 commit comments

Comments
 (0)