s for the unet.  enable_lora  < source > ( )    Enables the active LoRA layers for the unet.  load_attn_procs  < source > ( pretrained_model_name_or_path_or_dict: typing.Union[str, typing.Dict[str, torch.Tensor]] **kwargs  )   Parameters   pretrained_model_name_or_path_or_dict (str or os.PathLike or dict) —
Can be either:

A string, the model id (for example google/ddpm-celebahq-256) of a pretrained model hosted on
the Hub.
A path to a director