CVAINov 2, 2024

Fast and Memory-Efficient Video Diffusion Using Streamlined Inference

Harvard
arXiv:2411.01171v118 citationsh-index: 20Has CodeNIPS
Originality Incremental advance
AI Analysis

This work addresses a practical bottleneck for deploying video generation models on standard hardware, making it more accessible for real-world applications.

The paper tackles the high computational and memory demands of video diffusion models by introducing a training-free framework called Streamlined Inference, which reduces peak memory usage from 42GB to 11GB and accelerates inference on consumer GPUs.

The rapid progress in artificial intelligence-generated content (AIGC), especially with diffusion models, has significantly advanced development of high-quality video generation. However, current video diffusion models exhibit demanding computational requirements and high peak memory usage, especially for generating longer and higher-resolution videos. These limitations greatly hinder the practical application of video diffusion models on standard hardware platforms. To tackle this issue, we present a novel, training-free framework named Streamlined Inference, which leverages the temporal and spatial properties of video diffusion models. Our approach integrates three core components: Feature Slicer, Operator Grouping, and Step Rehash. Specifically, Feature Slicer effectively partitions input features into sub-features and Operator Grouping processes each sub-feature with a group of consecutive operators, resulting in significant memory reduction without sacrificing the quality or speed. Step Rehash further exploits the similarity between adjacent steps in diffusion, and accelerates inference through skipping unnecessary steps. Extensive experiments demonstrate that our approach significantly reduces peak memory and computational overhead, making it feasible to generate high-quality videos on a single consumer GPU (e.g., reducing peak memory of AnimateDiff from 42GB to 11GB, featuring faster inference on 2080Ti).

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes