[KongchangAI]
Concept分布式数据并行 / Distributed Data Parallel

DDP

A distributed training parallelism strategy in which each rank holds an independent model partition across the entire gradient accumulation window and synchronizes gradients only once per optimizer step, combined with a distributed optimizer that shards master weights and optimizer states.

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

DDP (Distributed Data Parallel) performs all-reduce on the gradients of all parameters after backpropagation.

Unverified50%
Oct 28

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

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

DDP distributes a complete model replica to each GPU and synchronizes gradients via All-Reduce, making it suitable for scenarios where the model fits within a single GPU's memory

Unverified50%
Sep 18

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

Verified65%
Sep 13

AppleTalk internally includes multiple sub-protocols such as AARP (address resolution), DDP (datagram delivery), RTMP (routing), AFP (file sharing), and PAP (printing services).

Unverified50%
Sep 11

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

Unverified50%

All Facts (9)

Verified

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

65%
Unverified

DDP (Distributed Data Parallel) performs all-reduce on the gradients of all parameters after backpropagation.

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

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

DDP distributes a complete model replica to each GPU and synchronizes gradients via All-Reduce, making it suitable for scenarios where the model fits within a single GPU's memory

50%
Unverified

AppleTalk internally includes multiple sub-protocols such as AARP (address resolution), DDP (datagram delivery), RTMP (routing), AFP (file sharing), and PAP (printing services).

50%
Unverified

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

50%

Source Articles