LightCache: Memory-Efficient, Training-Free Acceleration for Video Generation
Yang Xiao, Gen Li, Kaiyuan Deng, Yushu Wu, Zheng Zhan, Yanzhi Wang, Xiaolong Ma, Bo Hui
TL;DR
LightCache tackles the memory bottleneck in diffusion-based video generation by analyzing stage-wise computation (encoding, denoising, decoding) and introducing three training-free strategies: Asynchronous cache swapping, feature chunking, and VAE slicing for decoding. These stage-specific optimizations reduce peak GPU memory while keeping latency overhead below the acceleration gains, outperforming prior training-free and caching baselines like DeepCache and FME. Ablation studies confirm each component contributes to memory reduction, and the Euler scheduler yields the best balance of speed and quality. The approach enables faster, more memory-efficient video generation on multi-GPU setups, with practical applicability to DiT-based architectures and longer sequences.
Abstract
Training-free acceleration has emerged as an advanced research area in video generation based on diffusion models. The redundancy of latents in diffusion model inference provides a natural entry point for acceleration. In this paper, we decompose the inference process into the encoding, denoising, and decoding stages, and observe that cache-based acceleration methods often lead to substantial memory surges in the latter two stages. To address this problem, we analyze the characteristics of inference across different stages and propose stage-specific strategies for reducing memory consumption: 1) Asynchronous Cache Swapping. 2) Feature chunk. 3) Slicing latents to decode. At the same time, we ensure that the time overhead introduced by these three strategies remains lower than the acceleration gains themselves. Compared with the baseline, our approach achieves faster inference speed and lower memory usage, while maintaining quality degradation within an acceptable range. The Code is available at https://github.com/NKUShaw/LightCache .
