|
Download diffusers/docs/source/en/api/loaders/peft.md from 6chan/Cobra: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/6chan/Cobra/resolve/main/diffusers/docs/source/en/api/loaders/peft.md
- Command line
-
hf download hf://spaces/6chan/Cobra/diffusers/docs/source/en/api/loaders/peft.md
-
curl -L -o peft.md https://huggingface.co/spaces/6chan/Cobra/resolve/main/diffusers/docs/source/en/api/loaders/peft.md
1.16 kB
A newer version of the Gradio SDK is available: 6.29.1
PEFT
Diffusers supports loading adapters such as LoRA with the PEFT library with the [~loaders.peft.PeftAdapterMixin] class. This allows modeling classes in Diffusers like [UNet2DConditionModel], [SD3Transformer2DModel] to operate with an adapter.
Refer to the Inference with PEFT tutorial for an overview of how to use PEFT in Diffusers for inference.
PeftAdapterMixin
[[autodoc]] loaders.peft.PeftAdapterMixin