In one line: ZeRO shards optimizer states, gradients and parameters across data-parallel ranks; by the paper's analysis mixed-precision Adam's 16 bytes/param falls to 16 Psi/N_d at stage 3 for at most 1.5x DP communication, but only stages 1 and 2 (plus ZeRO-R) were built and run, training models up to 170B parameters with Megatron model parallelism; it shipped in DeepSpeed and became the model for FSDP.
How far to trust it: Believe the memory accounting and the communication argument: they are exact arithmetic that reproduces table for table and became the industry standard. Treat the speed-ups as single, unrepeated runs against a 2019 baseline, and the trillion-parameter claim as analysis: stage 3 was not built in this paper. The evidence, judged.
The idea in one sentence: data parallelism keeps a full copy of the weights, gradients and optimiser states on every GPU; ZeRO gives each of the Nd GPUs only its 1/Nd share and moves each piece to where it is needed just in time, so memory per GPU falls with the GPU count while communication stays at data parallelism's 2Ψ per step (3Ψ, 1.5 times, once the weights are partitioned too).
You need: data parallelism, all-reduce and why it is a reduce-scatter plus an all-gather (Distributed training, sections 2 and 3). New terms: model states (parameters, gradients, optimiser states) against residual states (activations, buffers, fragmentation); Ψ (the parameter count); Nd (the data-parallel degree); Pos, Pos+g, Pos+g+p (the paper's names for ZeRO stages 1, 2 and 3).
The 7.5B model of Figure 1 on Nd = 4 GPUs, model states only, to scale: 16 bytes per parameter, 2 for fp16 parameters, 2 for fp16 gradients, 12 for the fp32 optimiser states (§3.1). Filled: what the GPU keeps; outlined: what it holds only briefly or not at all. Volumes per GPU per step, in elements, as §7 counts them. The two intermediate stages, which partition only the optimiser states (ZeRO-1) or those plus the gradients (ZeRO-2), are in Figure 1 below.
In 2019 the two ways to scale training both hit walls. Data parallelism (DP) gives every GPU a different slice of the mini-batch and averages the gradients, but it replicates the full model state on every GPU, so it does not reduce memory per device at all: plain DP (PyTorch's DistributedDataParallel, DDP) runs out of memory beyond about 1.4B parameters on 32 GB V100s, however many GPUs you add (§1). Model parallelism (MP), the Megatron-LM style of tensor parallelism that trained the 8.3B Megatron and (as Mesh-TensorFlow) the 11B T5, partitions memory by slicing every layer across GPUs; that makes the computation fine-grained and needs heavy communication inside each layer, so it works within one node but collapses beyond it. The authors ran a 40B model with Megatron-LM across two DGX-2 nodes and measured about 5 TFLOPS per V100, under 5% of peak (§1; 5 / 125 = 4% of the V100's 125 TFLOPS fp16 tensor peak from the NVIDIA V100 whitepaper, the paper's reference 24). The cause is the link: crossing nodes drops the bandwidth from 300 GB/s per link (NVSwitch) to 12.5 GB/s (InfiniBand EDR), 24 times less (§10.2).
The alternatives each pay somewhere else (§2): pipeline parallelism needs a large batch to hide its bubble (GPipe; the bubble is drawn on Distributed training, section 6) or keeps stale weight copies (PipeDream), and makes tied weights and batch normalisation awkward (§2.1); offloading model states to CPU can spend up to 50% of training time on transfers (§2.2.2); memory-efficient optimisers such as Adafactor may change convergence (§2.2.3), whereas ZeRO changes neither the optimiser nor convergence (§2.3).
The diagnosis: none of these touches the real culprit. Most of the memory is not the fp16 weights; it is the optimiser states and gradients, kept as identical copies on every data-parallel GPU, and kept all the time although each piece is needed only briefly.
The paper first does the accounting. A 1.5B-parameter GPT-2 needs 3 GB for its weights in 16-bit precision, yet it cannot be trained on a single 32 GB GPU in TensorFlow or PyTorch (§3). Training memory has two parts: model states (optimiser states, gradients and parameters) and residual states (activations, temporary buffers and fragmented memory).
Residual states (§3.2) add three more costs:
Two of these figures do not reproduce exactly: the 8 GB after checkpointing, and the paper's two 100B checkpoint sizes, which disagree with each other by a factor of 2. Both are worked through in Every number in the text, checked.
24 GB, 16 bytes for every parameter (§3.1). Mixed-precision training (Micikevicius et al., the paper's reference 23) runs forward and backward in fp16, so it holds fp16 parameters (2Ψ bytes for Ψ parameters) and fp16 gradients (2Ψ); but to apply updates accurately the optimiser keeps an fp32 copy of the parameters plus Adam's fp32 momentum and variance: 4Ψ + 4Ψ + 4Ψ. The paper calls the optimiser's share KΨ, with K = 12 for mixed-precision Adam, so the total is 2Ψ + 2Ψ + KΨ = 16Ψ bytes. The optimiser states alone are three quarters of it. (The same accounting for any run, with activations counted tensor by tensor, is Performance math's.)
Try: pick a model; the bar is drawn to scale, one colour per kind of state.
GB here is 109 bytes, the paper's unit (16 × 7.5 × 109 = 120 GB). K = 12 is the paper's case (mixed-precision Adam); move it to see how much of the total is the optimiser's.
Three observations drive the design (§4.1): (a) DP scales better than MP because it keeps large, efficient matrix multiplies and communicates less; (b) DP wastes memory because every process stores identical model states, while MP partitions them; (c) both keep every state for the whole step, although a layer's parameters, for example, are only needed during that layer's forward and backward. So ZeRO-DP keeps DP's execution model (each GPU runs whole layers on its own data) but partitions the model states across the Nd data-parallel processes instead of replicating them, and uses a dynamic communication schedule to bring each piece to where it is needed, when it is needed (§4.1). It comes in three cumulative stages:
| Stage | Partitions | Per-GPU model states (bytes) | Limit as Nd grows | Communication per step |
|---|---|---|---|---|
| Baseline DP | nothing | (2 + 2 + K)Ψ = 16Ψ | 16Ψ | 2Ψ (all-reduce) |
| ZeRO-1, Pos | optimiser states | 2Ψ + 2Ψ + KΨ/Nd | 4Ψ (4× less) | 2Ψ, the same |
| ZeRO-2, Pos+g | + gradients | 2Ψ + (2 + K)Ψ/Nd | 2Ψ (8× less) | 2Ψ, the same |
| ZeRO-3, Pos+g+p | + parameters | (2 + 2 + K)Ψ/Nd = 16Ψ/Nd | falls linearly with Nd | 3Ψ, 1.5× |
From §1, §5.1 to §5.4 and §7; communication in elements per process. The names "stage 1, 2, 3" are DeepSpeed's for Pos, Pos+g, Pos+g+p (DeepSpeed tutorial).
Figure 1 of the paper, redrawn and live, now in 3D (right): each row is one stage, each tower one GPU's model states stacked to scale, coloured as in the paper: parametersgradientsoptimiser states. The purple glass is a 32 GB V100, the paper's GPU; the cubes at the end of each row count what one GPU sends per step, in units of Ψ, blue for an all-gather of parameters and orange for a reduce-scatter of gradients (§7). The step-through in the next section moves these pieces through one training step.
The same Figure 1 numbers as flat bars, and the same step played under each stage on a stack of layers, are on the topic page that owns sharded data parallelism: Distributed training, Figs. 5 and 6.
Partitioning would be pointless if it multiplied communication. The argument rests on how all-reduce is implemented (§7.1): the standard ring all-reduce (Interconnects and scaling owns its cost model) is a reduce-scatter (each process ends up with the sum of one slice) followed by an all-gather (each process collects every summed slice), and each moves Ψ elements per process, so plain DP already moves 2Ψ per step. ZeRO splits that same all-reduce in two and puts work in between:
1.5 times. DP's all-reduce is already a reduce-scatter plus an all-gather (2Ψ). ZeRO-3 keeps the reduce-scatter (Ψ) and replaces the one all-gather with two, one before forward and one before backward (2Ψ): 3Ψ in all. The volume does not grow with Nd because each GPU still receives each parameter once per pass, whoever owns it. Counted per process, as the paper does:
RS is the reduce-scatter of gradients and AG the all-gather of parameters, Ψ elements each. The paper's counts drop the ring's (N − 1)/N factor: at Nd = 64 an exact ring all-reduce moves 2 × 63/64 = Ψ, which changes no ratio. Watch the transfers happen layer by layer in the step-through below.
Schedule as the paper describes it (§5, §7): partitions are contiguous groups of layers, owner i holding layers 8i/Nd + 1 to 8(i + 1)/Nd; gradients are reduced in buckets of two layers. Volumes are in elements per GPU and leave out the ring's (N − 1)/N factor, as the paper does. Memory counts model states only, for GPU 0, in bytes per parameter (multiply by Ψ); a short-lived gathered bucket counts while it is resident. Real implementations add prefetching and overlap that this one-bucket-at-a-time view leaves out.
One training step, two methods side by side. One training step of an 8-layer model on Nd data-parallel GPUs, run twice on the same input, once under each method of the comparison, drawn to the same scale (right). Each GPU is one row; its strip is its memory for model states, one cell per layer for the fp16 parameters and gradients and for the fp32 optimiser states, widths in proportion to bytes (2 : 2 : 12). A filled cell is resident; an outlined one is not. Coloured bands between rows are the collectives of §7, labelled with the volume each GPU moves; the counters under it keep score against the paper's 2Ψ and 3Ψ.
Watch: in DDP against ZeRO-3, the parameters: under ZeRO-3 each layer's weights appear just before forward uses them and vanish after, then return for backward. Then switch to ZeRO-1 against ZeRO-2 and watch the gradient cells: ZeRO-2 frees every gradient it does not own as soon as it is reduced. The same step under every stage on a 32-layer stack, in 3D, is Distributed training's Fig. 6; this one follows the paper's own schedule bucket by bucket.
At the end of the step, for the paper's Figure 1 example (Ψ = 7.5B, Nd = 64) and for the model and cluster you choose:
Once model states are partitioned, activations, buffers and fragmentation become the next bottleneck (§1). ZeRO-R has three parts:
What Pa costs (§8). A Megatron-LM block with checkpointing does six all-reduces of sequence × hidden per sample (two in forward, two in the recomputation, two in backward), 12 × sequence × hidden of traffic since an all-reduce moves twice its message; Pa adds one all-gather of the block's input, sequence × hidden: 1/12 = %, "less than 10%". In return activation memory falls by the MP degree (up to 16 in a DGX-2), the batch can grow as much, and DP communication per sample falls by an order of magnitude. Pa+cpu pays off only when the DP traffic it saves exceeds its CPU transfers, generally at small batches; ZeRO decides per model.
§6.1 puts the 100B model's checkpoints at about 33 GB per GPU, cut by Pa at MP 16 to about 2 GB; at fp16 the arithmetic gives twice that (checked here).
With ZeRO, MP is no longer needed just to fit a model: ZeRO-DP reduces per-device memory at least as well, and data parallelism needs no model rewrite, while Megatron-LM supports a limited set of operators and models (§1). MP still helps in two cases: with ZeRO-R it shrinks activation memory for very large models, and it keeps the total batch acceptable when DP alone would make it so large that convergence slows (beyond the critical batch size of McCandlish et al., reference 8). Combined, the maximum memory reduction per device is Nd × Nm.
The trillion-parameter arithmetic (§1, §9): 1T parameters × 16 bytes is about 16 TB of model states, and 16 TB / 1024 GPUs = GB per GPU (the paper rounds to 16 GB), within a 32 GB V100; so ZeRO-3 fits 1T on 1024 GPUs with DP alone, or with 16-way MP inside each DGX-2 node and 64-way ZeRO-DP across nodes (Table 1, Table 2; both rebuilt in the tables tab). Fitting is not training, though: BERT-Large can be trained in 67 minutes on a 1024-GPU DGX-2H cluster (NVIDIA, reference 26); 1T parameters is about 3000× BERT-Large's 330M (1T / 330M = ), so even with the same data and sequence length it would take 67 min × 3000 = days, "140 days", and in practice over a year. An exaflop system would be needed (§9). That is why the implementation targets about 100B.
What was built. The paper implements and measures ZeRO-100B: Pos+g (stages 1 and 2) plus all of ZeRO-R, in PyTorch, as a wrapper around any torch.nn.Module, with no model changes, combinable with Megatron-LM's MP (§10.1). Stage 3 is analysed but not implemented here; the paper promised it for later (§1), and DeepSpeed released it as ZeRO-3 Offload on 7 March 2021 (DeepSpeed blog). Hardware: 400 V100 GPUs (25 DGX-2 nodes) with 800 Gbps between nodes. Baselines: PyTorch DDP without MP; Megatron-LM (the open-source version of September 2019) with MP. Models: GPT-2-like transformers, varying hidden size and layers (Table 4, appendix Tables 5 to 10).
Which optimisation buys what (§10.5): five configurations add ZeRO pieces in turn, and the largest trainable model grows from 40B to 60B (Pa), 140B (Pos+g) and 150B (Pa+cpu); the details, and the authors' note that their baselines had the advantage of fewer GPUs, are with Table 3 in the tables tab.
It rises across the range, so total throughput grows faster than the GPU count (Figure 3). The reason is memory: with Pos+g each GPU's share of the optimiser states and gradients is divided by the DP degree (GPUs / 16), so more GPUs leave more room for activations, and the runs use it for a bigger batch per GPU, which raises arithmetic intensity (§10.3). The bars below are recomputed from the run configurations in Table 6; the throughput curve itself is in the paper's figure, which prints no values, so it is not redrawn here.
Model states per GPU = (2 + 14/Nd) × Ψ/16 bytes with Ψ = 12 × 75 × 8192² plus embeddings = 60.8B (Table 6: 75 layers, hidden 8192). "Batch" is the appendix's batch size per data-parallel rank (the total is that times GPUs / 16: 64, 384, 768, 1600). The paper's footnote 5 says these batches are still small enough not to slow convergence.
What holds up, and why. The core of the paper is arithmetic, not measurement, and the arithmetic is exact. The model-state accounting (16Ψ bytes) and every per-stage formula reproduce: Figure 1, all 54 cells of Table 1 and all 20 theoretical cells of Table 2 come out of §5's formulas (rebuilt here). The communication argument (§7) follows from how ring all-reduce is built, and the step simulation on this page, run on the paper's own schedule, lands on 2Ψ and 3Ψ. The memory model was also tested: the largest model measured with Pos stays at 81 to 82% of the bound across five MP degrees, so the bound predicts the trend even if it overstates the level (Table 2). And the authors are candid where it counts in their favour: they say plainly that ZeRO-100B implements only stages 1 and 2, that trillion-parameter training is out of reach for compute, not memory (§9), that Pa+cpu slows the 60B model down (§10.5), and that their Megatron baselines ran on fewer GPUs (appendix).
Where the evidence is weaker.
How it held up (beyond the paper). Better than almost any systems paper of its year. The method shipped in DeepSpeed, stage 3 included from March 2021 (DeepSpeed blog), and PyTorch rebuilt it natively as FSDP (Zhao et al. 2023). Independent large runs used it as described: BLOOM with ZeRO stage 1 (BLOOM §3.4.2), DeepSeek-V3 with ZeRO-1 (DeepSeek-V3 §3.2), Llama 3 with ZeRO-2-style FSDP (Llama 3 §3.3.2). What did not become the frontier default is stage 3 on its own; those runs pair a low stage with tensor, pipeline or expert parallelism, which the paper itself anticipated (Then and now).
This paper launched DeepSpeed and set the vocabulary, "ZeRO-1, 2, 3" and "stage 3", still used in every training stack (DeepSpeed ZeRO tutorial). Its core claim, that data parallelism's memory redundancy can be removed without giving up its communication efficiency or touching model code, became a default way to train large models, alone or alongside tensor parallelism. PyTorch FSDP is the native descendant, "motivated by the ZeroRedundancyOptimizer technique from DeepSpeed" (Zhao et al. 2023); how FSDP and ZeRO compose with the other parallel axes today is Distributed training's subject (section 4). The follow-ups pushed the same states down the memory hierarchy and cut stage 3's traffic: ZeRO-Offload (2021, CPU; arXiv 2101.06840), ZeRO-Infinity (2021, NVMe too, trillion-parameter fine-tuning on one DGX-2 node; arXiv 2104.07857) and ZeRO++ (2023, quantised and node-local collectives, 4× less communication; arXiv 2306.10209). Turing-NLG ran on it, and the large runs that followed chose a low stage (see How it held up, above). And §3's 16 bytes per parameter is still the back-of-envelope every practitioner uses to size a training run. Then and now has which stage each big run used, with the quotes, and the full follow-up line.
In PyTorch's FSDP, FULL_SHARD is ZeRO-3, and SHARD_GRAD_OP shards gradients and optimiser states while keeping parameters gathered from forward to backward, ZeRO-2 style (FSDP docs); FSDP2's fully_shard shards parameters as DTensors (FSDP2 docs). The full stage-name table, and which stage each big run used, is in Then and now.
Every table that carries the argument, transcribed from the arXiv HTML v3 with the printed precision kept, and every derived number recomputed from the formulas of §3, §5 and §7 (the page's recompute.py). Below them, every number in the text that can be checked, checked.
Model-state memory per GPU for each stage, and the largest model each stage fits, from the paper's formulas. Residual states (activations, buffers, fragmentation) come on top, which is why the measured sizes in Table 2 fall short of the bound.
The five configurations of Table 3 with the largest model each trained at MP 16 on 400 GPUs and batch 16 (Figure 6). The sizes are the run configurations of appendix Table 7, read from the table rather than off the bars, and agree with the bars and with §10.5's 40B, 60B, 140B and 150B. Model states per GPU are recomputed for each (Ψ/16 per model-parallel rank, Nd = 25); the rest of each 32 GB is activations, buffers and headroom.
Which optimisation buys what (§10.5, Table 3). Five configurations, C1 to C5, add ZeRO pieces in turn at MP 16 and a fixed batch. The largest trainable model (Figure 6) grows from 40B (C1: Pos, CB, MD) to 60B with Pa (C2, 16× less activation memory), to 140B with Pos+g (C4, which halves the model-state memory of C2) and to 150B with Pa+cpu (C5). Peak cached memory (Figure 7) falls from C1 to C2 as expected; C4 to C5 lowers it for 100B but not for 40B, whose activations are too small for the offload to show. Throughput (Figure 8) tracks memory, since freed memory buys batch, with one exception: C5 is slower than C4 for 60B, because CPU transfers cost more than they save; Pa+cpu is needed only when a model cannot run without it, such as 170B, and ZeRO turns it on only when it helps.
Parameters recounted from layers L and hidden size h as a GPT-2-style block, 12Lh² + 13Lh, plus token and position embeddings (50,257 + 1,024) × h; the paper does not state its counting convention, so the nearer of "with embeddings" and "12Lh² only" is shown.
One appendix row does not reproduce under either convention: the 1.38B DDP baseline of Table 10 (40 layers, hidden 1536) recounts to B. The appendix's own headings number the figures differently from the body (its "Figure 4" is the body's Figure 6, its "Figure 7" the body's Figure 4); the table below uses the body's numbers.
What the paper proposed in 2019, what was built, what it is called today, and which stage the big runs that cite it actually used. Every row quotes its source; the quoted lines are kept in the page's src/inputs/later_extracts.txt.
| In the paper | DeepSpeed | PyTorch FSDP (FSDP1) | FSDP2 |
|---|---|---|---|
| Baseline DP: everything replicated, gradients all-reduced | ZeRO off | NO_SHARD: "similar to PyTorch's DistributedDataParallel" | (plain DDP) |
| Pos: optimizer states partitioned | stage 1: "the optimizer states (e.g., for Adam optimizer, 32-bit weights, and the first, and second moment estimates) are partitioned" | none on its own | none on its own |
| Pos+g: plus gradients | stage 2: "the reduced 16-bit gradients ... are also partitioned" | SHARD_GRAD_OP: gradients and optimizer states sharded; parameters "unshard[ed] before the forward", not resharded until after backward | fully_shard(..., reshard_after_forward=False): "keeps the unsharded parameters in memory after forward and avoids the all-gather in backward" |
| Pos+g+p: plus parameters (analysed, not built in the paper) | stage 3: "ZeRO-3 will automatically collect and partition them during the forward and backward passes"; released 7 March 2021 | FULL_SHARD: all-gather before forward, reshard after, all-gather before backward, reduce-scatter gradients | fully_shard (default): parameters as DTensors, all-gathered in pre-forward and pre-backward hooks |
| (not in the paper) shard within a node, replicate across nodes | ZeRO++'s hierarchical weight partition, hpZ (2023), for the backward all-gather | HYBRID_SHARD, _HYBRID_SHARD_ZERO2 | a 2-D device mesh (HSDP) |
Sources: DeepSpeed ZeRO tutorial, DeepSpeed ZeRO-3 Offload release, 7 March 2021, FSDP ShardingStrategy docs (PyTorch 2.14), FSDP2 fully_shard docs, FSDP paper (Zhao et al., 2023), ZeRO++.
| Run | What its own report says | Stage |
|---|---|---|
| Turing-NLG 17B (Microsoft, 2020) | "DeepSpeed with ZeRO allowed us to reduce the model-parallelism degree (from 16 to 4), increase batch size per node by fourfold, and reduce training time by three times" (blog, archived); trained with ZeRO-100B (§10.6) | 1 and 2, with MP 4 |
| BLOOM 176B (BigScience, 2022) | "We used ZeRO stage 1, meaning that only the optimizer states are sharded in this manner" (BLOOM §3.4.2) | 1, with tensor and pipeline parallelism |
| MT-NLG 530B (Microsoft and NVIDIA, 2022) | trained with "3D parallelism ... using DeepSpeed and Megatron"; ZeRO is described as background and its stage is not stated. It counts 20 bytes per parameter, not 16 (2 + 4 for weights, 2 + 4 for gradients, 4 + 4 for Adam): "over 10 terabytes" for 530B, TB against TB at 16 bytes (MT-NLG §2.1.1) | not stated |
| Llama 3 405B (Meta, 2024) | "Our use of FSDP for Llama 3 shards optimizer states and gradients, but for model shards we do not reshard after forward computation to avoid an extra all-gather communication during backward passes" (Llama 3 §3.3.2) | 2-like, with TP, CP and PP |
| DeepSeek-V3 671B (DeepSeek, 2024) | "16-way Pipeline Parallelism (PP), 64-way Expert Parallelism (EP) spanning 8 nodes, and ZeRO-1 Data Parallelism (DP)" (DeepSeek-V3 §3.2) | 1, with PP and EP |
FULL_SHARD keep the niche §10.4 argued for, large models with no model-code changes. This is this page's reading of five reports, not a survey.| Year | Work | What it added |
|---|---|---|
| 2020 | ZeRO (this paper), SC20 | stages 1 and 2 plus ZeRO-R built and measured; stage 3 analysed |
| 2021 | ZeRO-Offload | optimizer states and the update step on CPU: "over 13 billion parameters on a single GPU" |
| 2021 | ZeRO-3 Offload release | stage 3 shipped: "1 Trillion parameters ... 25 PetaFlops ... on 512 NVIDIA V100 GPUs" |
| 2021 | ZeRO-Infinity | GPU, CPU and NVMe memory together: 32 trillion parameters on 512 V100s; "fine-tune trillion parameter models on a single NVIDIA DGX-2 node" |
| 2023 | PyTorch FSDP | the algorithm "motivated by the ZeroRedundancyOptimizer technique from DeepSpeed", co-designed with PyTorch's tensors, dispatcher and caching allocator |
| 2023 | ZeRO++ | quantised weight all-gather, a node-local weight copy, quantised gradient averaging: "reduces communication volume of ZeRO by 4x", up to 2.16× throughput at 384 GPUs |
Every link opens in a new tab. Reading time of the resources below: 3h 45m.
SC20, the paper itself; the HTML version has the anchors this page links to. abstract page, PDF.
(1h)
the authors' library, where ZeRO ships (repo, about 20 minutes for the README and entry path).
(20 min)
Microsoft Research, February 2020: the launch post for ZeRO and DeepSpeed, with the stage diagram.
(15 min)
Hugging Face (nanotron): the clearest modern walkthrough of the stage-by-stage memory math and communication schedules, with diagrams.
(40 min)
DeepSpeed docs: the practitioner view: config flags for stages 1, 2 and 3, offload, and what each knob costs.
(20 min)
Lilian Weng: places ZeRO in the full landscape of data, tensor, pipeline and expert parallelism.
(45 min)
PyTorch docs: the PyTorch-native descendant of ZeRO-3 (core pages); maps ZeRO stages onto FSDP sharding strategies.
(25 min)
2019: the tensor-parallel baseline ZeRO measures against and composes with; ZeRO-R's P_a partitions Megatron's replicated activations.
2020: the scale regime (175B) this systems line made trainable.
2022: a complementary attack on activation memory, at the kernel level rather than the sharding level.
2021: the mixture-of-experts route to parameter scale, orthogonal to state sharding.
2019: the 11B model, trained with Mesh-TensorFlow model parallelism, that the paper calls the largest in the literature.
2021: the other way to shrink the 12 bytes of optimizer state per parameter, by training far fewer parameters.
2023: adds paged optimizers and 4-bit frozen weights to LoRA, for fine-tuning on one GPU.
2024: trained with ZeRO-1 data parallelism alongside 16-way pipeline and 64-way expert parallelism.
2024: trained with FSDP that shards optimizer states and gradients but keeps parameters gathered between forward and backward.
2026: bounds expert dispatch, vocabulary projection, activation checkpointing and optimiser state inside a fixed memory budget by scheduling when each tensor exists, where ZeRO partitions the same state.
ZeRO, FSDP, distributed training.
FSDP2, DeepSpeed integration.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.