Papers · 2026 · Reading: 32 min, plus 3 in closed details.
Paper · arXiv preprint · arXiv 2609.14306

Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training

Shrey Pandit, Xuan-Phi Nguyen (equal contribution), Yiran Zhao, Shafiq Joty
Salesforce AI Research · 13 September 2026 (arXiv v1)
Listed in the Papers database as "Bounding the memory bottlenecks of large mixture-of-experts training"; the arXiv title is above.

In one line: Bounds four memory peaks of large-MoE training that common parallelism plans leave free to grow (expert dispatch, the vocabulary logits, checkpoint boundaries, and the time of an offloaded AdamW step) by changing only the order and granularity of the work, so the arithmetic stays exact and each term is known before launch. The component savings are measured against the authors' own LLEP (dispatch peak 56.9 to 59.3% lower) and a projection that materialises full logits (82.8 to 86.6% lower), not against fused cross-entropy kernels; the end-to-end 1M-token context on 120B to 667B models is a single-run result for the whole MoP stack against a weak FSDP2 baseline, with no ablation of which operator buys what.

59.3% lower peak
expert dispatch against LLEP, 65,536 tokens per rank, top-8
at 1.01 to 1.10 times LLEP's speed, forward pass · Figure 2
86.6% lower peak
vocabulary projection, 32,768 tokens per GPU, V = 200,000
79.5 to 10.6 GiB for 4.4% more time, exact loss · Table 2
1M token context
120B, 241B and 667B MoE models on 16 to 64 H200s
8 to 32 times the reach of a tuned FSDP2 baseline · Figure 7

How far to trust it: Believe the mechanisms and the component memory numbers: the operators are exact by construction, and the checkpoint, optimizer-staging and projection numbers recompute from the configuration, as does Table 8 from our replay. Treat the end-to-end multiples as a result for the whole MoP stack against a weak FSDP2 baseline: single runs, no ablation of which operator buys what, and two printed multiples that contradict the text. The evidence, judged.

The idea in one sentence: a training step dies at its single highest memory peak, so the paper caps all four live sets that common MoE parallelism leaves free to grow (expert dispatch, the vocabulary logits, checkpoint boundaries, and the time of an offloaded optimizer step) by changing only the order and granularity of the work, which keeps the arithmetic exact and makes each term's size known before launch.

