PCM
A LoRA for Stable Diffusion v1.5 that distills it into a few-step text-to-image generator with phased consistency.
Diffusion and generative · 2,877 operations Structure only
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 926.8M
- Operations
- 2,877
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2024
- Cited by
- 12 (as of 29 October 2026)
- Authors
- Fu-Yun Wang, Zhaoyang Huang, Alexander William Bergman and others
- License
- Apache-2.0
- Checked
- Structure only: shapes and data types are hypotheses, not measurements.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19067
- Graph hash
- 910291d940c054b2c4204077708b7a2cc9146124adc47344f20c1faa9aa2ec33
- Skeleton hash
- f2a2725038190bf1888dbd66f2c72799ba37a9450cf88ab0212e9165128212c1
- Architecture hash
- 574d111261af08057a6a2c064d35a4590fa55d856d71bf245e25a573707dd620
- Diagram SHA-256
- c3c9f12bb0490419829f7f503c5530b858465d577f2781a36f3c87d884fd4c8a
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
What it is
Phased Consistency Models (PCMs) are released as LoRA weights that turn Stable Diffusion into a fast text-to-image generator needing only a few sampling steps. PCM-LoRA weights were released for Stable Diffusion v1.5 and Stable Diffusion XL, and the network on this page is the Stable Diffusion v1.5 one. They build on consistency models, which train a network so that any point along the same denoising trajectory (the probability flow ODE) maps to the same final sample. The paper finds three flaws in Latent Consistency Models (LCMs), among them that LCM weights accept classifier-free guidance (CFG) values only between 1 and 2.
PCMs instead split the trajectory into several sub-trajectories and enforce self-consistency only within each one. With two sub-trajectories, generation becomes two deterministic steps. Because distillation can use an ODE solver without CFG, PCMs can take larger CFG values and respond better to negative prompts. An adversarial loss in latent space adds finer supervision for the fewest-step settings.
The paper reports that PCMs outperform LCMs across 1–16 step generation settings. The model card notes that a LoRA alone is not sufficient for one-step generation.
Key idea. Phased Consistency Models split the diffusion trajectory into sub-trajectories with self-consistency enforced on each, addressing flaws the paper identifies in Latent Consistency Models.
- pcm
- phased consistency model
- pcm-lora
- consistency model
- few-step text-to-image
- fast image generation
- consistency distillation
- lora
- text-to-image
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2024phasedconsistencymodels,
title={Phased Consistency Models},
author={Fu-Yun Wang and Zhaoyang Huang and Alexander William Bergman and Dazhong Shen and Peng Gao and Michael Lingelbach and Keqiang Sun and Weikang Bian and Guanglu Song and Yu Liu and Xiaogang Wang and Hongsheng Li},
year={2024},
eprint={2405.18407},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2405.18407},
}