# DeepCache

\[CVPR 2024\] DeepCache: Accelerating Diffusion Models for Free

Canonical page: https://www.reposhelf.co.uk/projects/github/horseee/deepcache.html

- Project ID: horseee/DeepCache
- Source: GitHub
- Original project: https://github.com/horseee/DeepCache
- Description attribution: project author metadata
- Categories: AI &amp; machine learning, Image, audio &amp; video AI
- Technologies: Python
- Licence: Apache-2.0
- Repository availability checked: 2026-11-20T13:31:31.676Z
- Demo page loaded: 2026-11-16T13:44:38.965Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> \(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.

- 🚀 Training-free and almost lossless
- 🚀 Support Stable Diffusion, Stable Diffusion XL, Stable Video Diffusion, Stable Diffusion Pipeline / XL Pipeline for Inpainting, Stable Diffusion Img2Img Pipeline, DDPM
- 🚀 Compatible with sampling algorithms like DDIM and PLMS

## Author-documented requirements and 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.

Source: https://github.com/horseee/DeepCache/blob/master/README.md

Extraction checked: 2026-10-17T12:31:21.578Z

Last recorded source update: 2024-06-27T05:47:35.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=horseee%2FDeepCache). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
