. Useful during distributed training when you need to
replace torch.save with another method. Can be configured with the environment variable
DIFFUSERS_SAVE_MODE.   safe_serialization (bool, optional, defaults to True) —
Whether to save the model using safetensors or the traditional PyTorch way with pickle.    Save the LoRA parameters corresponding to the UNet and text encoder.  disable_freeu  < source > ( )    Disables the FreeU mechanism if e