Abstract
Diffusion models have recently achieved remarkable results for video generation. Despite the encouraging performances, the generated videos are typically constrained to a small number of frames, resulting in clips lasting merely a few seconds. The primary challenges in producing longer videos include the substantial memory requirements and the extended processing time required on a single GPU. A straightforward solution would be to split the workload across multiple GPUs, which, however, leads to two issues: (1) ensuring all GPUs communicate effectively to share timing and context information, and (2) modifying existing video diffusion models, which are usually trained on short sequences, to create longer videos without additional training. To tackle these, in this paper we introduce Video-Infinity, a distributed inference pipeline that enables parallel processing across multiple GPUs for long-form video generation. Specifically, we propose two coherent mechanisms: Clip parallelism and Dual-scope attention. Clip parallelism optimizes the gathering and sharing of context information across GPUs which minimizes communication overhead, while Dual-scope attention modulates the temporal self-attention to balance local and global contexts efficiently across the devices. Together, the two mechanisms join forces to distribute the workload and enable the fast generation of long videos. Under an 8 x Nvidia 6000 Ada GPU (48G) setup, our method generates videos up to 2,300 frames in approximately 5 minutes, enabling long video generation at a speed 100 times faster than the prior methods.
Introduction
While diffusion models have revolutionized video generation, they are typically limited to short durations, usually producing clips of only 2–4 seconds (16–24 frames). Generating longer videos on a single GPU faces two significant hurdles: the "Memory Wall" and the "Time Sink." Temporal self-attention mechanisms scale quadratically with the number of frames, quickly exhausting GPU VRAM, while sequential generation methods are prohibitively slow for long-form content.
Existing training-free solutions often struggle with visual drift, where the subject's identity changes over time, or lack global continuity because they only observe a small window of previous frames. Video-Infinity breaks these barriers by distributing the generation process across a cluster of GPUs while maintaining semantic coherence through novel synchronization mechanisms.
Methodology
Video-Infinity employs a distributed parallelization approach that splits a long video into smaller clips, each processed by a different GPU. To maintain synchronization across these clips, the system utilizes two core mechanisms: Clip Parallelism and Dual-scope Attention.
Clip Parallelism
This mechanism uses a three-round communication strategy to minimize overhead. In the global phase, every GPU broadcasts a summary of its clip to all others to ensure global consistency. In the local phases, GPUs exchange detailed boundary information with immediate neighbors to ensure smooth transitions between clips. This strategy is interleaved to avoid network bottlenecks.
Dual-scope Attention
Standard temporal attention is replaced with a version that operates at two scales. The local context uses a sliding window of neighboring frames to maintain fluid motion, while the global context samples frames uniformly from the entire video duration. This allows a model originally trained on only 16 frames to understand the context of a 2,000-frame video without retraining.
Experimental Results
The researchers utilized VideoCrafter2 as their base pre-trained model and evaluated the system using VBench. On a setup with 8× Nvidia 6000 Ada GPUs, Video-Infinity generated a 2,300-frame video in approximately 5 minutes. For a 1,024-frame video, the system achieved speeds 100x faster than previous leading methods like Streaming T2V.
In terms of quality, Video-Infinity outperformed competitors in subject consistency and aesthetic quality. While autoregressive methods often see subjects "morph" over long durations, Video-Infinity maintains stable identities throughout the sequence. The system maintains a resolution of 512x320 at 24 fps, enabling high-throughput production of continuous video.
Conclusion and Future Work
Video-Infinity demonstrates that distributing frames across multiple GPUs allows memory overhead to shift from quadratic to linear relative to video length, theoretically enabling "infinite" video generation. However, the system currently requires multi-GPU clusters and is optimized for continuous long shots rather than complex cinematic editing with abrupt scene transitions. Future work may involve integrating storytelling logic to handle narrative shifts and multiple scenes within the distributed framework.
Summary updated