Parameter-efficient fine-tuning algorithms for Stable Diffusion
Top 19.7% on sourcepulse
LyCORIS is a Python library implementing various parameter-efficient fine-tuning (PEFT) algorithms for Stable Diffusion models, offering enhanced flexibility and control over model customization beyond standard LoRA. It targets researchers and users of Stable Diffusion who need advanced fine-tuning capabilities for tasks like character or style adaptation.
How It Works
LyCORIS integrates multiple PEFT methods, including LoRA (LoCon), LoHa, LoKr, (IA)^3, and DyLoRA, alongside native fine-tuning (Dreambooth). These methods introduce low-rank adaptations to specific layers, allowing for efficient fine-tuning with significantly fewer trainable parameters than full model fine-tuning. The library provides a unified interface for applying and training these diverse techniques, enabling users to select the best method based on trade-offs in fidelity, flexibility, diversity, and model size.
Quick Start & Requirements
pip install lycoris-lora
git clone https://github.com/KohakuBlueleaf/LyCORIS && cd LyCORIS && pip install .
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
wd_on_output
behavior.1 month ago
1 day