Mind the Gap: Minimizing Bubbles in Pipeline-Parallel LLM Serving
Youhe Jiang, Yi Xu, Haoran Wu, Zhan Shu, Ehsan K. Ardestani, Adnan Aziz
Abstract
Whether accelerators are connected by PCIe or NVLink, serving a model that outgrows a tightly coupled accelerator group requires pipeline parallelism (PP), yet pipeline bubbles keep PP from turning its communication advantage into throughput. We target four types of bubbles, across stages, microbatches, memory, and the prefill/decode (P/D) handoff, and show that the levers serving engines already expose (layer partitioning, prefill chunk size, speculative draft length, request admission, and prefill microbatching) each move more than one bubble and interact, so tuning them in isolation leaves throughput unclaimed. We present Headway, which co-optimizes these levers: it selects the layer partition offline because repartitioning is computationally costly. It jointly schedules chunk size and draft length online under TTFT and TPOT guards and coordinates request admission and prefill microbatching in P/D-disaggregated serving. On replayed coding-agent sessions with two models, Headway improves token throughput over state-of-the-art pipeline-parallel serving systems by 17.5% on average (up to 32.6%) in co-located serving and by 19.2% in disaggregated serving, while reducing mean time between output tokens by 17.6% at comparable time-to-first-token latency.
Create a lesson
Related papers
PipeAxes: Decoupling Compute and Communication Granularities for Pipeline-Parallel LLM Serving
Shared title terminologycs.DCXiaoqiang Guo, Yifan Lin, Yang Liu et al.
ASHE: Asynchronous Stage-owned Heterogeneous Elastic-averaging for Pipeline-Parallel Training
Shared title terminologycs.DCHamin Jung, Sookwang Lee, Shinyoung Ahn et al.
A Pipeline-Parallel System for Depth-Recurrent Models
Shared title terminologycs.DCYunjia Xi, Jiarui Qin, Di Yin et al.
Effective Parallel Discrete Event Simulation on NUMA Machines through Ubiquitous Simulation-Object State
Shared title terminologycs.DCFrancesco Quaglia
RONDO: Segment-Level Continuous Batching for Multi-Tenant Flow-VLA Serving
Shared title terminologycs.DCJiahua Huang, Weiwei Lin, Wentai Wu et al.
Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows
Shared title terminologycs.DCJackson Beem, Amine Barrak