6.4 Training Cluster Networks and GPU Interconnects
Suppose a GPU needs 4 GiB from its neighbor before it can start the next computation. At an effective 100 GiB/s, that transfer takes 40 ms. What matters for training is how much of that time overlaps useful work and which other ranks need the same link. Start by tracing the physical route of the data.
Design references checked as of 2026-10-13. The examples below illustrate hardware and networking contracts. They are not a catalogue of the newest products or a ranking of provider performance.
1. Scale Up and Scale Out
Scale-up connects devices within a relatively fast shared fabric. Scale-out connects nodes or larger domains through a network. The boundary is implementation-specific: a rack can be a large scale-up domain, but it still contains multiple devices and requires distributed software.
| Reference design | Documented feature | Engineering boundary |
|---|---|---|
| GB200 NVL72 | 72 Blackwell GPUs, 36 Grace CPUs, liquid cooling, and a 72-GPU NVLink domain [1] | Switched fabric, multiple devices and ranks; not literally one PyTorch device |
| Meta’s 2024 cluster design | Two 24,576-GPU designs using RoCE and InfiniBand, respectively [2] | Evidence for the reported deployment, not proof of equal behavior in every traffic pattern |
| TPU v5p | A documented 3D-torus interconnect and topology-aware slices [3] | Slice shape and topology affect communication; do not generalize one generation to every TPU |
NVIDIA’s 130 TB/s NVLink figure is a system-level aggregate, not bandwidth that every rank pair can simultaneously consume [1]. Provider throughput multipliers are tied to the workload footnotes. They cannot be transferred to a different model, batch, precision, or latency objective without measurement.
2. Match the Fabric to the Parallelism
Tensor parallelism can require frequent latency-sensitive exchanges. Data parallelism accumulates gradient collectives. Expert parallelism adds uneven all-to-all traffic. Pipeline parallelism trades activation transfers against bubbles and stage imbalance. The same fabric can therefore behave differently under different model layouts.
RDMA can move data without routing every payload through application-level CPU copies; setup, control, completion handling, and congestion still exist. Neither InfiniBand nor RoCE makes every network failure disappear. Flow control and congestion control can help throughput while producing their own tail-latency or blocking behavior.
Profile actual message sizes, collective latency, overlap, link utilization, congestion, retries, rank skew, and step time. Evaluate fault cases and checkpoint traffic as well as an isolated bandwidth test. A fast peak link does not establish a fast training job.
3. Optical Reconfiguration and Topology
Optical circuit switching can change physical paths and reduce some packet-switching costs. It does not provide zero system power or automatically replace a failed compute chip’s work. Transceivers, controllers, cooling, spare capacity, routing/reconfiguration policy, and job recovery still matter.
A logical torus or mesh is a placement constraint. Allocate ranks according to the supported slice topology and the algorithm’s communication pattern. Changes in device count or unavailable links may require a new placement and a supported restart, not merely a mirror adjustment while the run continues unchanged.
A switched scale-up fabric. Aggregate bandwidth is not the bandwidth available to each device pair; distributed devices and ranks remain.
Node counts and planar layouts are schematic; this does not simulate physical wiring, product scale, or fault recovery. NVLink · Meta · TPU · as of 2026-10-13
The diagrams are schematic. The drawn node count and planar layout are not the physical size or wiring of the referenced products.
4. Power and Cooling Are Measured Budgets
Do not infer a site’s power demand from GPU count alone. Add accelerator and CPU power, memory, network, storage, cooling and facility overhead, with measured utilization and design margins. Total facility power and accelerator nameplate power are different units of planning.
Training phases can have correlated power demand, but communication does not necessarily idle every GPU: overlap and concurrent jobs change the profile. Measure transient load, sustained thermal behavior, throttling, coolant conditions, and power-cap effects. Battery buffering or scheduling changes should address a demonstrated facility requirement rather than an assumed universal cluster waveform.
5. A Training Infrastructure Contract
Before allocating a run, record input model/tokenizer/template, immutable data manifests, objective, mixture/filter versions, grouped splits, and evaluation quarantine. Specify precision, sharding, recomputation, sequence lengths, token batch, active-expert assumptions, learning-rate schedule, and accepted fault/recovery behavior.
Budget parameters, gradients, optimizer state, activations, temporary buffers, collectives, local/remote checkpoints, and evaluation separately. Include data-loader and verifier/sandbox capacity where post-training generates rollouts. Active MoE arithmetic is not total weight storage; long prompts can shift the serving bottleneck toward cache capacity and transfer.
Observe token-normalized training/validation loss, domain slices, nonfinite/overflow counts, gradient/activation norms, useful-token throughput, MFU under an explicit denominator, data wait, collective/straggler time, memory reserve, and reconstructable batch IDs. Device uptime is not useful training throughput.
Predeclare pause/abort thresholds, owner, observation window, and hysteresis for nonfinite values, quality regressions, repeated link/device failures, overheating, and unrecoverable state. Persist sharded model/optimizer, scheduler, scaler/FP8 state, global step/tokens, RNG, sampler and exact data cursor with dataset/tokenizer/config hashes. Atomic publication needs checksums and a completion marker; retention and remote replication must survive loss of the local node or rack.
Run restore drills and continuation-equivalence checks at supported world sizes. A checkpoint that was written but never restored is not verified recovery. A promoted artifact still needs domain, base-retention, safety, tool/format, latency, cost and error-rate gates with paired uncertainty or justified sample sizes, a last-known-good bundle, and a rollback rehearsal.
6. Practical Takeaway
Choose infrastructure by the workload’s measured bottleneck and recovery requirements. A large scale-up domain, a tuned scale-out fabric, and a topology-aware accelerator slice are different tools. Their value comes from sustained useful work under the intended model and failure conditions.
Quizzes
Quiz 1: Why does a 72-GPU NVLink domain still need distributed software?
It contains multiple devices and ranks. Fast connectivity does not turn device memory, synchronization, or collective execution into one ordinary PyTorch device.
Quiz 2: Why cannot aggregate fabric bandwidth be assigned to every device pair?
Aggregate bandwidth summarizes many links. Topology, contention, routing, and concurrent traffic constrain each pair and collective.
Quiz 3: Why can network tuning change when a dense model becomes MoE?
Expert dispatch introduces uneven all-to-all traffic with different message sizes and straggler behavior from the original collective workload.
Quiz 4: What does an optical circuit switch not provide?
It does not eliminate all power overhead, supply failed compute capacity, or guarantee that a job resumes without topology and state recovery.
Quiz 5: Why rehearse restoring a distributed checkpoint?
Successful writing does not prove complete, compatible state or support for a changed world size. Restore and continuation checks establish the recovery contract.
References
- NVIDIA. GB200 NVL72 specifications and workload footnotes. NVIDIA.
- Meta Engineering. (2024). Building Meta’s GenAI Infrastructure. Meta.
- Google Cloud. TPU v5p architecture and topology. Google Cloud.