You need: the parallelism forms, ZeRO and activation checkpointing (Distributed training), bytes per parameter in training (Performance math), and expert routing and expert parallelism (Mixture of experts). New terms: live set (the tensors that must be resident at one moment; peak memory is the maximum over them); LLEP (the authors' least-loaded expert parallelism, which moves a hot expert's overflow to idle ranks); PipelinedLLEP (LLEP in chunks with a per-source token budget c); Ring-DTP (an exact cross-entropy over vocabulary shards, each rank keeping its own batch); checkpoint boundary (the one input a checkpointed layer keeps until backward); SCO (selective checkpoint offload to a host budget); OffloadStreamAdamW (the GPU runs the offloaded AdamW update on streamed buckets); MoP (the authors' Mixture-of-Parallelisms layout the four sit in).

Each live set gets its own operator; each measured peak or step time falls
Four operators, each switchable alone (§2, Table 1). Grey is the paper's baseline, the highlight its operator, each pair on its own scale and printed to the paper's precision: dispatch peak 52.988 to 22.855 GiB against LLEP (Table 6); vocabulary projection 79.521 to 10.622 GiB against full logits (Table 2); whole-step peak 139.790 to 123.728 GiB with every boundary offloaded (Table 3); optimizer step 3.95 to 1.93 s against ZeRO-Offload's CPU Adam (Table 4). Below, the composed stack against the tuned FSDP2 baseline: longest trainable context 128K, 32K and 64K against 1M at all three scales (Figure 7), a result for the whole MoP stack, with no ablation of which operator buys what.
This row, corrected (where the old summary came from, and three corrections)

The row's earlier summary was written from a newsletter abstract (TLDR AI, 23 September 2026), not from the paper, and said so: no numbers, baselines, scales or ablations, nothing to quote as measured. This page is written from the full paper, titled on arXiv "Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training". Its claim holds (four bottlenecks bounded by scheduling, not approximation), with three corrections: everything is measured on H200 nodes with 2 TB of host memory, 16 to 64 GPUs end to end, not on "a fixed pair of consumer cards" (Table 5, §7); two of the four operators are offload, scheduled (it excludes quantisation and approximate routing, not offload, §1); and it builds on ZeRO-3 and on Megatron's vocabulary sharding rather than sitting beside them (§3.5).

Problem

§1 Introduction

A training step dies when any one component's peak memory exceeds the device, so a plan that lowers three peaks and leaves the fourth free to grow "buys nothing at the point where the workload grows" (§1).

Mixture-of-experts (MoE) models are now trained at long context or large batch, and when adding GPUs is not an option, memory is bought with time. Every standard trade charges it: gradient checkpointing recomputes, state sharding (ZeRO, FSDP) communicates, and optimizer offload serialises the update on the host CPU (§1; the trades themselves are on Distributed training). Peak memory is a maximum over live sets, the groups of tensors that must be resident at the same moment, and the paper picks four that the parallelism plans in common use leave unbounded:

  1. Expert dispatch, which grows with the routing matrix the router draws: how many token copies land on one GPU.
  2. The vocabulary projection, which grows with tokens times vocabulary: the logits.
  3. Gradient-checkpoint boundaries, which grow with depth times sequence length.
  4. Optimizer state (AdamW), which grows with parameter count.

They grow at different rates, so which runs out first depends on the configuration: logits at large vocabulary and long context, dispatch at high routing imbalance, boundaries at depth, optimizer state at large parameter count on few devices (§1). Lowering the largest only exposes the next, so the paper bounds all four, each switchable on its own.

The constraint it sets itself: change only the order and granularity of computation and data movement. No low-rank adapters, no quantised state, no approximate routing or attention, so the model, parameterisation, optimizer, precision and loss stay those of standard full-parameter BF16 training, and the memory and throughput numbers are comparable with it (§1).

The four live sets

§2 Four Scaling Axes, Table 1

Notation (§2): Θ trainable parameters, W devices, N tokens resident per rank, H hidden width, V vocabulary, b bytes per activation value. AdamW ordinarily needs 16Θ bytes (working weights, gradients, fp32 master weights and two moments, as in ZeRO; the breakdown is on Performance math). ZeRO-3 shards that persistent state, sequence parallelism cuts attention activations and expert parallelism partitions expert weights, but none bounds the four live sets of Table 1, whose heights follow the workload rather than the sharding degrees:

Live setUnbounded size, and what sets itStreamed alongBounded working setOperator
Expert dispatch2RdHb: the realised routing matrixtoken chunks2EpqHb, q = kceffPipelinedLLEP
Vocabulary projectionO(NVb) logits: tokens × vocabularyvocabulary blocksO(NVb/P)Ring-DTP
Checkpoint boundariesΣℓ∈S NℓHb in HBM: depth × lengthdecoder depth≤ 2NmaxHb in HBMSCO
Offloaded AdamWserial host update of 12Θ/W bytesparameter bucketsO(β) in HBMOffloadStreamAdamW

Rd routes received by destination d, Ep expert-parallel degree, k experts per token, ceff tokens a source puts in one chunk, P the vocabulary group size, S the offloaded layer set, Nmax the per-rank token ceiling, β the optimizer bucket size. The fourth row is different in kind: offload already removes optimizer state from the GPU, and what stays unbounded is the time of the serial host update.

Each operator must return the forward values and gradients of what it replaces, change only the order of computation, and keep its bound through checkpoint recomputation, since a checkpointed step peaks inside backward (§2); that rules out keeping anything sized by the routing matrix.

Which peak runs out first?

Each tower is the same GPU at two moments of one step, its live sets stacked to scale against the H200's 141 GB (the dashed ring). The steps switch on one operator at a time; watch the next slab become the problem, which is the paper's argument for building all four.

  1. Two moments of one step. On the left the GPU inside an MoE layer, on the right at the vocabulary head. Model state (purple) and the checkpoint boundaries (green) are resident at both; dispatch buffers (blue) exist only inside the MoE layer and the logits (orange) only at the head, so the two never stack. The step's peak is the taller tower: at the defaults 397 GB at the head against 255 GB in the MoE layer, 2.8 times the 141 GB.
  2. Ring-DTP caps the logits. Three N × V FP32 tensors (157 GB) become about four strips of N × V/P (26 GB at P = 8). The head tower falls to 266 GB, next to the MoE layer's 255 GB: lowering the largest set exposes the next.
  3. Offload, made fast, caps model state. The fp32 master weights and two moments, 12 bytes per parameter, go to pinned host memory (the dots), leaving 4Θ/W of BF16 weights and gradients plus 4.23 GiB of staging: 167 GB becomes 46 GB. OffloadStreamAdamW is what makes that offload cheap in time. The head now needs 146 GB, still over.
  4. SCO caps the boundaries. Every boundary goes to host memory in forward and comes back one layer ahead in backward, so at most two are on the device: 73 GB becomes 1.9 GB. Both moments now fit: 74 GB at the head, 63 GB in the MoE layer.
  5. PipelinedLLEP caps dispatch. At the balanced share the buffers fall from 15 GB to one chunk's 1.5 GB (c = 6,554 tokens per source). The saving looks small here because this model assumes balanced routing; under skew, standard expert parallelism piles far more onto the hot experts' owners (it ran out of memory on every skewed profile of Table 6), and the chunked bound holds whatever the router does.
  6. Every term known before launch. With all four on, each slab is a term of Eq. 6, fixed by the model and the launch configuration, so whether a run fits can be checked before it starts: 74 GB here against 397 GB with none (the faint outline). Two operators moved bytes to the host (the stack on the right, 198 GB): the host memory and link bandwidth that §7 names as the cost.

Illustrative. The paper gives only Table 1's formulas; the constants are those its measurements show. Rough peak = state + boundaries + the larger of dispatch and logits, the two towers; attention activations and buffers are left out. The end-to-end runs split one sequence over D = 2 to 16 ranks (Appendix A); a 1M-token sequence over D = 16 is 65,536 tokens per rank, the default here. A different model or N redraws the stage, and the numbers in the steps follow it. One GPU's ordinary training memory, slab by slab, is Distributed training's Fig. 2.

Expert dispatch: PipelinedLLEP

§3.1, Figures 1 and 2, Appendix B

Under expert parallelism a token routed to an expert travels to the GPU (rank) that owns it, its destination d (expert parallelism in general: Mixture of experts); the routes Rd arriving there size its dispatch buffers and grow with batch size, top-k and routing imbalance (§3.1). The authors' earlier LLEP (Least-Loaded Expert Parallelism, arXiv 2601.17111) removes the third: it moves a popular expert's overflow, and that expert's weights, onto ranks that would otherwise sit idle, without changing any token's expert choice. But LLEP still materialises the rank's whole routed batch in one all-to-all tensor.

PipelinedLLEP cuts the batch into chunks with a per-source token budget c: each sending rank puts at most c of its own tokens into any one chunk (Eq. 1):

K = min(⌈N/c⌉, Kmax),   ceff = ⌈N/K⌉,   Rd(i) ≤ Ep k ceff

Each of the Ep senders puts at most ceff tokens in chunk i, each token makes k routes, so no destination can receive more than Epkceff routes in a chunk, whatever the router does, and no token is dropped to make it hold. The buffers then take at most 2EpkcHb bytes; past N = cKmax the chunk count stops at Kmax and each buffer is capped at 1/Kmax of the batch. Either way the limit is known before launch, and deriving K from c absorbs micro-batches of varying length without running out of memory.

Step through it at the paper's 65K shape (Table 5) on one of its synthetic routing profiles (B.2), with LLEP's released plan at capacity factor 1.0, the setting that reproduces Table 8. Bars in the grid are the routes each sender sends each destination in the current chunk; the towers behind it are what each destination holds now. The all-to-all itself is drawn on Mixture of experts' Fig. 9.

  1. One MoE layer on eight ranks. Rows are the eight sending ranks, columns the eight destinations. Each rank holds 65,536 tokens routed top-8, so 524,288 routes, placed by LLEP's released plan (capacity factor 1.0). The floor tiles show where the whole layer's routes go: LLEP has spread the hot experts' overflow so that every destination receives the same 524,288. Each rank will put at most c = 6,554 of its tokens in a chunk, so K = 10 chunks.
  2. Chunk 1. Each rank sends 6,554 of its tokens. Strided chunks take positions i, i + 10, i + 20, ..., so every chunk is a tenth of the whole layer's send pattern: no destination receives more than 52,462 routes (on 50% / 4, the default profile), and each sender's largest send to one destination is 2.29 times its mean, as in the whole batch. Contiguous chunks take consecutive positions, which under LLEP's plan share a destination, so a chunk covering the relocated tail of a popular expert sends almost everything to one helper rank: the bars pile into a few cells.
  3. Chunks 2 to 5. The previous chunk's buffers are freed before the next allocates its own; the ring on each tower marks the highest it has reached. Strided, the same even picture repeats. Contiguous, the pile moves from destination to destination as the chunks walk through the token lists, and the imbalance LLEP removed comes back chunk by chunk: on 50% / 4, chunk 5 sends 71,792 routes to one destination and one sender sends 6.00 times its mean to one destination, Table 8's number.
  4. Chunks 6 to 10. Every route is delivered, none dropped, the same routes to the same destinations either way. The peak is set by the worst chunk: strided chunks never held more than 12.5% of the guarantee at once, on every profile; contiguous ones reached 17.1% on 50% / 4, and 42% on 30% / 16, the profile Table 8 leaves out.
  5. LLEP: the whole batch at once. The scale shrinks tenfold. LLEP's single all-to-all holds all 524,288 routes per destination at the same moment, ten times what strided chunks ever put there. The glass plane is Eq. 1's guarantee for one chunk, Epkceff = 419,456 routes: at this shape it is 80% of the whole batch, so the saving comes from chunks realising close to the even share, not from the bound.

Why overlap alone is not enough. The chunks run through a dispatch, expert-matmul, combine pipeline, as in FasterMoE or Tutel, which pick the chunk count for speed; this paper picks it to cap memory (§3.1). To make the cap hold in training each chunk is checkpointed, so the price is that the expert matmul runs three times per update instead of twice; route payload is unchanged.

Why each chunk needs its own checkpoint (Appendix B.1)

A loop that calls the expert layer per chunk keeps every chunk's autograd graph alive until backward, so the peak would not fall in training. So each chunk's expert matmul is wrapped in a reentrant checkpoint nested inside the decoder layer's non-reentrant one, which lets the outer checkpoint drop the inner tensors (B.1).

Exactness. Only the expert-weight gradient changes summation order (it is the one sum split across chunks); at K = 1 it is bitwise identical to LLEP's (Eq. 7).

LLEP decides which rank serves a route from the token's position in the expert's global token list. Cut a rank's 65,536 tokens into 10 chunks of consecutive positions, or into 10 strided chunks (positions i, i+10, i+20, ...). Same tokens, same destinations. What changes?

Results (one node of eight H200s, identical input for every system, Figure 2, Table 6). At 65,536 tokens per rank, H = 7,168, 128 experts, top-8 and K = 10, PipelinedLLEP's peak is 56.9 to 59.3% below LLEP's (about 53 GiB down to 21.4 to 22.9) at 1.01 to 1.10 times its forward speed, unchanged with backward included (Table 9); standard expert parallelism runs out of memory on every skewed profile (95/16 sends 95% of tokens to the 16 hottest experts). On a smaller shape (32,768 tokens, top-4, K = 3) the saving is 24.6 to 26.9%. Standard EP is fastest only when there is no skew to correct.

Choosing the chunk budget c (Figure 8, Table 7)

Choosing c. Peak falls with the chunk count at a decaying rate and latency does not follow it, so c is picked from a measured curve (Figure 8); deriving K from the budget matters for short micro-batches, where a fixed K = 10 runs at under half LLEP's speed (Table 7). Details, and the bimodal latency behind "fastest of three", are in the tables tab.

Vocabulary projection: Ring-DTP

§3.2, Figure 3, Appendix C
To compute one token's exact cross-entropy over a 200,000-word vocabulary, visiting the vocabulary one block at a time, how many numbers per token must you carry between blocks?

Fused cross-entropy kernels (Cut Cross-Entropy, Liger) already do this on one device; here both the batch and the projection weight are sharded across ranks (§3.2). Rank r holds its own batch Xr (N × H) and owns the vocabulary slice Wr of V/P columns. Megatron's vocabulary-parallel loss uses the same weight split but needs every rank to hold the same batch, which shrinks the effective batch and hurts long context. Ring-DTP (ring data-tensor-parallel) keeps a data-parallel layout, distinct batches per rank, and runs P ring rounds in which every batch meets every shard exactly once. Each meeting forms only the strip Yj,r = XjWr (N × V/P), folds it into the per-token state Sj = (mj, zj, ytj), and frees it, so logit memory is O(NVb/P) (Eq. 2). Exactly one shard contains each target, so exactly one meeting supplies yt. Backward replays the same rounds from the saved normaliser and forms the softmax residual one strip at a time, so neither pass stores a full logit or logit-gradient tensor (Appendix C).

Which tensor travels. Either the activations or the weight shard can move. A hop costs O(NH) bytes if activations move and O(HV/P) if weights move, so Ring-DTP moves weights exactly when N > V/P. Moving weights keeps each batch and its state at home, so forward needs no return hop (Figure 9). The cost is P − 1 sequential hops per pass, so the paper takes the smallest P whose strip fits.

Step through it on real numbers (seeded random weights and activations): four ranks (P = 4) on a ring, each with its own batch of 2 tokens (Xj, hidden width 3, the blue bars) and one quarter of a 12-word vocabulary (Wr, 3 columns, the glass plate). The orange bars are the logit strip a rank forms this round, negative values hanging below; the green blocks are each token's running state (m, z, yt), whose values are in the table under the steps.

  1. Round 1: every rank meets its own shard. Rank r forms XrWr, a 2 × 3 strip of logits, folds it into the running state of its two tokens (Eq. 3) and frees it. If a token's target word is in this shard, its logit yt is recorded.
  2. Round 2: the weight shards hop. Each rank sends its shard (H × V/P, 3 × 3 numbers) to the next rank and receives the previous one, so rank r now holds W(r − 1) mod 4. It forms the new strip, folds it in and frees it. The batches never move.
  3. Round 3. Another hop, another strip per rank: rank r meets W(r − 2) mod 4.
  4. Round 4. The last hop: every batch has now met every shard exactly once, and exactly one of those meetings supplied each token's yt.
  5. Done: exact losses, at home. Each token's loss is m + log z − yt, equal to the dense log-softmax to floating-point precision, and no rank ever held more than one 2 × 3 strip. Forward needs no return hop, since the states never left.

Results (Table 2, P = 8, H = 7,168, V = 200,000, FP32, forward plus backward, one measured pass each): at N = 16,384 per GPU (activations move) the peak falls from 42.462 to 7.322 GiB, 82.8%, for 5.1% more time; at N = 32,768 (weights move) from 79.521 to 10.622 GiB, 86.6%, for 4.4%. Doubling N nearly doubles the standard peak but moves Ring-DTP's only from 7.3 to 10.6 GiB, so the saving widens with context, which is what keeps the vocabulary head on the device at 1M tokens. The standard reference's extra memory is exactly three N × V FP32 tensors (logits, log-softmax and their gradient: 3 × 12.207 = 36.621 GiB against the measured 36.6212, Table 10), and the shards are exactly 1/4 and 1/8 of the 5.3406 GiB weight; see the checks.

Checkpoint boundaries: SCO

§3.3, Figure 4, Appendix D

Gradient checkpointing throws a layer's internals away after forward and recomputes them in backward (the trade in general: Distributed training), but one tensor per checkpointed layer survives: its input hℓ (Nℓ × H), held from forward until that layer is recomputed. That is the checkpoint boundary, and with many layers and long sequences the boundaries add up (§3.3). SCO (selective checkpoint offload) walks the layers in forward order and copies each boundary that still fits a pinned host-memory budget to the CPU, asynchronously, then frees the device copy; layers that do not fit keep theirs. In backward, while layer ℓ recomputes from hℓ, the next boundary hℓ−1 comes back on a separate stream, so at most two restored boundaries are on the device at once (Eq. 4):

MHBMSCO ≤ 2NmaxHb,    Mhost ≤ |S| NmaxHb

Step through it on gpt-oss-20b as in Table 3: 47 checkpoint boundaries of 0.3735 GiB each per GPU (557,056 tokens / 8 ranks × hidden 2,880 × 2 bytes); the top row is device memory, the bottom pinned host memory. The counters show boundary memory only; the measured peak, which includes everything else, is beside them.

  1. Forward: offload while the budget lasts. Forward reaches each layer in turn, and its input, the boundary, would stay on the GPU until backward. SCO copies each one that still fits the host budget to pinned host memory on a copy stream and frees the device copy; once the budget is full (21 boundaries at 8 GiB, 42 at 16 GiB) the rest stay on the device.
  2. Backward through the boundaries kept on the device. Backward visits the layers in reverse, recomputing each from its boundary and then freeing it. The last layers' boundaries were never offloaded (unless the budget is unlimited), so they are used and freed in place.
  3. Backward through the offloaded ones. While one layer recomputes, the next boundary is copied back on a separate stream, one layer ahead, so at most two restored boundaries are on the device at once (Eq. 4). With checkpointing only there is nothing to restore: every boundary was on the device all along.
  4. Step done. The pinned host memory is released at the end of the step. The measured peak HBM (Table 3) is 139.790 GiB with checkpointing only, 133.546 at 8 GiB, 125.677 at 16 GiB and 123.728 with every boundary offloaded, at about the same throughput.

The host cap is a correctness condition: a rank failing an allocation while the others enter a collective would deadlock the job, so the cap is set at or above |S|NmaxHb and is per micro-batch (Appendix D).

On gpt-oss-20b (8 H200s, 47 boundaries), an 8 GiB host budget takes 21 boundaries, about 7.8 GiB per GPU, off the device. How much does the measured peak HBM fall?

Results (Table 3, Tables 12 and 13; 24 layers exposing 47 boundaries, sequence and expert parallelism of degree 8, 556,432 tokens per step at a ceiling of 557,056, ten steps with two warm-up): offloading everything lowers the peak from 139.790 to 123.728 GiB, and the largest batch that completes all ten steps rises from 557,056 to 655,360 tokens, 17.65%. Two numbers in the text do not match the tables; see How much to believe.

Optimizer: OffloadStreamAdamW

§3.4, Figure 5, Appendix E

Offloading AdamW's fp32 master weights and moments to CPU memory (ZeRO-Offload, ZeRO-Infinity) frees 12 bytes per parameter on the GPU, but the CPU update is slow, and while it runs the GPU is idle and, having released its activations, nearly empty (§3.4). OffloadStreamAdamW uses that idle GPU as the update engine: each rank's state is cut into buckets of at most β parameters that rotate through s staging slots and three streams: copy master weights, moments and final gradients to the GPU; run a fused AdamW update and refresh the BF16 working weights; write the updated fp32 state back (Eq. 5):

Tstream = G · max(TH2D, Tupdate, TD2H) + O(TH2D + Tupdate + TD2H),   Mstage = O(sβ)

For G buckets the step costs about one bucket's slowest stage per bucket, plus one pipeline fill. The floor for any offloaded optimizer is the host-link round trip of 12Θ/W bytes (116 GiB per rank at Θ = 1012, W = 96, Figure 5), so the design hides the update and the write-back behind that transfer.

Step through it: one optimizer step on one GPU's share of gpt-oss-20b (about 2.6B parameters, 26 buckets of up to 142M, Table 14) on one time axis, with s staging slots limiting how many buckets are in flight; CPU Adam is the measured 3.95 s serial pass on the host.

  1. The first bucket uploads. Bucket 1's fp32 master weights, two moments and final gradient, 16 bytes per parameter, cross the host link into a staging slot on the GPU; nothing else can start yet.
  2. The pipeline fills. Bucket 1 is updated by the fused AdamW kernel and written back (12 bytes per parameter) while bucket 2 uploads. With two or three slots the next upload never waits; with one slot, bucket g + 1 cannot upload until bucket g has been written back, so upload, update and write-back take turns.
  3. Steady state: the link is the limit. With two slots the upload stream is never idle, so the step costs about one bucket's slowest stage per bucket, the transfer floor of Eq. 5; a third slot buys almost nothing, as Table 14 measured (1.930 against 1.951 s). With one slot the link is busy only about half the time.
  4. Drain and done. The last update and write-back finish the step: two slots at the measured 1.93 s by construction, three the same up to the fill, one slot about twice as long (one slot was not measured). The overlap, not the GPU, is what buys the speed.

Illustrative timing. Bucket times are not printed. Upload and write-back times are set in proportion to bytes (16 : 12), the update to a quarter of the upload, and scaled so that two slots take the measured 1.93 s under Eq. 5; one and three slots then follow from the same times. The CPU bar is the measured 3.95 s.

Results (Table 4, gpt-oss-20b on 8 H200s, the same fp32 state in host memory on both sides): the step takes 1.93 s against 3.95 s for ZeRO-Offload's AVX CPU Adam, 2.05 times faster, with 4.234 GiB of staging per GPU. A 100M-parameter bucket with two slots wins; a third slot is within 1.1% and adds a bucket's worth of staging, which the paper reads as the pipeline being transfer-bound (Table 14). The staging column recomputes exactly as slots × largest bucket × 16 bytes (fp32 master, two moments, gradient) in every row. Exactness has one condition: a bucket can only start once its gradient is final and any cross-bucket transform is known, so global gradient clipping must wait for the global norm; per-bucket or predictive clipping would change the update rule and sits outside the exactness claim (Appendix E).

Composition and the per-rank budget

§3.5, Eq. 6

The four operators bound disjoint live sets (dispatch temporaries inside MoE layers, logit strips at the head, boundaries spanning layers, optimizer state at update time), none needs another, and each can be enabled alone (§3.5). For the full system they sit inside the authors' Mixture-of-Parallelisms (MoP) layout (arXiv 2607.01844): ZeRO-3 for dense weights, a sequence-to-head all-to-all for attention (Ulysses-style), and expert-parallel placement for experts. The same W ranks form overlapping sub-groups of sizes D (sequence), Ep (experts) and P (vocabulary), chosen independently rather than as factors of W = d · t · p. The per-rank budget is then (Eq. 6):

Mpeak = 4Θ/W + O(sβ) + O(NHb) + O(EpqHb) + O(NVb/P) + O(NHb)

Weights and gradients, optimizer staging, attention, dispatch, logit strips, boundaries. Every term is fixed by the model and launch configuration once N ≤ Nmax, so feasibility can be checked before launch. Two savings meet in the first terms: host offload takes persistent state from 16Θ/W to 4Θ/W (ZeRO-Offload's contribution), and OffloadStreamAdamW reduces the time that offload costs.

Results end to end

§4, Figures 6 and 7, Appendix A

All four together inside MoP train three MoE models of 120B, 241B and 667B parameters on 16, 32 and 64 H200s, from scratch (§4, Appendix A). The models share one architecture and differ only in depth (7, 14 and 39 layers): hidden width 7,168, dense FFN width 18,432, 384 routed experts of width 2,048, top-8, vocabulary 200,000, the widths of Kimi K2 (which has 61 layers). Routing is dropless, balanced by DeepSeek-V3's auxiliary-loss-free bias, with Ep = W, P = 8 and D from 2 to 16 by context length. The baseline, FSDP2-best, is the highest-throughput fit from a sweep of FSDP2 with tensor, context and expert parallelism and optimizer CPU offload on a TorchTitan-based stack, at the same model and GPU count.

FSDP2-best runs out of memory past 128K, 32K and 64K tokens at the three scales; the stack trains at 1M at all three, 8, 32 and 16 times the reach (Figure 7). Where both run, it is 7.6 times faster at 128K on 120B and 10.4 times at 64K on 667B (Figure 6). Its TFLOP/s rises with context as attention work per token grows, from 91 to 110 at 128K to 213 to 233 at 1M (9 to 11% and 21.5 to 23.6% of the H200's 989.5 dense BF16 TFLOP/s, derived), while FSDP2-best stays below 40. The largest global batch is 1.5M, 1.8M and 3M tokens, 12, 7 and 3 times the baseline's. For quality, fine-tuning gpt-oss-20b on Nemotron-Math at 128K gives 59.8% Avg@8 on AIME 2025 on the stack against 59.6% on FSDP2 with the same recipe (45.2% before fine-tuning, Appendix A).

Try: pick a model. Every number drawn is printed on the paper's figures; the baseline's own values are not printed, so its curve is shown only as where it runs out of memory.

Rebuilt from the printed labels of Figures 6 and 7 (transcribed from the e-print's PNGs; no point is read off a curve). The stack was run only at 128K and 1M. Full list in the tables tab.

Limits and related work

§5 Related Work, §7 Limitations
Related work (§5): who else chunks dispatch, fuses cross-entropy or offloads

Related work (§5). FasterMoE, Lina, PipeMoE and ScheMoE also chunk dispatch, but size the chunks for bandwidth, so buffers still follow the realised load; placement methods (FlexMoE, SmartMoE, LLEP) move skew around and compose with the budget. Cut Cross-Entropy and Liger assume one device, Megatron's vocabulary-parallel loss a replicated batch, Ring Attention a ring where only one operand can move. DeepSpeed and PyTorch offload whole checkpoint regions where SCO offloads a budgeted subset; 8-bit optimizers and Adam-mini shrink optimizer state by changing numerics, which this paper excludes.

Limits the authors state (§7): all-to-all and ring traffic assume a fast interconnect, and the cheap extra chunks measured on intra-node NVLink may not be cheap on a slower fabric; a smaller budget tightens the bound but raises the chunk count by the same factor, and forward time is flat only over part of that range, so c comes from a measured curve; checkpoint and optimizer streaming spend host memory and link bandwidth, which binds on nodes with less than the 2 TB used here; topology sensitivity and automatic choice of (D, Ep, P, c, β) remain open.

How much of this to believe

Appendix A, Tables 2 to 14

What holds up. The operators only reorder work, so they are exact by construction up to floating-point summation order. And the component memory numbers are unusually checkable, because they follow from the configuration (all checks):

  • SCO's boundary counts (21 and 42 of 47) and payloads come out of 557,056 / 8 × 2,880 × 2 bytes alone.
  • All eight staging sizes of Table 14 are slots × largest bucket × 16 bytes.
  • The projection baseline is exactly three N × V FP32 tensors, and the shards exactly 1/P of the weight (Table 10).
  • Our replay of the paper's routing profiles through LLEP's released plan reproduces all eight send ratios of Table 8.
  • Dispatch peaks repeat to the milli-GiB over three runs, and every component comparison runs on identical input in the same execution (Appendix A). The authors state their limits plainly, which counts in their favour.

What is weaker:

  • The vocabulary baseline is the naive one. Ring-DTP's 82.8% and 86.6% are against a projection that materialises full logits (Table 2), not against Cut Cross-Entropy or Liger, which already avoid them on one device (CCE: Gemma 2 2B's loss memory from 24 GB to 1 MB, its abstract), nor Megatron's vocabulary-parallel loss. Ring-DTP's own addition, sharding the weight while each rank keeps its batch, is argued rather than measured against them. The benchmark is FP32; training is BF16.
  • Dispatch is measured against the authors' own LLEP on synthetic routing (B.2), with the 65K latencies the fastest of three repeats. "Without losing throughput" fails at the 32K shape with K = 10 (0.87 to 0.90 times LLEP, Table 9). The guarantee 2EpkcHb grows with Ep: at the end-to-end scale (Ep = 64, c = 4,096) it is 56 GiB, so the saving comes from strided chunks realising the even share, not from the bound. Our replay shows contiguous chunks reaching 42% of the bound on the 30/16 profile, which Table 8 leaves out.
  • SCO's text and tables disagree. §3.3 claims "17.65% of HBM consumption" saved; the peak falls 11.5% (139.790 to 123.728 GiB), and 17.65% is Table 13's batch gain. Its "35.71%" for "the largest batch that runs without an out-of-memory error" compares runs without allocator warnings. The baseline was run above its largest clean batch, which probably explains why throughput rises slightly with offload.
  • The end-to-end numbers are mostly MoP's, and thin. The MoP paper already reports 4.7 to 8.2 times FSDP2's throughput and 1M-token context; no ablation removes one operator from the stack. One run per point, the stack run only at 128K and 1M, so the 667B "10.4 times at 64K" divides its 128K throughput by the baseline's 64K, and 241B shares no length at all. The baseline is weak: under 40 TFLOP/s, about 4% of the H200's dense BF16 peak.
  • Two printed multiples contradict the text. Figure 6's "1.8x" (120B, 91 TFLOP/s) and "2.2x" (667B, 107) imply baselines of 50.6 and 48.6 TFLOP/s, above §4's "below 40 anywhere in its sweep".
  • The quality check is one fine-tuning run each, on gpt-oss-20b, not the 120B to 667B models (those report throughput only). On AIME 2025's 30 problems × 8 samples, one sample is 0.42 points, so 59.8% against 59.6% is under half an answer; and 59.8% and 45.2% are not whole numbers of 240, so Avg@8 was counted some way the paper does not state.

Verdict. Believe the four mechanisms and the component memory numbers: exact by construction, and where the configuration fixes them they recompute to the printed digit. Read the speeds as single, favourable runs against the authors' own LLEP and a naive projection. Treat "1M context, 8 to 32 times the reach, up to 10.4 times the throughput" as a result for the whole MoP stack against a weak baseline, with no measure of which operator buys what.

What it takes to use this

Nothing of this paper is released (LLEP, the dispatch operator's base, is), and everything was measured on 8-GPU H200 nodes with 2 TB of host memory, which SCO and the offload spend. It pays at long context and large vocabularies, under skewed routing, and for large models on few GPUs; it buys little with balanced routing, small micro-batches or a single device, and slow interconnects are untested. Each operator can be enabled alone.

Code, hardware, what was tested, when it pays and the pieces usable today
  • Code: none released for PipelinedLLEP, Ring-DTP, SCO, OffloadStreamAdamW or MoP (paper and GitHub checked 3 October 2026). LLEP, the base of the dispatch operator, is public (SalesforceAIResearch/LeastLoadedEP, Apache-2.0).
  • Hardware: measured only on 8-GPU H200 nodes with NVLink inside the node and 2 TB of host memory; SCO and the optimizer offload consume host memory (node RAM rose 191 GiB with full SCO on gpt-oss-20b) and host-link bandwidth (§7).
  • What was tested: components on gpt-oss-20b and synthetic MoE shapes; the composed stack on 120B to 667B pre-training throughput at 16 to 64 GPUs; fine-tuning quality on gpt-oss-20b only.
  • When it pays: long context or large vocabularies (logits and boundaries grow with tokens), skewed routing (dispatch), and large models on few GPUs (optimizer offload made fast). Each operator can be enabled alone, so a run pays only for its own peaks.
  • When it buys little: balanced routing, where standard expert parallelism is fastest (Table 6); small micro-batches, where below about 8,192 tokens per rank the dispatch buffers are small next to the expert weights (9 to 17% saving, Table 7); a single device, where a fused cross-entropy kernel already removes the logits; slow interconnects, untested.
  • Pieces you can use today: fused cross-entropy (Liger, Cut Cross-Entropy) for the logits on one device, PyTorch and DeepSpeed CPU checkpoint offload (whole regions rather than a budget), and ZeRO-Offload for the optimizer.

Why it matters (beyond the paper)

The useful idea is the framing more than any single operator: peak memory is a maximum over live sets, each live set has its own growth law, and a bounded schedule turns each into a term fixed at launch, so a configuration's feasibility can be checked before it runs (Eq. 6).

Why bounded terms matter now: long-context stages and large vocabularies

That matters because long-context training is now a normal stage: DeepSeek-V3, for example, added two training phases to grow its context from 4K to 32K and then 128K, cutting the batch from 1,920 to 480 sequences for the second (DeepSeek-V3 §4.3), the batch-for-context trade this paper's Figure 7 is about. The vocabulary term keeps growing too: the paper's models use 200,000 tokens, and gpt-oss-20b's configuration has 201,088 (config).

Connections

  • ZeRO: the 16 bytes per parameter, sharded; the composed stack uses ZeRO-3 for dense weights and speeds up ZeRO-Offload's optimizer step. Where ZeRO partitions state, this paper schedules when transient tensors exist.
  • Megatron-LM: vocabulary-parallel cross-entropy with a replicated batch, the layout Ring-DTP relaxes.
  • Switch Transformers and Mixtral of Experts: expert-parallel MoE layers and their routing; Switch caps expert load by dropping overflow tokens, PipelinedLLEP caps buffers and drops none.
  • DeepSeek-V3: the auxiliary-loss-free balancing used in the end-to-end runs and the fine-grained top-8 MoE shape.
  • FlashAttention: the online softmax behind Ring-DTP's three-scalar fold.
  • PagedAttention: memory won by managing where and when tensors live, at serving time.
  • QLoRA: the approximate route (quantised weights and optimizer state) this paper rules out.
  • Topics: Topic: llm-training-and-post-training (where this row is integrated) and Topic: ml-infra-and-orchestration.