Adapting Stable Diffusion efficiently with LoRA
Summary
LoRA trains small additional matrices instead of all the weights of a diffusion model. This lowers memory requirements and produces compact adapters that can be distributed separately. LoRA freezes the original model weights.
Ideas
- Adapters separate an adaptation from the unchanged base model.
- Small trainable parameter packages make variants, versioning and exchange easier.
Insights
- Compact adaptations make variants affordable and at the same time increase the need for clean provenance management.
Facts
- The resulting adapter files are considerably smaller than complete model copies.
Critique
- Small adapters can still memorise problematic training data or amplify unwanted styles.
Recommendations
- Keep the base model revision, a description of the training data and the adapter parameters together.
References
Read the original article on Hugging Face
Links to the original source and the Web Archive open in a new tab.