Abstract
State-of-the-art video diffusion models (VDMs) face significant memory and communication bottlenecks during inference due to their 3D spatio-temporal nature. Traditional model parallelism strategies, while effective for 1D text sequences, incur massive communication overhead in VDMs by transferring high-dimensional activation tensors. We present Latent Parallelism (LP), a novel serving strategy that partitions the 3D latent space across multiple GPUs. By communicating compact latents rather than model activations and employing a dynamic rotating partition mechanism, LP reduces communication overhead by up to 97% while maintaining high-quality video generation.
The Memory Challenge in Video AI
Modern video models like Sora or WAN operate on 3D spatio-temporal domains (Time x Height x Width), leading to cubic scaling in memory consumption. While Large Language Models (LLMs) process 1D text sequences, the transition to 3D latents in VDMs creates a massive disparity in GPU memory requirements. For instance, generating a simple 5-second video can require over 30GB of VRAM, often exceeding the capacity of a single high-end GPU.
To address these constraints, engineers typically turn to model parallelism—splitting layers across multiple GPUs. However, in Diffusion Transformers (DiTs), this approach necessitates the frequent exchange of massive activation tensors. In bandwidth-limited environments (such as clusters using PCIe instead of NVLink), this communication becomes a severe bottleneck, often negating the performance benefits of distributed computing.
The Latent Parallelism Framework
The core innovation of this work is a paradigm shift: instead of partitioning the model, LP partitions the latent tensor (the compressed representation of the video). Because latents are orders of magnitude smaller than intermediate model activations, the amount of data moved across the network drops drastically.
The LP framework operates in three distinct stages:
- Dynamic Rotating Partition: To ensure the model maintains global context (e.g., ensuring temporal and spatial consistency), the system rotates the partitioning dimension at every timestep. By alternating between time, height, and width splits, the authors mathematically prove "2-completeness"—where every part of the video "sees" every other part within just two denoising steps.
- Parallel Denoising: Each GPU independently denoises its assigned sub-latent. This eliminates the need for inter-layer communication, which is the primary source of latency in traditional parallelism.
- Latent Reconstruction: The sub-latents are stitched back together using Patch-Aligned Overlapping and Position-Aware Reconstruction. By aligning partitions with the model’s internal visual patches and using adaptive weighting at the edges, the system produces smooth, artifact-free transitions.
Evaluation and Key Results
The researchers evaluated LP using the WAN2.1-1.3B model across three major benchmarks: EvalCrafter (general quality), T2V-CompBench (compositional capabilities), and VBench (consistency and motion). Experiments were conducted on a cluster of four NVIDIA RTX A6000 GPUs.
- Massive Efficiency Gains: LP reduced total communication overhead by 97% compared to Naive Model Parallelism (NMP) and Pipeline Parallelism (PP). Even compared to optimized hybrid strategies, it offered a 72% reduction.
- Zero Quality Loss: On the VBench suite, quality scores for LP were nearly identical (within 0.6%) to "Centralized" generation (running the model on a single large GPU), significantly outperforming older baselines like VideoCrafter.
- Real-World Speedup: In end-to-end latency tests, LP (with a 0.5 overlap ratio) was the fastest method, clocking in at ~195 seconds per video compared to ~239 seconds for standard model parallelism.
Conclusion
Latent Parallelism represents a significant step toward making large-scale video generation more accessible on standard hardware clusters. By prioritizing the communication of compact latents over bulky model activations, LP bypasses the traditional bottlenecks of distributed inference. Future work may explore extending these principles to the training phase, potentially democratizing the development of massive video diffusion models.
Summary updated