LCM-LoRA: A Universal Stable-Diffusion Acceleration Module

Simian Luo, Yiqin Tan, Suraj Patil, Daniel Gu, Patrick von Platen +4 more
11/9/2023
cs.CVcs.LG

Official code: luosiallen/latent-consistency-model (4,615 stars, MIT, last commit 2024-06-14). 1 more implementation below.

Abstract

Latent Consistency Models (LCMs) have achieved impressive performance in accelerating text-to-image generative tasks, producing high-quality images with minimal inference steps. LCMs are distilled from pre-trained latent diffusion models (LDMs), requiring only ~32 A100 GPU training hours. This report further extends LCMs' potential in two aspects: First, by applying LoRA distillation to Stable-Diffusion models including SD-V1.5, SSD-1B, and SDXL, we have expanded LCM's scope to larger models with significantly less memory consumption, achieving superior image generation quality. Second, we identify the LoRA parameters obtained through LCM distillation as a universal Stable-Diffusion acceleration module, named LCM-LoRA. LCM-LoRA can be directly plugged into various Stable-Diffusion fine-tuned models or LoRAs without training, thus representing a universally applicable accelerator for diverse image generation tasks. Compared with previous numerical PF-ODE solvers such as DDIM, DPM-Solver, LCM-LoRA can be viewed as a plug-in neural PF-ODE solver that possesses strong generalization abilities. Project page: https://github.com/luosiallen/latent-consistency-model.

View on arXivView PDF

Code Implementations(2)

MIT

Latent Consistency Models: Synthesizing High-Resolution Images with Few-Step Inference

4,615231CSS, PythonOct 6, 20232 years agoMIT
MIT

[ECCV 2024 Oral 🔥] Arc2Face: A Foundation Model for ID-Consistent Human Faces ------------------------ [ICCVW 2025] ID-Consistent, Precise Expression Generation with Blendshape-Guided Diffusion

80261PythonMar 14, 20241 years agoMIT
blendshapesexpression-adapterexpressionsfaceface-generation+4 more

Similar Papers

Cite this paper

@article{luo2023lcmlora,
  title  = {LCM-LoRA: A Universal Stable-Diffusion Acceleration Module},
  author = {Simian Luo and Yiqin Tan and Suraj Patil and Daniel Gu and Patrick von Platen and Apolinário Passos and Longbo Huang and Jian Li and Hang Zhao},
  year   = {2023},
  eprint = {2311.05556},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.05556v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.05556.svg)](https://codeofpaper.com/paper/2311.05556)

Discussion