1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
Files
diffusers/docs/source/en/api/loaders.md
camenduru c6ae9b7df6 Where did this 'x' come from, Elon? (#4277)
* why mdx?

* why mdx?

* why mdx?

* no x for kandinksy either

---------

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2023-07-26 18:18:14 +02:00

1.6 KiB

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

LoraLoaderMixin

autodoc loaders.LoraLoaderMixin

FromSingleFileMixin

autodoc loaders.FromSingleFileMixin

FromOriginalControlnetMixin

autodoc loaders.FromOriginalControlnetMixin

FromOriginalVAEMixin

autodoc loaders.FromOriginalVAEMixin