Research & Papers

Zellige scheduler boosts image-video AI training by 1.54x

New placement system cuts mixed image-video model training time up to 35%

Deep Dive

Training diffusion transformers (DiTs) on mixed image and video data is essential for high-quality video generation, but it poses a challenging mixed-length sequence problem across GPUs. Existing systems use data parallelism (DP), context parallelism (CP), or a combination, which the authors model as disjoint-group placement. They prove these designs face a fundamental tradeoff: inter-group load imbalance versus intra-group communication redundancy. Zellige, from Guangyu Xiang and colleagues, solves this with moldable sequence placement, jointly selecting each sequence's parallelism configuration and participating ranks.

Zellige has three components: a hardware profiler that estimates execution time and memory for candidate placements, a two-stage planner that balances compute-heavy anchor sequences and packs lighter filler sequences into residual capacity, and a coalesced attention engine that efficiently runs whole sequences alongside distributed-attention shards. The profiler is remarkably accurate, predicting step makespan and peak memory with mean absolute percentage errors of 3.4% and 1.5% across 21 plans. The planner solves each batch in 33-119ms, much faster than a joint-placement reference, while modeled makespans differ by at most 0.32%.

In end-to-end evaluations, Zellige outperforms KnapFormer by 1.12-1.48x on 16 A800 GPUs and 1.27-1.54x on 32 A6000 GPUs, demonstrating up to 35% faster training. This is a significant practical advance for scaling video generation models, where training efficiency directly impacts cost and iteration speed.

Key Points
  • Zellige's hardware profiler predicts makespan and memory with 3.4% and 1.5% mean absolute percentage error across 21 plans.
  • Two-stage planner solves each training batch in just 33-119ms, nearly matching the optimal joint-placement solution within 0.32% makespan.
  • Outperforms KnapFormer by up to 1.54x on 32 A6000 GPUs and 1.48x on 16 A800 GPUs for mixed image-video DiT training.

Why It Matters

Zellige makes mixed image-video diffusion training up to 54% faster, directly cutting GPU costs and enabling larger video models.

📬 Get the top 10 AI stories daily