8000 GitHub - vipshop/cache-dit: A PyTorch-native inference engine with cache, parallelism, quantization and cpu offload for DiTs. · GitHub
[go: up one dir, main page]

Skip to content
vipshopPublic

About

A PyTorch-native inference engine with cache, parallelism, quantization and cpu offload for DiTs.

Topics

Resources

Stars

1.3k stars

Watchers

10 watching

Forks

Repository files navigation

⚡️🎉A PyTorch-native Inference Engine with Cache,
Parallelism, Quantization and CPU Offload for DiTs
Featured|HelloGitHub

Cache-DiT is a PyTorch-native inference engine with cache acceleration (DBCache, TaylorSeers, FoCa, SCM, SVD-Cache, DMD-Cache, HiCache, etc), quantization (SVDQ/FP8/FP4/INT4), cpu offload and parallelism (CP/TP/USP/TE-P/VAE-P/2D-P/3D-P) for various DiTs and runs natively on NVIDIA GPUs, Huawei Ascend NPUs and AMD GPUs.

Cache-DiT is fast, easy to use, and flexible for various DiTs.

Cache-DiT is also compatible with torch.compile and fully integrates with SGLang Diffusion, vLLM-Omni, TensorRT-LLM, xDiT. Cache-DiT now supports 60+🎉 DiT pipeline families (150+🎉 Variants), covering the vast majority of DiTs. For full support matrix and detailed usage, please refer to our docs at 📘cache-dit.io.

🌐Community Integration

©️Acknowledgements

Special thanks to vipshop's Computer Vision AI Team for supporting testing and deployment of this project. We learned and reused codes from: Diffusers, SGLang, vLLM-Omni, Nunchaku, xDiT and TaylorSeer.

©️Citations

@misc{cache-dit@2025,
  title={Cache-DiT: A PyTorch-native Inference Engine with Cache, Parallelism, Quantization and CPU Offload for DiTs.},
  url={https://github.com/vipshop/cache-dit.git},
  note={Open-source software available at https://github.com/vipshop/cache-dit.git},
  author={DefTruth, vipshop.com, etc.},
  year={2025}
}

About

A PyTorch-native inference engine with cache, parallelism, quantization and cpu offload for DiTs.

Topics

Resources

Stars

1.3k stars

Watchers

10 watching

Forks

Releases

Packages

Contributors

Languages

0