Retrieved article excerpt
Open article · Retrieved 2026-10-29T16:25:15.736380+00:00
Not all high-speed interconnects are created equal, and using the wrong one can be quite costly: running the same distributed training job over InfiniBand rather than NVLink can [degrade performance by 43%](https://nanotron-ultrascale-playbook.static.hf.space/index.html#:~:text=which%20typically%20sees%20around,scenarios).
Historically, NVLink was limited to communication within a single node, meaning that multi-node AI workloads were forced to communicate over InfiniBand or a cloud equivalent (EFA on AWS, GPUDirect-TCPX on GCP). NVIDIA’s NVL72 systems remove this limitation by connecting all 72 GPUs in a rack with a unified NVLink fabric, so GPUs on different nodes can exchange data with an order of magnitude more bandwidth.
Infiniband
However, maximizing the benefits of NVL72 systems is highly dependent on workload placement: a multi-node job spread across racks is still bottlenecked by InfiniBand. Preserving rack-locality gets harder as hardware failures take nodes offline and jobs finishing at different times scatter free capacity across racks.
This blog covers the communication bottleneck in large-scale training and inference, the NVL72 rack-scale fabric, and slice sizing for resilience to GPU failures, as well as how the [SkyPilot Platform](https://skypilot.ai/platform) keeps multi-node jobs rack-local through topology-aware placement, in-place recovery from hardware failures, and automatic defragmentation of shared clusters.
## [Training at scale is a communication problem #](https://skypilot.ai/blog/grace-blackwell-needs-a-new-scheduler#training-at-scale-is-a-communication-problem)
Frontier training jobs run across thousands of GPUs. Doing so requires answering two questions:
1. How do you shard your model across GPUs to ensure that it can actually run?
2. Given your compute budget, how many copies of the sharded model can you run to maximize training throughput?
The first question is typically answered with a combination of:
- Tensor Parallelism (TP): splitting a layer’s weight matrices across GPUs
- Expert Parallelism (EP): placing a mixture-of-experts (MoE) layer’s experts on different GPUs
- Pipeline Parallelism (PP): splitting a model layer-wise across GPUs
The answer to the second question sets the degree of Data Parallelism (DP): the number of copies of the sharded model that train in parallel, each on a different slice of the training data.
Of these parallelism strategies, tensor parallelism’s all-reduce and expert parallelism’s all-to-all communication patterns sit on the critical path during training, making them [the most important to keep on NVLink](https://arxiv.org/abs/2603.07685) (§9.1.2).
### Tensor Parallelism
Tensor parallelism splits the weight matrices inside each layer across GPUs, so every GPU only stores and computes a slice of each layer.
Transformer layers are made up of two blocks: self-attention and a multi-layer perceptron (MLP). At its core, each block is two matrix multiplications (GEMMs) in a row. [Megatron-LM](https://arxiv.org/abs/1909.08053) (§3) showed that by partitioning a block’s first GEMM column-wise and its second GEMM row-wise, the GPUs only need to synchronize via all-reduce once per block, after the second GEMM, instead of after each one.
Animated diagram: tensor parallelism splits A column-wise and B row-wise across two GPUs, and one all-reduce sums the partial z results
**Figure 1.** Tensor parallelism across two GPUs. A is split column-wise, so each GPU computes its own slice of y without communicating. B is split row-wise to match, so each GPU produces a partial z, and one all-reduce sums the partial results.
Even with this optimization, tensor parallelism still requires two all-reduces per transformer layer during the forward pass. [These all-reduce steps sit on the critical path](https://nanotron-ultrascale-playbook.static.hf.space/index.html#:~:text=The%20inability%20to%20fully%20hide,directly%20adds%20to%20the%20critical%20path) during training because they cannot be fully overlapped with computation. As a result, tensor parallelism is typically kept on NVLink: Hugging Face measured a 43% drop in training throughput when it moved off NVLink onto InfiniBand.
### Expert Parallelism
In a mixture-of-experts (MoE) layer, the MLP block is replaced by many smaller MLPs, called experts, and a router that sends each token to a small subset of experts. Expert parallelism splits MoE layers such that these small, independent experts are placed on different GPUs.
Under expert parallelism, each MoE layer requires two all-to-all communication steps during the forward pass, dispatch and combine. A router selects the top-*k* experts for each token and dispatches tokens to the GPUs that have those experts in memory. Each GPU then computes its local experts on the tokens it received via a single grouped matrix multiplication. Finally, the expert outputs are sent back to each token's original GPU and combined.
Expert parallelism diagram: an all-to-all dispatches tokens to experts on different GPUs, and a second all-to-all combines the results
**Figure 2.** Expert parallelism distributes experts across GPUs. The all-to-all communication dispatches tokens to their assigned experts and combines results. (Source: [NVIDIA](https://arxiv.org/abs/2603.07685), Figure 4.)
As models add more MoE layers and route each token to more experts, the volume of all-to-all traffic grows, introducing a communication bottleneck.
Training an MoE model with 64-way expert parallelism spreads each MoE layer’s experts across 64 GPUs. On standard 8-GPU servers, that moves the all-to-all traffic off high-bandwidth NVLink and through much narrower InfiniBand interconnects where unoptimized communication can consume [up to 60% of training time](https://arxiv.org/abs/2603.07685) (§1.2). On NVL72 systems, all 64 GPUs stay within a single NVLink domain, [effectively eliminating the communication bottleneck](https://arxiv.org/abs/2603.07685) (§9.2.2).
## [Inference needs fast inter-node networking too #](https://skypilot.ai/blog/grace-blackwell-needs-a-new-scheduler#inference-needs-fast-inter-node-networking-too)
The parallelism techniques discussed above are not unique to training. Beyond enabling inference engines to serve models that are too large for a single GPU, model parallelism can also improve throughput. Splitting a model's weights across more GPUs frees up memory for the KV cache, so the engine can process [more concurrent requests or support larger context windows](https://vllm.ai/blog/2026-05-14-elastic-expert-parallelism#:~:text=WideEP%20deployments,very%20long%20contexts). In some cases, the freed memory grows faster than the number of GPUs: in one [vLLM](https://vllm.ai/blog/distributed-inference#:~:text=we%20are%20able%20to%20increase%20the%20amount%20of%20KV%20Cache%20blocks%20by%2013.9x) benchmark, splitting a model tensor-parallel across two GPUs increased the amount of KV cache blocks by 13.9x and delivered 3.9x more throughput.
Animated diagram: Llama-3.1-70B weights fill most of one H100, and sharding them across two H100s frees memory for 13.9x more KV cache blocks
**Figure 3.** GPU memory breakdown for Llama-3.1-70B on one vs. two H100s. (Data: [vLLM](https://vllm.ai/blog/distributed-inference).)
Expert parallelism follows the same logic. With a low degree of expert parallelism, each GPU holds many experts, leaving less room for the KV cache. WideEP, which refers to expert-parallel configurations spanning multiple nodes, significantly reduces the number of experts per GPU. The trade-off is network traffic: every all-to-all now spans more GPUs. On standard 8-GPU servers, an expert-parallel group can span at most eight GPUs before it has to communicate over InfiniBand, where [per-GPU bandwidth drops 18x](https://inferencex.semianalysis.com/blog/gb200-nvl72-vs-b200-disagg-deepseek-r1-fp4-dynamo-trt#:~:text=once%20decode%20EP%20needs%20more%20than%208%20ranks,50%20GB%2Fs%2C%2018x). NVL72 removes this limit by keeping all 72 GPUs in a rack on NVLink. When serving DeepSeek-R1 at interactive speeds, GB200 NVL72 with 32-way expert parallelism delivers [up to 4.4x higher throughput per GPU](https://inferencex.semianalysis.com/blog/gb200-nvl72-vs-b200-disagg-deepseek-r1-fp4-dynamo-trt#:~:text=delivers%20up%20to%204.39x%20throughput%20per%20GPU) than 8-GPU B200 servers, which are capped at 8-way.
## [The rack is the new server #](https://skypilot.ai/blog/grace-blackwell-needs-a-new-scheduler#the-rack-is-the-new-server)
NVL72 extends NVLink from a single node to the entire rack, so the whole rack acts like a [gigantic accelerator with shared memory](https://docs.nvidia.com/multi-node-nvlink-systems/imex-guide/overview.html#:~:text=With%20an%20NVLink%20Network,gigantic%20accelerator%20with%20shared%20memory).
The NVLink hierarchy in an NVL72 rack: the NVLink domain, NVLink partitions, and IMEX domains
**Figure 4.** The NVLink hierarchy within an NVL72 rack. (Source: [NVIDIA](https://developer.nvidia.com/blog/running-ai-workloads-on-rack-scale-supercomputers-from-hardware-to-topology-aware-scheduling/), Figure 1.)
Every GPU on the NVL72 rack has 18 NVLink ports each delivering 100 GB/s of bidirectional bandwidth, which sums up to a total of [1.8 TB/s for each GPU](https://developer.nvidia.com/blog/nvidia-gb200-nvl72-delivers-trillion-parameter-llm-training-and-real-time-inference/#:~:text=Each%20NVLink%20switch%20tray%20delivers,bidirectional%20throughput%20per%20GPU). Each NVLink port on a given GPU maps to one of 18 NVSwitch chips that power the rack's fabric backplane. Because each NVSwitch chip accepts 72 NVLink lines, one from each of the GPUs, the aggregate internal bandwidth within the rack is 130 TB/s.
NVL72 topology: every GPU connects one NVLink port to each of the rack's 18 NVSwitch chips
**Figure 5.** Each GPU connects one NVLink port to each of the rack's 18 NVSwitch chips. (Source: [NADDOD](https://www.naddod.com/blog/nvidia-gb200-interconnect-architecture-analysis-nvlink-infiniband-and-future-trends).)
This network topology ensures that the fabric is fully non-blocking, meaning that [any GPU in the rack can transmit data to any other GPU](https://www.nvidia.com/en-us/data-center/nvlink/#:~:text=The%20NVIDIA%20NVLink%20Switch%20chips%20connect%20multiple%20NVLinks,across%20the%20entire%20rack) with uniform latency, making it ideal for large-scale distributed AI workloads.
An NVL72 rack next to its non-blocking NVSwitch fabric, which connects every GPU in the rack
**Figure 6.** The NVSwitch fabric is fully non-blocking. Any GPU can communicate with any other GPU in the rack at full bandwidth with the same latency. (Source: [NVIDIA](https://developer.nvidia.com/blog/enabling-multi-node-nvlink-on-kubernetes-for-gb200-and-beyond/), Figure 1)
## [Sometimes less is more: using less nodes in each rack significantly improves reliability #](https://skypilot.ai/blog/grace-blackwell-needs-a-new-scheduler#sometimes-less-is-more-using-less-nodes-in-each-rack-significantly-improves-reliability)
With NVL72 systems, it is tempting to allocate entire 18-node racks to workloads to maximize cluster utilization. In practice, teams actually get more usable capacity out of their cluster by leaving a couple of spare nodes in each rack.
GPUs are unreliable. On its gigawatt-scale supercluster, [Meta](https://engineering.fb.com/2026/10/19/data-center-engineering/inside-prometheus-meta-gigawatt-scale-supercluster/#:~:text=overall%20wall%2Dclock%20mean%20time,47k%20GPU%20hours) measured a mean time between interruptions (MTBI) of roughly 490 days per 4-GPU node after putting significant engineering effort into improving reliability. NVL72 clusters make the 72-GPU rack the atomic unit of compute, which increases the fault blast radius by 18x compared to the 4-GPU nodes that make up the rack. The MTBI for the rack is given by:
Loading...
Based on the formula above, a rack would be interrupted roughly every 490 / 18 ≈ 27 days.