MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusion
Abstract
High-resolution video diffusion models built on Diffusion Transformers (DiTs) deliver strong fidelity but quickly exhaust the memory budget of a single workstation. A 100 billion-plus parameter DiT easily requires over a terabyte of persistent state, while naive spatiotemporal self-attention grows quadratically in sequence length. These two walls -- parameter memory and activation memory -- prevent researchers from adapting massive generative models without large GPU clusters. We revisit this problem from a systems perspective and introduce MegaSlide-DiT, a prototype that demonstrates how a pre-trained 105B DiT can be adapted on a single H200 GPU with 1.5 TB of host RAM. Our key insight is that the GPU need not own the model state: all persistent weights, master weights and optimizer moments remain in host memory, while only transient shards are streamed to the GPU on demand. Simultaneously, we replace quadratic global attention with 3D Deformable Slide Attention (3D-DSA), a motion-adaptive local attention operator that reduces both memory and computational complexity to linear in the sequence length. We report detailed memory accounting, execution traces and evaluation results to substantiate our design. MegaSlide-DiT does not claim to train a 105B model from scratch on a single GPU, nor does it magically solve bandwidth limits; rather, it offers a pragmatic path for full-parameter adaptation of massive video diffusion models on high-end workstations.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE
Shared title terminologycs.CVJiachen An, Sijie Zhao, Le Li et al.
FVAttn: Adaptive Sparse Attention with Runtime Load Balancing for Video Generation
Shared title terminologycs.CVHao Liu, Chenghuan Huang, Ye Huang et al.
Efficient Frame Selection for Long Videos at Test Time with Attention-Based MLLM Selectors
Shared title terminologycs.CVYilin Wang, Xiangxi Zheng, Dongxing Mao et al.
VideoSEMA: a scalable and efficient Mamba-like attention for video understanding
Shared title terminologycs.CVNhat Thanh Tran, Fanghui Xue, Shuai Zhang et al.
Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation
Shared title terminologycs.CVShaoteng Liu, Shuai Yang, Wei Huang et al.
What a Drop Reveals: Sim-to-Real Material Estimation for Deformable Objects from Video
Shared title terminologycs.CVZiyue Peng, Yanxi Hu, Junyoung Kim et al.