Cache-DiT: A PyTorch-native Inference Engine with Cache, Parallelism, Quantization and CPU Offload for DiTs.
Actively maintained. Last release 4 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install cache-ditCache-DiT is a PyTorch-native inference engine with cache acceleration (DBCache, TaylorSeers, FoCa, SCM, SVD-Cache, DMD-Cache, HiCache, BRACE, Sea-Cache, etc), quantization (FP8/FP4/INT4/SVDQ-W{2,3,4,6,8}-A{4,6,8}), offload, parallelism (CP/TP/USP/TE-P/VAE-P/2D-P/3D-P) and attention acceleration (FA-2/3, sage-2/3, ⚡️ffpa-attn, sol-attn, etc) for various DiTs and runs natively on NVIDIA GPUs, Huawei Ascend NPUs and AMD GPUs.
Cache-DiT is also compatible with torch.compile and fully integrates with , , , . Cache-DiT now supports , covering the vast majority of DiTs. For full support matrix and detailed usage, please refer to our docs at 📘.
⚡️🎉A PyTorch-native Inference Engine with Cache,