What is collective communication?

Definition

Collective communication provides standard operations for moving or combining data across many participants. Artificial intelligence workloads use collectives to distribute parameters, aggregate gradients, exchange activations, and keep parallel computation synchronized.

Ordering matters because all participants must enter compatible operations in a consistent sequence. Mismatches can deadlock or produce incorrect results. Performance depends on message size, topology, algorithms, overlap, and whether the selected collective matches the workload's partitioning.

Acronyms and aliases

collective operation variantdistributed collective variant

Frequently asked questions

What are common collective communication operations?

Common operations include broadcast, reduce, all-reduce, gather, all-gather, scatter, reduce-scatter, and all-to-all.

Why does collective ordering matter?

Participants must call compatible collectives in a matching sequence or they may wait indefinitely, exchange the wrong data, or corrupt results.

Videos explaining collective communication