Skip to content

Commit 051c742

Browse files
committed
fix-copies
1 parent 6f76085 commit 051c742

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/diffusers/loaders/lora_pipeline.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4733,7 +4733,11 @@ def fuse_lora(
47334733
```
47344734
"""
47354735
super().fuse_lora(
4736-
components=components, lora_scale=lora_scale, safe_fusing=safe_fusing, adapter_names=adapter_names
4736+
components=components,
4737+
lora_scale=lora_scale,
4738+
safe_fusing=safe_fusing,
4739+
adapter_names=adapter_names,
4740+
**kwargs,
47374741
)
47384742

47394743
# Copied from diffusers.loaders.lora_pipeline.CogVideoXLoraLoaderMixin.unfuse_lora
@@ -4752,7 +4756,7 @@ def unfuse_lora(self, components: List[str] = ["transformer"], **kwargs):
47524756
components (`List[str]`): List of LoRA-injectable components to unfuse LoRA from.
47534757
unfuse_transformer (`bool`, defaults to `True`): Whether to unfuse the UNet LoRA parameters.
47544758
"""
4755-
super().unfuse_lora(components=components)
4759+
super().unfuse_lora(components=components, **kwargs)
47564760

47574761

47584762
class LoraLoaderMixin(StableDiffusionLoraLoaderMixin):

0 commit comments

Comments
 (0)