mirror of
https://github.com/huggingface/diffusers.git
synced 2025-12-16 01:14:47 +08:00
1.1 KiB
1.1 KiB
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.
Tip
Refer to the Inference with PEFT tutorial for an overview of how to use PEFT in Diffusers for inference.
PeftAdapterMixin
autodoc loaders.peft.PeftAdapterMixin