NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast and Memory-Efficient Video Diffusion Using Streamlined Inference

Zheng Zhan, Yushu Wu, Yifan Gong, Zichong Meng, Zhenglun Kong, Changdi Yang, Geng Yuan, Pu Zhao, Wei Niu, Yanzhi Wang

Introduction

Video Diffusion Models (VDMs), such as Stable Video Diffusion (SVD) and AnimateDiff, have set new benchmarks in high-quality video generation. However, their deployment is severely limited by extreme memory requirements. Unlike image generation, VDMs must process multiple frames simultaneously to ensure temporal consistency, often requiring over 40GB of VRAM for high-resolution outputs. This exceeds the capacity of most consumer-grade GPUs, leading to frequent "Out of Memory" (OOM) errors.

Researchers have developed Streamlined Inference, a training-free framework designed to slash these peak memory and computational costs. By intelligently managing feature processing and reusing temporal data, this method makes high-quality video generation possible on consumer-grade hardware like the RTX 2080Ti.

The Streamlined Inference Framework

The framework introduces three core components that work in tandem to optimize the diffusion process without requiring expensive retraining or fine-tuning:

1. Feature Slicer

The Feature Slicer partitions large input feature maps into smaller "sub-features." It handles spatial layers by reshaping 5D tensors into 4D batches and temporal layers by slicing height and width while keeping the frame dimension intact to preserve critical motion data.

2. Operator Grouping

Slicing alone does not save memory if intermediate results must be stored to reconstruct the full map. Operator Grouping solves this by clustering consecutive operations (e.g., Conv2D -> Norm -> Activation). Each sub-feature is processed through the entire group and passed to the next stage immediately, significantly lowering the "high-water mark" of memory usage.

3. Step Rehash

Diffusion is an iterative process where feature maps in certain layers are remarkably similar between adjacent denoising steps. Step Rehash exploits this by reusing features from a previous step for specific blocks, skipping expensive computations entirely without losing visual coherence.

Experimental Evaluation

The framework was evaluated using zero-shot protocols on major benchmarks including UCF-101 and MSR-VTT. The methods were integrated into state-of-the-art models such as SVD, SVD-XT, and AnimateDiff to test their generalizability.

Key Results and Discussion

Memory and Latency Improvements

The quantitative improvements are significant across the board. For AnimateDiff at 576x1024 resolution, peak memory dropped from 41.71GB to 11.07GB (a ~73% reduction). For SVD, it dropped from 39.49GB to 23.42GB. Despite the overhead of slicing, the combination of pipelining and Step Rehash resulted in faster inference, with both models seeing speedups of approximately 1.6x.

Comparison of peak memory reduction and latency speedups for AnimateDiff and SVD models.

Quality Preservation

Unlike "naïve slicing" techniques which can cause flickering and artifacts, Streamlined Inference maintains visual quality. Quantitative metrics like CLIP-Score and Fréchet Video Distance (FVD) remained very close to the original uncompressed models. For example, on SVD, the CLIP-Score only moved from 29.25 to 28.98, a negligible difference to the human eye.

Qualitative results showing consistent temporal flow and high visual fidelity across generated frames.

Conclusion

Streamlined Inference provides a robust, "plug-and-play" solution to the memory bottlenecks of modern video diffusion. By enabling high-resolution video generation on consumer hardware without sacrificing quality, this framework significantly lowers the barrier for creators and researchers. Future work will explore applying these techniques to even larger Diffusion Transformer (DiT) architectures and optimizing for mobile or edge devices.

Summary updated

BibTeX
@inproceedings{zhan2024fast,
  author = {Zheng Zhan and Yushu Wu and Yifan Gong and Zichong Meng and Zhenglun Kong and Changdi Yang and Geng Yuan and Pu Zhao and Wei Niu and Yanzhi Wang},
  title = {{Fast and Memory-Efficient Video Diffusion Using Streamlined Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=iNvXYQrkpi},
}
Figure