that is a torch.nn.module with basic functionality for saving and loading models both locally and from the HuggingFace hub.

ModelMixin
	

class diffusers.ModelMixin

<
source
>
(
)



Base class for all models.
ModelMixin takes care of storing the configuration of the models and handles methods for loading, downloading
and saving models.
config_name (str) — A filename under which the model should be stored when calling
save_pretrained().

disa