Model and
CLIPTextModel).
This function is experimental and might change in the future.
It is required to be logged in (huggingface-cli login) when you want to use private or gated
models.

save_lora_weights

<
source
>
(
save_directory: typing.Union[str, os.PathLike]
unet_lora_layers: typing.Dict[str, torch.nn.modules.module.Module] = None
text_encoder_lora_layers: typing.Dict[str, torch.nn.modules.module.Module] = None
is_main_process: bool =