JunhaoZhuang's picture
Upload 317 files
edf9d60 verified
|
raw
history blame
1.16 kB

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