pablo
add diffusers fork
a63d2a4
|
raw
history blame
1.73 kB

Loaders

Adapters (textual inversion, LoRA, hypernetworks) allow you to modify a diffusion model to generate images in a specific style without training or finetuning the entire model. The adapter weights are typically only a tiny fraction of the pretrained model's which making them very portable. 🤗 Diffusers provides an easy-to-use LoaderMixin API to load adapter weights.

🧪 The LoaderMixins are highly experimental and prone to future changes. To use private or gated models, log-in with huggingface-cli login.

UNet2DConditionLoadersMixin

[[autodoc]] loaders.UNet2DConditionLoadersMixin

TextualInversionLoaderMixin

[[autodoc]] loaders.TextualInversionLoaderMixin

StableDiffusionXLLoraLoaderMixin

[[autodoc]] loaders.StableDiffusionXLLoraLoaderMixin

LoraLoaderMixin

[[autodoc]] loaders.LoraLoaderMixin

FromSingleFileMixin

[[autodoc]] loaders.FromSingleFileMixin

FromOriginalControlnetMixin

[[autodoc]] loaders.FromOriginalControlnetMixin

FromOriginalVAEMixin

[[autodoc]] loaders.FromOriginalVAEMixin