1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00
Files
diffusers/docs/source/en/api/loaders.md
Patrick von Platen 324aef6d14 [SDXL] Add LoRA to all pipelines (#4896)
* [SDXL] Add LoRA to all pipelines

* fix all

* fix all

* fix all

* fix more docs

* make style
2023-09-13 11:05:20 +02:00

1.7 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

StableDiffusionXLLoraLoaderMixin

autodoc loaders.StableDiffusionXLLoraLoaderMixin

LoraLoaderMixin

autodoc loaders.LoraLoaderMixin

FromSingleFileMixin

autodoc loaders.FromSingleFileMixin

FromOriginalControlnetMixin

autodoc loaders.FromOriginalControlnetMixin

FromOriginalVAEMixin

autodoc loaders.FromOriginalVAEMixin