Skip to content
r.

DeepCache

horseee/DeepCache · Public GitHub repository

[CVPR 2024] DeepCache: Accelerating Diffusion Models for Free

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

DeepCache live demo screenshot
Captured from the live demo · 2026-10-31

About this project

Author-written excerpt from the project README.

(Results on Stable Diffusion v1.5. Left: 50 PLMS steps. Right: 2.3x acceleration upon 50 PLMS steps)

DeepCache: Accelerating Diffusion Models for Free Xinyin Ma, Gongfan Fang, Xinchao Wang Learning and Vision Lab, National University of Singapore 🥯[[Arxiv]]( Page]](

We introduce DeepCache, a novel training-free and almost lossless paradigm that accelerates diffusion models from the perspective of model architecture. Utilizing the property of the U-Net, we reuse the high-level features while updating the low-level features in a very cheap way. DeepCache accelerates Stable Diffusion v1.5 by 2.3x with only a 0.05 decline in CLIP Score, and LDM-4-G(ImageNet) by 4.1x with a 0.22 decrease in FID.

Requirements and intended audience

(Results on Stable Diffusion v1.5. Left: 50 PLMS steps. Right: 2.3x acceleration upon 50 PLMS steps)

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-17. Source: https://github.com/horseee/DeepCache/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2024-06-27. A published release has not been recorded. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-16. This does not test every feature.

Browse related categories