38c3bcd840
* introduce integrations module. * remove duplicate methods. * better imports. * move to loaders.py * remove peftadaptermixin from modelmixin. * add: peftadaptermixin selectively. * add: entry to _toctree * Empty-Commit
1.1 KiB
1.1 KiB
PEFT
Diffusers supports working with adapters (such as LoRA) via the peft library. We provide a PeftAdapterMixin class to handle this for modeling classes in Diffusers (such as [UNet2DConditionModel]).
Refer to this doc to get an overview of how to work with peft in Diffusers for inference.
PeftAdapterMixin
autodoc loaders.peft.PeftAdapterMixin