aders.LoraLoaderMixin

<
source
>
(
)



Utility class for handling the loading LoRA layers into UNet (of class UNet2DConditionModel) and Text Encoder
(of class CLIPTextModel).
This function is experimental and might change in the future.

load_attn_procs

<
source
>
(
pretrained_model_name_or_path_or_dict: typing.Union[str, typing.Dict[str, torch.Tensor]]
**kwargs

)
→
Dict[name, LoRAAttnProcessor]

Parameters 

pretrained_model_name_or_path_o