Fully sharded data parallel (FSDP)
MethodData-parallel training in which parameters, gradients and optimizer states are split across workers instead of copied to each. Before each layer runs forward or backward, its full parameters are gathered from all workers and freed afterwards; gradients are reduce-scattered so each worker updates only its own shard.
Read
Papers
- Zhao et al.: PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallel (opens in a new tab)arXiv / paper authors · 2023
About this resource
The PyTorch FSDP paper: sharding parameters, gradients and optimizer states, co-designed with the caching allocator and communication overlap, to train much larger models with near-linear scaling.
Where to read: Abstract
Checked 2026-10-31
Authority for this purpose: arXiv / paper authors publishes this original research record.
Destination inspection: Bounded public-address-pinned GET followed by destination text and concept-scope inspection
Useful destination; no explanatory claim is asserted from this link.
- Also published at VLDB 2023; the arXiv record was inspected.
- arXiv record is a preprint. Verified the abstract and version record; no claim of full-paper review or venue status from the arXiv URL.
Reviewed authoritative resource
Where to read: Abstract
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Engineering blogs
- Introducing PyTorch Fully Sharded Data Parallel (FSDP) API (opens in a new tab)PyTorch blog · 2022
About this resource
The launch post explaining how FSDP differs from DDP: parameters are gathered per layer just in time and freed after use, so each GPU holds only a shard.
Where to read: Full article
Checked 2026-10-31
Authority for this purpose: PyTorch blog publishes this first-party source.
Destination inspection: Bounded public-address-pinned GET followed by destination text and concept-scope inspection
Useful destination; no explanatory claim is asserted from this link.
- First-party account of the publisher's own system or practice; reported results are self-reported, not independently validated.
Reviewed authoritative resource
Where to read: Full article
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Docs
- FullyShardedDataParallel (opens in a new tab)PyTorch documentation · 2025
About this resource
Reference for the FSDP wrapper, including sharding strategies (full, gradient-and-optimizer only, hybrid), auto-wrap policies, mixed precision and CPU offload.
Where to read: Class reference
Checked 2026-10-31
Authority for this purpose: PyTorch documentation publishes this official documentation.
Destination inspection: Bounded public-address-pinned GET followed by destination text and concept-scope inspection
Useful destination; no explanatory claim is asserted from this link.
- Version 2.15 documentation.
Reviewed authoritative resource
Where to read: Class reference
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
- Getting Started with Fully Sharded Data Parallel (FSDP2) (opens in a new tab)PyTorch tutorials
About this resource
Shows how FSDP2 shards each parameter as a DTensor, all-gathers it before forward and backward and reduce-scatters gradients, with prefetching to overlap communication.
Where to read: Full tutorial
Checked 2026-10-31
Authority for this purpose: PyTorch tutorials publishes this official documentation.
Destination inspection: Bounded public-address-pinned GET followed by destination text and concept-scope inspection
Useful destination; no explanatory claim is asserted from this link.
- Tutorial body is partly client-rendered; code targets a specific PyTorch version.
Reviewed authoritative resource
Where to read: Full tutorial
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Related concepts
Prerequisites
- Data parallelismMethod
- ZeRO (Zero Redundancy Optimizer)Method
Related
Loading discussion…
