PeRFlow: Plug-and-play accelerator for diffusion models (NeurIPS 2024)
Top 61.1% on sourcepulse
PeRFlow offers a novel approach to accelerate pre-trained diffusion models, enabling high-quality image generation in as few as 4 steps. Targeting researchers and developers working with Stable Diffusion, it provides a plug-and-play module that significantly reduces sampling time while maintaining or improving generation quality compared to existing methods like LCM.
How It Works
PeRFlow learns a piecewise linear probability flow by dividing the diffusion process into segments and applying a "reflow" operation to each. This "divide-and-conquer" strategy avoids the computationally expensive simulation of the entire ODE trajectory required by prior methods, allowing for efficient online training. The core innovation is the learned $\Delta W$ (difference in model weights), which can be fused with existing Stable Diffusion models as a universal accelerator.
Quick Start & Requirements
env/install.sh
.diffusers
(v0.19.3 recommended for specific applications).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is presented as a research artifact with NeurIPS 2024 publication. While delta-weights are provided, users may need to fuse them with their specific base models, requiring careful implementation. The "universal plug-and-play" claim is demonstrated across several applications, but extensive testing across all possible SD variants might be needed.
1 year ago
1+ week