[KongchangAI]
ConceptFully Sharded Data Parallel / 全分片数据并行

FSDP

Fully Sharded Data Parallel, PyTorch's official large-scale distributed training solution. It shards model parameters, gradients, and optimizer states across multiple GPU devices, substantially reducing per-device memory consumption and enabling training of very large models on limited hardware resources.

Core Facts

Timeline (last 90 days)

Oct 28

PyTorch's distributed data parallel (DDP) and FSDP are both built on NCCL.

Unverified50%
Oct 24

For teams that already have mature training frameworks (such as PyTorch + FSDP/DeepSpeed), keeping the training loop in their own code is better for debugging and migration.

Unverified50%
Oct 14

The Olmo-core 3 implementation switches from FSDP to DDP: each rank holds a model partition across the entire accumulation window, gradients are synchronized only once per optimizer step, and the distributed optimizer shards the FP32 master weights and optimizer states; expert parallelism distributes routed experts across ranks, writing only the selected token rows directly into the target rank's buffer via NVSHMEM.

Unverified50%
Sep 30

Ray Train provides wrappers for both DDP and FSDP strategies, and can automatically handle process group initialization, fault recovery, and checkpoint saving

Unverified50%
Sep 30

FSDP shards model parameters, gradients, and optimizer states across multiple GPUs, and is the mainstream solution for training models with hundreds of billions of parameters

Unverified50%
Sep 18

PyTorch provides native distributed training solutions such as DDP (DistributedDataParallel) and FSDP (Fully Sharded Data Parallel).

Unverified60%
Sep 12

Teams using FSDP or tensor parallelism need to verify that the logit output for the same sequence is deterministic under different degrees of parallelism, as the floating-point accumulation order of communication operators may change with the parallel configuration.

Unverified50%
Sep 11

FSDP reduces single-GPU memory usage by sharding model parameters, gradients, and optimizer states across multiple GPUs, and is one of the mainstream approaches for training models with hundreds of billions of parameters.

Unverified50%
Sep 11

In large model training scenarios, the collaborative optimization of torch.compile and FSDP (Fully Sharded Data Parallel) is one of the most active research directions in the community.

Unverified50%
Sep 11

Compared to DDP, FSDP is more aggressive in overlapping communication with computation, but introduces higher debugging complexity.

Unverified50%

3 more timeline events

All Facts (14)

Verified

FSDP (Fully Sharded Data Parallel) is PyTorch's native distributed training solution, contributed by Meta.

65%
Unverified

PyTorch provides native distributed training solutions such as DDP (DistributedDataParallel) and FSDP (Fully Sharded Data Parallel).

60%
Unverified

PyTorch's distributed data parallel (DDP) and FSDP are both built on NCCL.

50%
Unverified

For teams that already have mature training frameworks (such as PyTorch + FSDP/DeepSpeed), keeping the training loop in their own code is better for debugging and migration.

50%
Unverified

The Olmo-core 3 implementation switches from FSDP to DDP: each rank holds a model partition across the entire accumulation window, gradients are synchronized only once per optimizer step, and the distributed optimizer shards the FP32 master weights and optimizer states; expert parallelism distributes routed experts across ranks, writing only the selected token rows directly into the target rank's buffer via NVSHMEM.

50%
Unverified

Ray Train provides wrappers for both DDP and FSDP strategies, and can automatically handle process group initialization, fault recovery, and checkpoint saving

50%
Unverified

FSDP shards model parameters, gradients, and optimizer states across multiple GPUs, and is the mainstream solution for training models with hundreds of billions of parameters

50%
Unverified

Teams using FSDP or tensor parallelism need to verify that the logit output for the same sequence is deterministic under different degrees of parallelism, as the floating-point accumulation order of communication operators may change with the parallel configuration.

50%
Unverified

FSDP reduces single-GPU memory usage by sharding model parameters, gradients, and optimizer states across multiple GPUs, and is one of the mainstream approaches for training models with hundreds of billions of parameters.

50%
Unverified

In large model training scenarios, the collaborative optimization of torch.compile and FSDP (Fully Sharded Data Parallel) is one of the most active research directions in the community.

50%
Unverified

FSDP is the officially released fully sharded data parallelism solution from PyTorch, which reduces per-device memory usage from O(N) to O(N/world_size) by sharding model parameters, gradients, and optimizer states across different devices.

50%
Unverified

Compared to DDP, FSDP is more aggressive in overlapping communication with computation, but introduces higher debugging complexity.

50%
Unverified

PyTorch's FSDP (Fully Sharded Data Parallel) and DeepSpeed ZeRO optimize memory efficiency, enabling models with tens of billions of parameters to be trained on a single machine.

50%
Unverified

Distributed training strategies such as DeepSpeed ZeRO, FSDP, tensor parallelism, and pipeline parallelism are necessary tools for training large video models.

50%

Source Articles