[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)

Nov 20

LoongForge-Embodied provides FP8 communication optimization for DDP and FSDP, reducing communication overhead while maintaining training stability by quantizing communication data to FP8.

Unverified50%
Nov 20

FSDP (Fully Sharded Data Parallel) stores parameters, gradients and optimizer states in shards, performing all-gather on demand before computation and reduce-scatter after computation, which means more communication but is friendlier to GPU memory.

Unverified50%
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

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 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 18

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

Verified65%
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%

5 more timeline events

All Facts (16)

Verified

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

65%
Verified

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

65%
Unverified

FSDP (Fully Sharded Data Parallel) stores parameters, gradients and optimizer states in shards, performing all-gather on demand before computation and reduce-scatter after computation, which means more communication but is friendlier to GPU memory.

50%
Unverified

LoongForge-Embodied provides FP8 communication optimization for DDP and FSDP, reducing communication overhead while maintaining training stability by quantizing communication data to FP8.

50%
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

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

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

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