atlas

Research map / Architectures and efficiency / RNNs and normalization

PipeOffload: Improving Scalability of Pipeline Parallelism with Memory Optimization

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 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 PipeOffload, which fully or selectively offloads pipeline-parallel activations to host memory with near-zero overhead, plus schedule variants (GIS, GIS-H, PO-H, PO-F), letting pure pipeline parallelism replace tensor parallelism at scale.

Problem

Pipeline parallelism's scalability for LLM training is limited by activation memory, since the number of in-flight microbatches grows with PP degree; the paper asks whether activation offload can be made nearly free in PP.

Approach

Offload activations to host during the forward-backward gap of pipeline schedules, choosing stages with longer lifespans for selective offload (better-than-linear peak memory reduction), combined with split-backward zero-bubble scheduling, warmup adjustment, lifespan-shortening uniform-repeating building blocks, single-stream offload scheduling, and selective recomputation of cheap layers to lower

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Offload stage 0 with uniform repeating schedule (selective offload, better-than-linear) instead of interleaved 1F1BPipeOffload PO-H · PP with 8 devices and 16 stagespeak activation memory reduction: offloading half the stages reduces peak to about one-quarterHelped
Replace TP8 with pure pipeline parallelism using PipeOffloadPO-F and PO-H vs 1F1B-I+TP8 · GPT-3-like models 5.8B-83.8B on 32 A100straining acceleration: 12%-19% accelerationHelped
Fully offload all activations (PO-F) when k<=11F1B schedule / PipeOffload · A100 with hidden size above 8k or sequence length above 16kthroughput overheadNo clear effect
Recompute LayerNorm, GeLU, dropout instead of storing them (ablation)Layer activations for offload · GPT-3-like models on A100activation memory per layer and throughput: 40% reduction with around 1-2% slowdownHelped
Use a single shared stream for offload and reload instead of separate streamsPipeOffload offload scheduling · A100 pipeline traininglatency stability and throughputHelped
Synchronized interleaved H2D-D2H transfer between GPU pairs sharing a PCI-E switch, versus parallel or dual-stream schedules (ablation)Offload transfers on A100 topology · Pair of GPUs on same PCI-E switchbidirectional transfer bandwidth stabilityHelped
Uniform repeating strategy instead of interleaving strategy for stage offloadPipeline schedule memory reduction · PP with 8 devicespeak memory reduction in activations: 4 activations vs 3 activations reductionHelped
Adjust warmup forward count in interleaved 1F1B (GIS)Interleaved 1F1B · PP schedule peak activationmaximum peak activation memory: from dv+d-1 to dvHelped
Shorten microbatch lifespan (GIS-H, g=ceil(d/2)) at cost of extra warmup bubbles (ablation)Interleaved 1F1B schedule · PP schedule with d devices and v stagespeak activation memory and pipeline bubblesMixed
Per-device activation memory scaling with total stages using PO-H/PO-F5.8B model PipeOffload · Varying total stages v x dper-device activation memory scalingHelped
Offload all stages with PipeOffload loss convergence vs 1F1B-IPO-H and PO-F on 5.4B model · 8 GPUs loss curvestraining loss trajectoryNo clear effect

Surprising findings

Limitations

Experimental setup

Metrics: model flops utilization (MFU) peak activation memory loss curve agreement

Baselines: 1F1B Interleaved 1F1B 1F1B-I with TP8 1F1B-I-R V-Min V-Half

Builds on: 1F1B Interleaved 1F1B Zero Bubble Pipeline Parallelism Megatron-LM Memory offload (Zero-Offload style)

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