AIXX Pedia › Tech Concept › Collective Communication
Collective Communication is a coordinated communication pattern among multiple GPUs/nodes — not point-to-point 'A sends to B', but 'all participants jointly complete one communication operation'. The four core primitives: AllReduce (reduction across all, used for training gradient sync), AllGather (gathering from all, used for merging inference outputs), Broadcast (for parameter distribution), and ReduceScatter (reduction with scatter, used for gradient sharding).
The throughput bottleneck in AI training typically lies in collective communication: data-parallel gradient sync in large model training relies on AllReduce, while intermediate results in tensor parallelism rely on AllGather/ReduceScatter — the efficiency of collective communication directly determines training scaling efficiency. NCCL (NVIDIA) / RCCL (AMD) are the standard library implementations of collective communication.
| Item | Value / Basis |
|---|---|
| AllReduce | AllReduce (training gradient sync) |
| AllGather | AllGather (merging inference outputs) |
| ReduceScatter | ReduceScatter (gradient sharding) |
| Implementation libraries | NCCL(NVIDIA)/ RCCL(AMD) |
The collective communication of an 8-GPU B300 HGX runs over the NVLink domain (SHARP in-network aggregation accelerates AllReduce) + NVSwitch — intra-domain communication is nearly loss-free. Cross-node collective communication runs over an RDMA fabric — the fabric design (topology/routing) determines cross-node scaling efficiency. For procurement, collective communication stress testing (nccl-tests all_reduce_perf) is a core acceptance item.