[KongchangAI]
ConceptAllReduce梯度聚合 / 集合通信AllReduce

AllReduce

A core collective communication operation in distributed deep learning training, used to aggregate and broadcast gradient data across multiple compute nodes. It represents one of the primary network communication bottlenecks in large-scale AI training workloads.

Timeline (last 90 days)

Oct 27

Large-scale training relies on collective communication (such as AllReduce) to synchronize gradients across hundreds to thousands of GPUs, and any anomaly in a link, switch port, or network interface on the fabric may cause the training job to hang or throughput to plummet rather than exiting directly with an error.

Unverified50%
Oct 26

An intermittent straggler refers to performance degradation in a certain GPU or network link that slows down collective communication (such as AllReduce) as a whole and is difficult to locate from single-point logs.

Unverified50%
Oct 12

在 batch size = 1 的小消息交换场景下,AllReduce 的性能由延迟主导,而非带宽,因此 x16 相对 x8 并不能显著降低延迟。

Unverified50%
Oct 8

Tensor parallelism splits a single matrix operation across multiple GPUs working together, requiring an AllReduce communication to aggregate results after each operation.

Unverified50%
Oct 8

AllReduce is essentially distributed floating-point summation, whose result depends on the response order of participating nodes and is inherently nondeterministic in asynchronous network environments.

Unverified50%
Oct 6

常见的集合通信操作包括AllReduce、AllGather和ReduceScatter,其中AllReduce将所有节点的梯度求和后广播回每个节点

Unverified50%
Oct 6

AllReduce在每个训练迭代反向传播结束后要求所有GPU同步梯度,这一步骤在数千卡规模下可能消耗数十毫秒甚至更长时间

Unverified50%
Oct 6

In large-scale distributed training, forward propagation, backward propagation, and AllReduce/AllGather communication operations are interleaved; if a communication operation is not complete, downstream compute operators must wait, creating bubbles.

Unverified50%
Oct 4

In collective communication operations during AI training (such as AllReduce gradient aggregation), overall performance is determined by the slowest node.

Unverified50%
Oct 4

Communication primitives in distributed training (such as AllReduce gradient aggregation) can introduce non-deterministic accumulated errors due to differences in parallelism configuration and network topology.

Unverified50%

3 more timeline events

All Facts (14)

Unverified

At the thousand-GPU scale, the latency of a single AllReduce operation can account for more than 30% of the per-step training time.

70%
Unverified

Large-scale training relies on collective communication (such as AllReduce) to synchronize gradients across hundreds to thousands of GPUs, and any anomaly in a link, switch port, or network interface on the fabric may cause the training job to hang or throughput to plummet rather than exiting directly with an error.

50%
Unverified

An intermittent straggler refers to performance degradation in a certain GPU or network link that slows down collective communication (such as AllReduce) as a whole and is difficult to locate from single-point logs.

50%
Unverified

在 batch size = 1 的小消息交换场景下,AllReduce 的性能由延迟主导,而非带宽,因此 x16 相对 x8 并不能显著降低延迟。

50%
Unverified

AllReduce is essentially distributed floating-point summation, whose result depends on the response order of participating nodes and is inherently nondeterministic in asynchronous network environments.

50%
Unverified

Tensor parallelism splits a single matrix operation across multiple GPUs working together, requiring an AllReduce communication to aggregate results after each operation.

50%
Unverified

常见的集合通信操作包括AllReduce、AllGather和ReduceScatter,其中AllReduce将所有节点的梯度求和后广播回每个节点

50%
Unverified

AllReduce在每个训练迭代反向传播结束后要求所有GPU同步梯度,这一步骤在数千卡规模下可能消耗数十毫秒甚至更长时间

50%
Unverified

In large-scale distributed training, forward propagation, backward propagation, and AllReduce/AllGather communication operations are interleaved; if a communication operation is not complete, downstream compute operators must wait, creating bubbles.

50%
Unverified

In collective communication operations during AI training (such as AllReduce gradient aggregation), overall performance is determined by the slowest node.

50%
Unverified

Communication primitives in distributed training (such as AllReduce gradient aggregation) can introduce non-deterministic accumulated errors due to differences in parallelism configuration and network topology.

50%
Unverified

Unlike AllReduce, the traffic pattern of All-to-All is highly irregular and difficult to predict, and load-balancing imbalances can create hotspots.

50%
Unverified

In tensor-parallel inference, AllReduce operations occur at every layer, and for large models with tens or even hundreds of layers, the cumulative volume of communicated data is considerable.

50%
Unverified

Data parallelism shards training data across multiple GPUs, where each GPU holds a complete model replica and independently computes gradients, then synchronizes gradients through collective communication operations such as AllReduce.

50%

Source Articles