Chip Foundry Services Request Assessment

Communication

In distributed AI training, communication is the exchange of data between GPUs or accelerator chips that must happen between compute steps — gradients synchronized across data-parallel replicas, activations passed between pipeline-parallel stages, or partial sums combined across tensor-parallel shards — and it competes directly with compute for the same wall-clock time budget a training run is measured against. The core collective operations are all-reduce (every device ends up with the sum, typically of gradients, across all devices), all-gather (every device ends up with every other device's full tensor), and reduce-scatter (the sum is computed but scattered across devices rather than replicated to all of them) — NCCL implements these collectives for NVIDIA GPUs using a ring or tree topology across NVLink and InfiniBand, choosing the topology that minimizes the number of hops data has to travel for a given cluster size.

Communication becomes the binding constraint, rather than compute, exactly when the ratio of bytes moved to FLOPs performed is too high for the available interconnect bandwidth to keep pace with — this is why tensor parallelism is normally confined to the handful of GPUs connected by NVLink inside one server, where bandwidth is highest, while the coarser data-parallel and pipeline-parallel splits, which communicate far less per step, are used to scale out across servers connected by slower networking. Overlapping communication with compute — issuing a gradient's all-reduce as soon as that layer's backward pass finishes, rather than waiting for the entire backward pass to complete — is the standard technique for hiding this cost, and the degree to which a training framework successfully overlaps the two is often the single biggest determinant of real-world GPU utilization on a large cluster, as covered in more depth in this site's 3D-parallelism and interconnect simulators.