Skip to content

Cannot load multiple LoRAs. Need to revert PR #3649 #3781

@JemiloII

Description

@JemiloII

Describe the bug

#3649 Introduced a bug. It automatically reverts any lora loaded when calling load_lora_weights. I can no longer load multiple loras. Rather than automatically unloading loras, we should have a method to unload them individually and a method to unload them all. This change has completely broke my app and I have to downgrade or revert the files in PR #3649

Reproduction

Just use load_lora_weights multiple times and note that only a single lora is in use.

Logs

No response

System Info

diffusers v0.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions