PipeWeaver: Addressing Data Dynamicity in Large Multimodal Model Training with Dynamic Interleaved Pipeline
Zhenliang Xue, Hanpeng Hu, Xing Chen, Yimin Jiang, Yixin Song, Zeyu Mi, Yibo Zhu, Daxin Jiang, Yubin Xia, Haibo Chen
TL;DR
PipeWeaver tackles dynamic imbalance in large multimodal model training by introducing a dynamic interleaved pipeline that adaptively schedules modality-aware pipeline segments to current data batches. Central to this approach are SEMU, a fast step emulator with spatial-temporal subgraph reuse for accurate yet efficient performance estimates, and a hierarchical search that combines modality-module ranking, stage interleaving, and model-layer tuning. The system demonstrates up to 97.3% throughput improvements over state-of-the-art baselines and maintains high hardware utilization across dynamic workloads, validated through end-to-end experiments and large-scale simulations. These results suggest substantial practical impact for training diverse LMMs efficiently on large GPU clusters, enabling faster iteration and broader deployment of multimodal capabilities.
Abstract
Large multimodal models (LMMs) have demonstrated excellent capabilities in both understanding and generation tasks with various modalities. While these models can accept flexible combinations of input data, their training efficiency suffers from two major issues: pipeline stage imbalance caused by heterogeneous model architectures, and training data dynamicity stemming from the diversity of multimodal data. In this paper, we present PipeWeaver, a dynamic pipeline scheduling framework designed for LMM training. The core of PipeWeaver is dynamic interleaved pipeline, which searches for pipeline schedules dynamically tailored to current training batches. PipeWeaver addresses issues of LMM training with two techniques: adaptive modality-aware partitioning and efficient pipeline schedule search within a hierarchical schedule space. Meanwhile, PipeWeaver utilizes SEMU (Step Emulator), a training simulator for multimodal models, for accurate performance estimations, accelerated by spatial-temporal subgraph reuse to improve search efficiency. Experiments show that PipeWeaver can enhance LMM training efficiency by up to 97.3% compared to state-of-the-art systems, and demonstrate excellent adaptivity to LMM training's data dynamicity.
