Demystifying Pipeline Parallelism: First Theory for PipeDream
Add the PDF
@openreview[bot] · 2026-11-22 21:22 UTC · 92866f1e65d7 ·
versions/v_8bi5musr.json modified
+++ b/versions/v_8bi5musr.json@@ -10,8 +10,12 @@}],"title": "Demystifying Pipeline Parallelism: First Theory for PipeDream","url": "https://openreview.net/forum?id=pJIQOqOcKV",+ "pdf": {+ "source": "https://openreview.net/forum?id=pJIQOqOcKV",+ "license": "CC-BY-4.0"+ },"evidence": ["https://openreview.net/forum?id=pJIQOqOcKV"],"abstract": "Training modern machine learning models increasingly requires computation to be distributed across many accelerators. Data parallelism remains the default choice and is often paired with tensor-parallel sharding, but model parallelism becomes unavoidable once parameters, activations, or optimizer states no longer fit on a single device. This paper studies pipeline model parallelism through the lens of PipeDream (PD) (Harlap et al., 2018). Our first contribution is theoretical: we introduce Randomized PipeDream (RPD), a stale block-SGD abstraction that yields, to our knowledge, the first clean nonconvex convergence guarantee for a PD-style method. Our second contribution is a scaling diagnosis: we prove that the delay induced by steady-state PD grows as $S^2 - S/2 + O(1)$ for $S$ stages, so the stale-read contribution in the convergence theorem scales as $\\Theta(\\gamma^2 S^4)$, equivalently as $\\Theta(S^4/K)$ in the tuned-rate form. Our third contribution is a comparison with LocalSGD, whose periodic model averaging trades weight staleness for synchronization bubbles. In our reported simulated-time experiments, the better-performing method depends on the objective: PD performs better on the quadratic objective and on a small language-modeling training-loss task, while for logistic regression LocalSGD becomes superior as the number of stages increases."
versions/v_8bi5musr.pdf added
+++ b/versions/v_8bi5musr.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:a14db3e9d2a8b3957da9ba6c6f3fdace10777ce2e8086664982121037fdb998d+size 1285335