atlas

Research map / Large language models / Agents, code and math

Synergistic Tensor and Pipeline Parallelism

NeurIPS 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a synergistic tensor and pipeline parallel schedule that decouples forward/backward into fine-grained units, braids them into execution blocks to hide TP all-reduce communication, and uses a V-shape PP schedule to reduce pipeline bubbles, with an offloading variant for memory.

Problem

Hybrid TP+PP training of LLMs and MLLMs suffers from TP collective communication bubbles and PP pipeline bubbles, and existing methods address these in isolation.

Approach

Decouple forward and backward passes of each PP model chunk into fine-grained units (Pre-Attn, Attn, Pre-MLP, MLP, with backward split into activation and weight gradients) and braid forward units of one microbatch with backward units of another so TP all-reduce overlaps with computation; combine this with a V-shape virtual-stage dataflow for balanced memory and fewer PP bubbles.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the synergistic TP-PP schedule instead of 1F1B-IQwen2 12.1B · seq 6144, TP=8, PP=2, mbs=192throughput (samples/s): 3.11 -> 3.49Helped
Use the synergistic TP-PP schedule instead of ZB-VQwen2 26.3B · seq 4096, TP=8, PP=4, mbs=256throughput (samples/s): 4.29 -> 4.72Helped
Use the synergistic TP-PP schedule instead of 1F1B-IQwen2-VL 14.9B · ViT length 3136, LM length 5120, TP=8, PP=2, mbs=192throughput (samples/s): 2.46 -> 2.87Helped
Add activation offloading to the synergistic schedule (ablation)Qwen2 12.1B · H20, TP=2, PP=8, mbs=1, seq_len=8192throughput: 2.72 -> 2.74Helped
Enable activation checkpointing on MLP (ablation)Ours · Qwen2 12.1B, batch size 128, sequence length 6kthroughput (samples/s): 4.79 -> 4.19Hurt
Enable activation checkpointing on Attention and MLP (ablation)Ours · Qwen2 12.1B, batch size 128, sequence length 6kthroughput (samples/s): 4.79 -> 3.94Hurt
Enable activation checkpointing on Attention, MLP, and Norm (ablation)Ours · Qwen2 12.1B, batch size 128, sequence length 6kthroughput (samples/s): 4.79 -> 3.75Hurt
Begin with the memory-efficient warm-up phase (ablation)Ours · Pipeline schedulethroughputHurt
Use activation offloading (ablation)Ours · Qwen2 12.1B on H20 GPUsthroughputHurt

Surprising findings

Limitations

Experimental setup

Metrics: throughput (samples/s) MFU peak activation memory (GB)

Baselines: 1F1B-I ZB-V

Builds on: Megatron-LM Zero Bubble 1F1B-I GPipe Flash Attention 2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy