ectly commit.   safe_serialization (bool, optional, defaults to True) —
Whether or not to convert the model weights to the safetensors format.   variant (str, optional) —
If specified, weights are saved in the format pytorch_model.<variant>.bin.    Upload model, scheduler, or pipeline files to the 🤗 Hugging Face Hub.  Examples:   Copied from diffusers import UNet2DConditionModel

unet = UNet2DConditionModel.from_pretrained("stabilityai/stable-d