diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Multiple lora with different weights

Open shubhdotai opened this issue 3 years ago • 2 comments

How can I add different weights to different Loras added to the pipeline? As per my understanding, the cross_attention_kwargs only takes one argument scale, which is common for all the LoRAs. cross_attention_kwargs={"scale":0.6}

@sayakpaul

shubhdotai avatar Jul 26 '23 21:07 shubhdotai

Currently, you cannot load multiple LoRA weights.

sayakpaul avatar Jul 27 '23 00:07 sayakpaul

See also https://github.com/huggingface/diffusers/issues/2613 ("Support for adding multiple LoRA layers to Diffusers").

gadicc avatar Jul 31 '23 13:07 gadicc