 to the unet.   text_encoder_lora_layers (Dict[str, torch.nn.Module] or Dict[str, torch.Tensor]) —
State dict of the LoRA layers corresponding to the text_encoder. Must explicitly pass the text
encoder LoRA state dict because it comes from 🤗 Transformers.   is_main_process (bool, optional, defaults to True) —
Whether the process calling this is the main process or not. Useful during distributed training and you
need to call this function on all