Spaces:
Runtime error
Runtime error
|
Download UltraEdit/diffusers/docs/source/en/api/loaders/peft.md from FlowChef/RefEdit-SD3: direct link, hf CLI and curl.
- Browser
- Download file 1.13 kB
-
https://huggingface.co/spaces/FlowChef/RefEdit-SD3/resolve/main/UltraEdit/diffusers/docs/source/en/api/loaders/peft.md
- Command line
-
hf download hf://spaces/FlowChef/RefEdit-SD3/UltraEdit/diffusers/docs/source/en/api/loaders/peft.md
-
curl -L -o peft.md https://huggingface.co/spaces/FlowChef/RefEdit-SD3/resolve/main/UltraEdit/diffusers/docs/source/en/api/loaders/peft.md
1.13 kB
A newer version of the Gradio SDK is available: 6.31.0
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] to load 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