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