2025-01-20 14:55:39 +08:00
2025-01-20 14:53:15 +08:00
2025-01-20 11:42:35 +08:00
2024-12-27 15:49:37 +08:00
2024-12-30 16:11:59 +08:00
2024-12-30 16:10:41 +08:00
2024-12-31 12:45:34 +08:00
2025-01-07 16:44:48 +08:00
2024-12-19 13:03:56 +08:00
2024-12-06 21:02:09 +08:00
2024-12-06 21:02:09 +08:00
2024-12-06 21:02:09 +08:00
2024-12-06 21:02:09 +08:00
2024-12-06 21:02:09 +08:00
2025-01-20 14:55:39 +08:00
2024-12-26 11:01:59 +08:00
2024-12-16 17:27:04 +08:00

Timestep Embedding Tells: It's Time to Cache for Video Diffusion Model

1University of Chinese Academy of Sciences,  2Alibaba Group
3Institute of Automation, Chinese Academy of Sciences
4Fudan University,  5Nanyang Technological University
(* Work was done during internship at Alibaba Group. † Corresponding author.)
If you like our project, please give us a star on GitHub for the latest update.

hf_paper arXiv Home Page License github

visualization

Introduction

We introduce Timestep Embedding Aware Cache (TeaCache), a training-free caching approach that estimates and leverages the fluctuating differences among model outputs across timesteps, thereby accelerating the inference. TeaCache works well for Video Diffusion Models, Image Diffusion models and Audio Diffusion Models. For more details and results, please visit our project page.

Latest News 🔥

Community Contributions 🧩

If you develop/use TeaCache in your projects, welcome to let us know.

Instruction for Supporting Other Models 🤖

  • Welcome for PRs to support other models.
  • If the custom model is based on or has similar model structure to the models we've supported, you can try to directly transfer TeaCache to the custom model. For example, rescaling coefficients for CogVideoX-5B can be directly applied to CogVideoX1.5, ConsisID and rescaling coefficients for FLUX can be directly applied to TangoFlux.
  • Otherwise, you can refer to these successful attempts, e.g., 1, 2.

Supported Models

Text to Video

Image to Video

Text to Image

Text to Audio

Acknowledgement

This repository is built based on VideoSys, Diffusers, Open-Sora, Open-Sora-Plan, Latte, CogVideoX, HunyuanVideo, ConsisID, FLUX, Mochi, LTX-Video, Lumina-T2X and TangoFlux. Thanks for their contributions!

License

Citation

If you find TeaCache is useful in your research or applications, please consider giving us a star and citing it by the following BibTeX entry.

@article{liu2024timestep,
  title={Timestep Embedding Tells: It's Time to Cache for Video Diffusion Model},
  author={Liu, Feng and Zhang, Shiwei and Wang, Xiaofeng and Wei, Yujie and Qiu, Haonan and Zhao, Yuzhong and Zhang, Yingya and Ye, Qixiang and Wan, Fang},
  journal={arXiv preprint arXiv:2411.19108},
  year={2024}
}
Description
No description provided
Readme Multiple Licenses 28 MiB
Languages
Python 100%