Distributed Training · 2023

PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel

Yanli Zhao, Andrew Gu, Rohan Varma, et al.

PyTorch FSDP shards each layer's parameters, gradients, and optimizer state across data-parallel workers and reconstructs full parameters on the fly only for the layer being computed, cutting per-device memory so large models fit under standard data-parallel training.

Editorial record

Plain-language summary

Instead of replicating the full model on every worker as standard data parallelism does, FSDP splits parameters, gradients, and optimizer state into shards held by different workers; before a layer runs it all-gathers that layer's parameters, then frees them afterward, and reduce-scatters gradients during the backward pass. Communication is overlapped with computation and grouped into units to limit memory spikes and latency. Delivered as a native PyTorch API, it let practitioners train models with hundreds of billions of parameters on commodity clusters without a separate framework.

Knowledge graph

Relationships

Descendants

Source record

Provenance

Record ID
P-136
Record created
2026-07-13
Last reviewed
2026-07-14
Record version
2

Citation caveat: Citation metadata is approximate and marked unverified in the source dataset.