Papers
arxiv:2611.30581

A Pipeline-Parallel System for Depth-Recurrent Models

Published on Nov 23
· Submitted by
DI YIN
on Nov 24
Authors:
,
,

Abstract

Loop-PP schedules cyclic pipeline stages for depth-recurrent models, overlapping communication and compute while preserving exact numerical equivalence, reducing memory and increasing throughput on MoE models.

Depth-recurrent (Looped) models raise effective depth by applying a shared stack of blocks several times. Scaling them usually requires pipeline parallelism, but commonly used interleaved 1F1B is drawn for an acyclic stage graph in which each micro-batch enters each stage once. Once that stack is split across stages, the same stage is visited several times on one micro-batch and later stages feed earlier ones: native 1F1B has no slot for the extra visit, cannot rank a first iteration against a second, and its neighbour-only send/receive order has no back edge to the first stage, so the arrangement stalls or fires out of order. We present Loop-PP, which rebuilds both the timetable and the communication for this cyclic layout. It schedules different iterations of the same stage separately, specializes a 1F1B skeleton into a globally consistent order over those visits, and emits a static instruction stream per rank that separates posting from waiting so communication overlaps local compute. Loop-PP is bit-identical to a single-stage reference. On 8B-60B MoE models, it lowers peak memory by as much as 32.8\%, and with compute budget fixed, the best observed throughput rises by 12.7\%.

Community

Paper author Paper submitter

Depth-recurrent (Looped) models raise effective depth by applying a shared stack of blocks several
times. Scaling them usually requires pipeline parallelism, but commonly used interleaved 1F1B is
drawn for an acyclic stage graph in which each micro-batch enters each stage once. Once that stack
is split across stages, the same stage is visited several times on one micro-batch and later stages
feed earlier ones: native 1F1B has no slot for the extra visit, cannot rank a first iteration against
a second, and its neighbour-only send/receive order has no back edge to the first stage, so the
arrangement stalls or fires out of order. We present Loop-PP, which rebuilds both the timetable
and the communication for this cyclic layout. It schedules different iterations of the same stage
separately, specializes a 1F1B skeleton into a globally consistent order over those visits, and emits a
static instruction stream per rank that separates posting from waiting so communication overlaps
local compute. Loop-PP is bit-identical to a single-stage reference. On 8B-60B MoE models, it lowers
peak memory by as much as 32.8%, and with compute budget fixed, the best observed throughput
rises by 12.7%.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.30581
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2611.30581 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.30581 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2611.30581 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.