📝 gpu_network_protocols.mdv4.5.2 · 2026-10-17

The Named Protocols That Connect GPUs, From the Model Down to the Wire

This document lists every named technology that carries data between GPUs, working from the language model at the top to the cables at the bottom. For each one it says what it connects and how it differs from the others. The last section covers how the networks differ between training (building the model) and inference (using it to answer people).

Sources are tagged: [T] appears in the transcript, [K] comes from my own background knowledge, [W] comes from a web search I ran today.

1. The whole stack at a glance

Level Names What it connects Hardware or software
Model Neural network, layers, attention, feed-forward network [T] Words and numbers to layers Software
Ways of splitting the model Data, tensor, pipeline and expert parallelism [K] Decides which GPU holds what, and so who must talk to whom Software
Group-communication routines All-reduce [T], all-gather, all-to-all, NCCL [K] A group of GPUs exchanging results together Software
Inside one server PCIe, HBM, NVLink, NVSwitch, Infinity Fabric [K] A GPU to its memory, its server, and its closest neighbours Hardware
Between servers InfiniBand, Ethernet, RoCE v2 [T/K] Servers across the cluster Hardware
Ways of sending over it RDMA [T], UDP, IP, MRC, Ultra Ethernet [T/K/W] Rules for moving the data without jams or loss Mostly network-card and switch firmware
Bridge between the two GPUDirect RDMA [K] A network card straight to GPU memory Hardware and driver

2. How the model is split (and why that decides the traffic)

A model too large for one GPU has to be divided. The four common ways are named, and each creates a different kind of network traffic. [K]

3. The group-communication routines

Training does not send single messages. It runs group operations: all-reduce (average everyone's numbers and hand the result back), all-gather (everyone receives everyone's pieces), and all-to-all (everyone sends something different to everyone else). NCCL (NVIDIA Collective Communications Library, said "nickel") is the software that carries these out, choosing the best route among the links below. AMD has an equivalent called RCCL. [K]

4. Inside the box: connections within one server or rack

Name What it connects How it differs
HBM (high-bandwidth memory) A GPU to its own memory, stacked on the same package Not a network, but the fastest data path in the system
PCIe (PCI Express) The GPU to the server's processor and network cards General-purpose and slower than the GPU-to-GPU links
NVLink GPU to GPU, within NVIDIA systems Far faster than PCIe and not IP-based
NVSwitch Many GPUs through one switch chip, so each can reach all the others at full speed Makes a whole server, or some racks of 72 GPUs, behave like one big GPU
Infinity Fabric GPU to GPU in AMD systems AMD's equivalent of NVLink
ICI (Inter-Chip Interconnect) Google's TPU chips to each other The same idea for non-GPU accelerators
UALink (Ultra Accelerator Link) An open standard for the same job, backed by AMD, Intel, Broadcom and others Intended as a vendor-neutral alternative to NVLink

Networks at this level are called scale-up. They are short, extremely fast and tightly controlled. [K]

5. Between boxes: the cluster network

This is the network the transcript is about, called scale-out. [T]

The two physical choices

The ways of sending data across them

Name What it is How it differs
RDMA (Remote Direct Memory Access) [T] The sending network card writes directly into another machine's memory Skips the receiver's processor and operating system
RoCE v2 (RDMA over Converged Ethernet) [T/K] RDMA carried inside UDP and IP packets on Ethernet Uses IP, so it routes across ordinary Ethernet switches
iWARP [K] RDMA carried over TCP An older alternative, rarely used for AI because TCP adds delay
UDP, IP, TCP [K] The ordinary internet protocols RoCE v2 uses UDP and IP as an addressing envelope. TCP is too heavy for the fast path and is kept for setup and housekeeping
Ultra Ethernet [K] An open set of standards for AI traffic on Ethernet, from an industry consortium Designed for the weaknesses of plain RoCE
MRC (Multipath Reliable Connection) [W] A transport that extends RoCE v2 for very large clusters See section 6

Helper mechanisms

6. The transcript's mystery name is probably MRC

The transcript's "Metrosy" matches MRC in both sound and description, so I'm treating it as MRC. That is my inference, since the speaker's exact word is unclear. What I found: [W]

7. The bridge: GPUDirect RDMA

Without it, data leaving a GPU would first be copied into the server's main memory, then handed to the network card. GPUDirect RDMA lets the network card read and write GPU memory directly. It is what joins the fast links inside the box to the cluster network between boxes. [K]

8. Training versus inference

Training builds the model. Inference is the model answering a request, for example turning your question into a reply. The networks behave quite differently.

Training Inference
Goal Finish a job lasting weeks or months Answer each request quickly
What matters most Total throughput across the whole cluster Delay on every single response
Traffic pattern All GPUs in lockstep, sharing numbers after every step (all-reduce) Many independent, small requests
GPUs involved Thousands working as one machine Often one server, or a few, per copy of the model
Main network Cluster network (scale-out), with RDMA The links inside a server (scale-up) first
Cost of one slow link Stalls every GPU in the job Slows one response
Touches the ordinary internet? No Yes, at the front door

Three more differences matter:

So inference needs the cluster network much less than training, but it still needs it for the biggest models and for moving the cache.

9. What each network does differently, in one table

Network Connects Uses IP? Typical use
HBM GPU to its own memory No Every calculation
PCIe GPU to server processor and network card No Setup, data loading
NVLink / NVSwitch / Infinity Fabric GPU to GPU inside a server or rack No Tensor parallelism; training and inference
InfiniBand Servers to servers No Training clusters
Ethernet with RoCE v2 Servers to servers Yes (UDP and IP) Training clusters; large inference
Ethernet with MRC Servers to servers at very large scale Yes Largest training clusters
Ordinary internet (TCP) Users to the service Yes Inference front door; training housekeeping

Sources