Heterogeneous Parallelism for Multimodal Large Language Model Training

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Karnati, Yashaswi, Jafari, Kamran, Mehra, Akash, Ding, Li, Thombre, Pranav Prashant, Ghias, Ali Roshan, Xu, Shifang, Mannan, Parth, Yao, Yu, Wu, Hao, Harper, Eric, Aithal, Ashwath, Tajbakhsh, Nima
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918526086807552
author Karnati, Yashaswi
Jafari, Kamran
Mehra, Akash
Ding, Li
Thombre, Pranav Prashant
Ghias, Ali Roshan
Xu, Shifang
Mannan, Parth
Yao, Yu
Wu, Hao
Harper, Eric
Aithal, Ashwath
Tajbakhsh, Nima
author_facet Karnati, Yashaswi
Jafari, Kamran
Mehra, Akash
Ding, Li
Thombre, Pranav Prashant
Ghias, Ali Roshan
Xu, Shifang
Mannan, Parth
Yao, Yu
Wu, Hao
Harper, Eric
Aithal, Ashwath
Tajbakhsh, Nima
contents Foundation model training is becoming multimodal, from post-training pipelines to large-scale pretraining. As modality coverage broadens, context windows grow, and encoder LLM scales diverge, a single LLM-centric TP/CP/PP/DP/EP layout increasingly limits throughput. This coupling forces encoders to inherit LLM-driven sharding and placement choices that can add communication, limit encoder parallelism, or constrain the LLM schedule; the mismatch is most pronounced at long contexts, where LLM context parallelism is needed for the fused multimodal sequence but encoder inputs remain bounded. We present heterogeneous parallelism for multimodal large language model training, an abstraction that lets modules in one end-to-end graph use independent layouts and rank placements, supporting colocated execution on shared GPUs and non-colocated execution on disjoint rank sets. The key challenge is preserving boundary tensor semantics across independent layouts: forward activations must be materialized for the destination layout, while backward gradients must be routed back to the source layout. We address this with boundary communicators that implement forward and backward layout transforms, plus scheduling extensions for both placement modes. We evaluate optimized homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations across multimodal workloads and GPU scales to characterize when added layout and placement freedom exposes a better operating point. Across this sweep, colocated heterogeneity improves TFLOPS/GPU by up to 49.3%, while non-colocated heterogeneity improves aggregate token throughput by up to 13.0% and TFLOPS/GPU by up to 9.6%. We validate loss convergence parity against homogeneous baselines and release the system as an open-source Megatron-LM extension.
format Preprint
id arxiv_https___arxiv_org_abs_2605_27678
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Heterogeneous Parallelism for Multimodal Large Language Model Training
Karnati, Yashaswi
Jafari, Kamran
Mehra, Akash
Ding, Li
Thombre, Pranav Prashant
Ghias, Ali Roshan
Xu, Shifang
Mannan, Parth
Yao, Yu
Wu, Hao
Harper, Eric
Aithal, Ashwath
Tajbakhsh, Nima
Machine Learning
Distributed, Parallel, and Cluster Computing
Foundation model training is becoming multimodal, from post-training pipelines to large-scale pretraining. As modality coverage broadens, context windows grow, and encoder LLM scales diverge, a single LLM-centric TP/CP/PP/DP/EP layout increasingly limits throughput. This coupling forces encoders to inherit LLM-driven sharding and placement choices that can add communication, limit encoder parallelism, or constrain the LLM schedule; the mismatch is most pronounced at long contexts, where LLM context parallelism is needed for the fused multimodal sequence but encoder inputs remain bounded. We present heterogeneous parallelism for multimodal large language model training, an abstraction that lets modules in one end-to-end graph use independent layouts and rank placements, supporting colocated execution on shared GPUs and non-colocated execution on disjoint rank sets. The key challenge is preserving boundary tensor semantics across independent layouts: forward activations must be materialized for the destination layout, while backward gradients must be routed back to the source layout. We address this with boundary communicators that implement forward and backward layout transforms, plus scheduling extensions for both placement modes. We evaluate optimized homogeneous, colocated heterogeneous, and non-colocated heterogeneous configurations across multimodal workloads and GPU scales to characterize when added layout and placement freedom exposes a better operating point. Across this sweep, colocated heterogeneity improves TFLOPS/GPU by up to 49.3%, while non-colocated heterogeneity improves aggregate token throughput by up to 13.0% and TFLOPS/GPU by up to 9.6%. We validate loss convergence parity against homogeneous baselines and release the system as an open-source Megatron-LM extension.
title Heterogeneous Parallelism for Multimodal Large Language Model Training
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2605.27678