Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 2.16 KB

File metadata and controls

77 lines (52 loc) · 2.16 KB

Models

Diffusers contains pretrained models for popular algorithms and modules for creating the next set of diffusion models. The primary function of these models is to denoise an input sample, by modeling the distribution $p_\theta(\mathbf{x}_{t-1}|\mathbf{x}_t)$. The models are built on the base class ['ModelMixin'] that is a torch.nn.module with basic functionality for saving and loading models both locally and from the HuggingFace hub.

ModelMixin

[[autodoc]] ModelMixin

UNet2DOutput

[[autodoc]] models.unet_2d.UNet2DOutput

UNet2DModel

[[autodoc]] UNet2DModel

UNet1DOutput

[[autodoc]] models.unet_1d.UNet1DOutput

UNet1DModel

[[autodoc]] UNet1DModel

UNet2DConditionOutput

[[autodoc]] models.unet_2d_condition.UNet2DConditionOutput

UNet2DConditionModel

[[autodoc]] UNet2DConditionModel

DecoderOutput

[[autodoc]] models.vae.DecoderOutput

VQEncoderOutput

[[autodoc]] models.vae.VQEncoderOutput

VQModel

[[autodoc]] VQModel

AutoencoderKLOutput

[[autodoc]] models.vae.AutoencoderKLOutput

AutoencoderKL

[[autodoc]] AutoencoderKL

Transformer2DModel

[[autodoc]] Transformer2DModel

Transformer2DModelOutput

[[autodoc]] models.attention.Transformer2DModelOutput

FlaxModelMixin

[[autodoc]] FlaxModelMixin

FlaxUNet2DConditionOutput

[[autodoc]] models.unet_2d_condition_flax.FlaxUNet2DConditionOutput

FlaxUNet2DConditionModel

[[autodoc]] FlaxUNet2DConditionModel

FlaxDecoderOutput

[[autodoc]] models.vae_flax.FlaxDecoderOutput

FlaxAutoencoderKLOutput

[[autodoc]] models.vae_flax.FlaxAutoencoderKLOutput

FlaxAutoencoderKL

[[autodoc]] FlaxAutoencoderKL