Zenaique
Glossary · Training

FSDP (Fully Sharded Data Parallel)

Also known as: Fully Sharded Data Parallel, ZeRO-3

Shard weights+grads+optimizer states across GPUs and gather just-in-time; train huge models with limited per-GPU memory.

A data-parallel training strategy that shards model weights, gradients, and optimizer states across GPUs and gathers parameters just-in-time per forward/backward pass. PyTorch's open implementation of the ZeRO-3 algorithm.

In practice

The default for open-source large-model training. Senior training interviews probe FSDP vs DeepSpeed ZeRO and the bandwidth trade-offs.

How it compares

FSDP shards data-parallel state (weights, grads, opt); TP shards model compute within layers.

Comparisons that include FSDP (Fully Sharded Data Parallel)

Related topics

Related terms