Training-free acceleration for diffusion models
Top 40.8% on sourcepulse
DeepCache offers a training-free, near-lossless method to accelerate diffusion models by reusing high-level U-Net features. It targets researchers and practitioners working with Stable Diffusion, Stable Diffusion XL, Stable Video Diffusion, and DDPM, providing significant speedups with minimal impact on output quality.
How It Works
DeepCache leverages the inherent properties of the U-Net architecture in diffusion models. It intelligently caches and reuses intermediate high-level features across diffusion steps, while only updating the lower-level features. This selective updating significantly reduces computational load without requiring model retraining, leading to faster inference times.
Quick Start & Requirements
pip install DeepCache
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
1 day