Topic: hardware

The machines models train and run on, as a map: what a training or serving step demands (arithmetic, bytes from memory, bytes between chips), the hardware that supplies each, how GPUs, TPUs and the other accelerators compare on them, the scale a number was measured at, and the arithmetic for choosing and costing hardware, with six child pages for the depth. Tabs: Chip atlas, Performance calculator, Roofline lab (measured on an Apple M1 Pro GPU; no NVIDIA GPU was used). Data as of October 2026. Reading: 31 min, plus 3 in closed details.

The idea

The idea. A training or serving step needs three things: arithmetic, bytes from memory and bytes between chips. Every part of an accelerator system exists to supply one of them, and the step runs at the speed of whichever runs out first; choosing hardware is finding that resource before you pay for the others.

The running example is one training step of Llama 3.1 8B, an ordinary dense transformer with 8,030,261,248 parameters (32 layers, hidden size 4,096, 8 key-value heads; counted from its config.json, an open mirror of Meta's gated repository): 64 sequences of 8,192 tokens, 524,288 tokens in all illustrative batch, the step the Performance calculator animates. Fig. 1 is the page: the step's hardware from the inside out, each part lit where it acts, with the child page that owns it.

  1. One step, three demands. The step needs 2.53 × 1016 FLOPs of arithmetic, 128.5 GB of state held in memory and 16.06 GB of gradients exchanged between chips, plus the building that powers and cools them. Drawn: two 8-GPU H100 servers joined by a network illustrative layout. Read down this list for the order the page takes; each step lights one part and links the child page whose own figure teaches it.
  2. Arithmetic: tensor cores inside the SMs. 6 × parameters × tokens. Nearly all of it is matrix multiplication, done by the tensor cores, four in each of an H100's 132 SMs (16 drawn, one lifted out). On one H100 at 40% of its 989.5 TFLOPS dense BF16 peak: 64 s derived: 2.53e16 / (989.5e12 × 0.4). Systolic arrays do the same job on a TPU (step 8). Owner: GPU architecture, whose Fig. 1 draws one H100 SXM to its counts and Fig. 2 one SM. Sections 1, 2 and 4.
  3. Bytes from memory: HBM beside the die. 16 bytes per parameter for mixed-precision Adam, before activations. HBM stacked beside the die holds 80 GB on an H100 and feeds it at 3.35 TB/s; SRAM on the die is far smaller. Against the 128.5 GB of state, one H100 does not fit, so the state is sharded. Owner: Memory technology, whose Fig. 1 walks one H100 server from the die outward and Fig. 2 sets HBM against GDDR7; the state item by item is Performance math's Fig. 3. Section 3.
  4. Bytes on the wire, inside the server: NVLink. Every GPU must end with the sum of everyone's bf16 gradients, every step. Inside one HGX server, NVLink through NVSwitch gives each H100 450 GB/s each way: a ring all-reduce over 8 GPUs sends 28.1 GB per GPU, 62.5 ms derived. Owner: Interconnects and scaling, whose Fig. 2 sets one 8-GPU server's switch against a mesh. Section 6.
  5. Across servers: the network. Between servers, InfiniBand or RoCE, one 400 Gb/s NIC per GPU, gives 50 GB/s each way: a factor of 9 below NVLink, and the same all-reduce takes 0.56 s. That gap decides which parallelism may cross it (section 6). Owner: Interconnects and scaling, whose Fig. 1 is the whole ladder on two HGX H100 servers and Fig. 5 shows where each parallelism sends its traffic.
  6. The building: watts and failures. Power in, heat out: 700 W per H100, about 1.2 kW per Blackwell GPU; liquid cooling above about a kilowatt; at 16K GPUs something fails every few hours, and one failure stops every GPU of the job. Owner: Power, cooling, reliability and the data centre, whose Fig. 1 follows one gigawatt from the grid to the GPU and out as heat, Fig. 2 one second of coolant for a rack and Fig. 3 one failure stopping every GPU. Section 8.
  7. Across all of it: the arithmetic that predicts the step. Each resource takes its demand over its rate, and the largest wins: on 8 H100s at 40% MFU the arithmetic takes 8.0 s, the gradient all-reduce 62.5 ms over NVLink (0.56 s if it crossed the network), so here the arithmetic runs out first (roofline, MFU, memory and time budgets, cost). Owner: Performance math, whose Fig. 1 lays three counts over one H100 and Fig. 2 draws the step's FLOPs as a volume. Sections 5 and 9; tools on this page: Chip atlas, Performance calculator, Roofline lab.
  8. Other bets beside it. The same three demands, answered differently: a TPU multiplies in a systolic array (128 × 128 cells on v2 to v5, 256 × 256 on v6e) whose operands pass from cell to cell on a compiler's schedule; Cerebras keeps the model on one wafer, 46,225 mm2 with 44 GB of SRAM at 21 PB/s. Owner: TPUs and other accelerators, whose Fig. 2 runs 80 multiply-adds cycle by cycle, Fig. 3 builds a TPU cube and its rings and Fig. 4 a wafer as one chip. Sections 1 and 7.

A map, not a mechanism: each step lights the part one child page owns and links that child's own figure. The three demands come from the Performance calculator's count (16 bytes per parameter: bf16 weights and gradients, an fp32 master copy and two fp32 Adam moments; activations add about 57 GB more at micro-batch 1, counted on Performance math). Counts drawn (16 SMs, two servers, one network switch, one failed GPU) are illustrative; the bar heights in steps 3 and 7 are the page's numbers to scale.

You need: what a matrix multiply, a training step and a decoder layer are. Nothing on the hardware side is assumed.

New terms on this page (13)
FMA
fused multiply-add, a × b + c in one instruction: 2 FLOPs
SM
streaming multiprocessor, NVIDIA's GPU core
tensor core
a unit that does a small matrix multiply per instruction
systolic array
a grid of multiply-accumulate cells that pass operands to their neighbours
SRAM, DRAM
on-die memory (fast, small) and off-die memory (dense, slower)
HBM
DRAM dies stacked beside the processor on an interposer
arithmetic intensity
FLOPs per byte moved
ridge point
peak FLOP/s over bandwidth; below it an operation is memory-bound
MFU
model FLOPs utilisation, useful FLOPs over peak
scale-up, scale-out
the fast fabric inside a server or rack, and the network between them
RDMA
a network card writing straight into another machine's memory
all-reduce
every GPU ends with the sum of everyone's data
MX, NVFP4
block-scaled 8-, 6- and 4-bit formats
How numbers are labelled
measured here on the Apple M1 Pro this page was built on (a real 16-core SIMT GPU; no NVIDIA GPU was available), scripts and raw runs in the Roofline lab; vendor spec, dated; independent third-party measurements, kept apart; derived with the formula shown; announced for parts not yet shipping. Tensor-core figures are dense unless they say otherwise: headline numbers often assume 2:4 structured sparsity, which doubles them and which training rarely uses. Vendor figures fetched on 2026-10-05 unless dated.

Neighbours: programming the GPU (threads, kernels, Triton, profilers) is Topic: cuda-and-gpu-programming; the TPU's software is Topic: jax-and-tpu; the CPU underneath is C++: the machine underneath; parallelism strategies are Distributed Training.

1. Why GPUs: three ways to do a matrix multiply

Almost all of the step's FLOPs are matrix multiplications: huge, regular (no data-dependent branches) and predictable (every address known in advance). A fused multiply-add (FMA) is the unit of work, 2 FLOPs. Three designs answer that workload differently:

EngineWhere its transistors goHow it hides memory latencyFMAs per cycle per core
CPU coreGuessing: branch prediction, out-of-order execution, big cachesCaches and speculation, for one fast thread16 (M1 Pro performance core: 4 units × 4 fp32 lanes)
GPU core (NVIDIA: SM)Arithmetic lanes and registers for thousands of threadsSwitches to another group of threads that is ready128 fp32 lanes (M1 Pro GPU core, H100 SM)
Tensor core (inside the SM)A small matrix multiply per instruction instead of one FMA per laneAs the SM16 times the SM's own lanes (H100)
Systolic array (TPU and most other accelerators)A grid of multiply-accumulate cells; weights stay put while activations flow cell to cellNone needed: a compiler schedules every transfer ahead of time128 × 128 cells (TPU v2 to v5), 256 × 256 (v6e)

M1 Pro CPU: about 102 GFLOP/s at 3.2 GHz, measured 97.5 GFLOP/s in C++: the machine underneath, section 9 measured here; GPU core 128 lanes at 1.296 GHz (metal-benchmarks independent); H100 SM 128 fp32 lanes and four tensor cores (NVIDIA Hopper in depth vendor spec); array sizes from How To Scale Your Model.

Width beats clock: the same tile on four engines, one time axis

Each square is a 4 × 4 block of the output. The H100 clock, 1.83 GHz, is derived from 989.5 TFLOPS dense BF16 / (132 SMs × 4,096 FLOPs per cycle), where 4,096 is the A100 SM's 1,024 dense FP16 FMAs per clock (A100 whitepaper) doubled for Hopper, as How To Scale Your Model also gives; measured per-core rates 97.5 GFLOP/s (CPU) and 5.01 TFLOP/s / 16 = 313 GFLOP/s (GPU) measured here. On the whole M1 Pro the 16 GPU cores at 5,008 GFLOP/s beat the 8 CPU threads by a factor of 8.9.

Predict before it plays: the GPU core runs at 1.296 GHz, the CPU core at 3.2 GHz. Which finishes the same tile first, and by how much? The same 64 × 64 × 64 piece of a matrix multiply (262,144 FMAs) is given to four engines on one time axis; the buttons on the figure pick two of them.

  1. t = 0: the same tile everywhere. Every engine starts the same tile: 4,096 outputs, each a dot product of length 64, so 262,144 FMAs. Time runs at the same rate for all of them.
  2. 70 ns: the H100 SM's tensor cores finish. 128 cycles at 1.83 GHz. Tensor cores do a small matrix multiply per instruction, so one SM finishes 2,048 FMAs per cycle. This is where the 989.5 TFLOPS of an H100 come from; its ordinary lanes alone give 67 TFLOPS of FP32.
  3. 1,119 ns: the same SM's CUDA cores finish. 2,048 cycles. Same SM, ordinary lanes: 128 FMAs per cycle, 16 times fewer than its tensor cores. A matmul that does not use tensor cores (fp32 without TF32, an odd shape, a hand-written loop) leaves most of the chip idle.
  4. 1,580 ns: one M1 Pro GPU core finishes. 2,048 cycles at 1.296 GHz. 128 lanes, 8 times the CPU core per cycle; at less than half the clock it still finishes about 3 times sooner. Measured: 313 GFLOP/s per core against 97.5 for the CPU core.
  5. 5,120 ns: the CPU core finishes. 16,384 cycles at 3.2 GHz: 16 FMAs per cycle (4 units × 4 lanes). Its transistors went to running one thread fast, not to arithmetic width. Measured 97.5 GFLOP/s, 95% of its 102.4 peak.

The costs. A GPU thread is slow and a GPU is bad at anything sequential or branchy, so the CPU stays: it runs Python, launches every kernel and feeds the data (the symptom table in section 10). A systolic array reads each operand from memory once and reuses it hundreds of times without a register file, which saves energy, but anything that is not a large dense matmul runs on a much slower vector unit, and the program goes through a compiler (XLA).

Go deeper. The SM, warps and tensor cores as silicon: GPU architecture. Systolic arrays from zero, with a cycle-level simulator (Fig. 2, 80 multiply-adds cycle by cycle), and the machines built on them: TPUs and other accelerators. The CPU side: C++: the machine underneath.

2. Inside a GPU: the parts every other page names

A GPU must keep tens of thousands of lanes fed while memory takes hundreds of cycles to answer; its layout follows from that. The H100 is the reference because most published training numbers were measured on it. Six parts, each defined once here and taught on GPU architecture:

SMThe building block: an H100 SXM enables 132 of the 144 on its die (the spares absorb defects). Four sub-partitions, each with a scheduler, 32 fp32 lanes and one tensor core.
Warp32 threads issued one instruction together (SIMT). Up to 64 warps stay resident per SM; while one waits for memory, another computes. The share of slots filled is occupancy.
Register file256 KB per SM, the largest and fastest memory on the chip: 33.0 MiB across 132 SMs derived. It is why switching warps is free.
Shared memory and L1256 KB per SM, up to 228 KB of it a scratchpad the program fills by hand to reuse a tile.
L2 cache50 MB shared by all SMs, between them and HBM.
HBM80 GB in 5 stacks beside the die, 3.35 TB/s (section 3).

Sources: NVIDIA Hopper in depth, Hopper tuning guide, H100 product page vendor spec.

What a root must say about GPUs. Peak FLOPS are tensor-core FLOPS, reached only when the matmuls are big enough to fill every SM with tiles and the data arrives in time; everything else (normalisation, softmax, the optimizer) runs on the ordinary lanes, a sixteenth of the tensor-core rate in fp32, and is usually memory-bound anyway (section 5). Each generation adds a format and machinery to keep the tensor cores fed: Hopper's TMA copy engine and FP8, Blackwell's tensor memory, FP4 and two dies presented as one GPU. nvidia-smi "utilization" only says some kernel was running; the profiler's tensor-pipe utilisation is the real number.

Go deeper. The H100 drawn to its counts (Fig. 1) and one SM (Fig. 2), latency hiding, per-generation limits, the tensor core generation by generation from Ampere to Rubin, floorplans, and the AMD MI-series chip beside it: GPU architecture. Occupancy and warps from the programmer's side: Topic: cuda-and-gpu-programming. Every SM count, cache and clock side by side: Chip atlas.

3. Memory: capacity against bandwidth

Memory has two numbers that pull against each other: capacity (what fits) and bandwidth (bytes per second to the chip). SRAM sits on the processor die (registers, shared memory, caches: about 120 MB on an H100), answers in a few cycles and costs area; DRAM holds the gigabytes on separate dies, and accelerators differ mainly in how it is packaged:

MemoryWhere it sitsExampleCapacityBandwidth
HBMDRAM dies stacked beside the GPU on a silicon interposer; a very wide bus (1,024 bits per stack for HBM3, 2,048 for HBM4)H100 SXM, 5 HBM3 stacks; B200, HBM3e80 GB; 180 to 192 GB3.35 TB/s; 8 TB/s
GDDR7Separate chips around the GPU on the board; a narrow bus clocked fastRTX 5090, 512-bit bus at 28 Gbps per pin32 GB1.79 TB/s
LPDDR5In the processor's package, shared by CPU and GPUApple M1 Pro (this laptop)16 GB here200 GB/s published, 165 measured
SRAM onlyNo DRAM for the model: weights spread over many chips' SRAMGroq 3 LPX rack announced, 256 chips128 GB per rack40 PB/s per rack

Sources: Rambus on HBM, H100, DGX B200, RTX Blackwell whitepaper, Apple M1 Pro, Groq vendor spec; 165 GB/s from the Roofline lab measured here. B200 is 180 GB per GPU in DGX and HGX B200 and 186 to 192 GB in other listings; the Chip atlas keeps each SKU apart.

Why bandwidth bounds decode. Generating one token at batch 1 reads every weight once to do one FMA with it, so time per token ≈ bytes of weights / bandwidth: Llama 3.1 8B's 16.06 GB at 3.35 TB/s is 4.8 ms, so at most about 209 tokens per second on an H100, while its tensor cores sit idle 99.7% of the time derived. Measured on this laptop's GPU, one 8,192 × 8,192 fp16 linear layer (134 MB of weights) took 0.80 ms at batch 1, reading weights at 168 GB/s, the memory's full speed, and 64 times the arithmetic at batch 64 took only 3.52 ms measured here: batching is how serving turns bandwidth-bound decode into compute-bound work (for this 8B model on an H100 the Performance calculator puts the crossover around batch 308 at short context). Divide bandwidth by capacity and you get the ceiling for a model that fills the chip:

What it decides for training. Capacity decides how the step is split: 128.5 GB of state does not fit one 80 GB H100, so it is sharded (ZeRO, FSDP on Distributed Training) or activations are recomputed. Bandwidth sets the speed of everything that is not a big matmul, including the optimizer update, which reads and writes every byte of state once per step. Serving adds the KV cache, 128 KiB per token for this model, whose sizing is Long context's.

Go deeper. From a DRAM cell to HBM4, GDDR7, LPDDR, energy per bit, the measured cache ladder, CXL and offload, and why bandwidth bounds decode: Memory technology. Memory per chip for every accelerator: Chip atlas. Memory for any model, precision and context: Performance calculator.
A full chip's model cannot decode faster than its memory can be read: full-memory reads per second

Bandwidth / capacity, the batch-1 tokens-per-second ceiling of a model that fills the memory, whatever the FLOPS. Vendor figures (H200 141 GB at 4.8 TB/s, MI300X 192 GB at 5.3 TB/s, MI355X 288 GB at 8 TB/s, TPU v6e 32 GB at 1,638 GB/s, TPU7x 192 GiB at 7,380 GB/s; sources in the Chip atlas); M1 Pro measured. derived

4. Numbers: formats and what the silicon accelerates

A byte saved per number is saved three times: in capacity, in bandwidth and, when the tensor cores have a path for the format, in arithmetic (a smaller multiplier fits more times in the same area), so halving the bits roughly doubles peak FLOPS. The price is range and precision. The formats a training engineer meets:

FormatBits: sign, exponent, mantissaWhere it is used in training
FP321, 8, 23Master weights and optimizer states; accumulators inside the tensor cores
TF321, 8, 10NVIDIA's tensor-core mode for fp32 inputs (Ampere on): fp32 range, BF16-like precision, stored as 32 bits
BF161, 8, 7The default for weights, activations and gradients: fp32's range, so no loss scaling needed
FP161, 5, 10More precision, much less range; needs loss scaling to keep small gradients from flushing to zero
FP8 (E4M3, E5M2)1, 4, 3 and 1, 5, 2Matmul inputs in FP8 training (Hopper on), with a scale per tensor or per block
FP6 (E3M2, E2M3), FP4 (E2M1)6 and 4 bitsMostly inference and quantised weights (Blackwell, MI355X); FP4 training is research

Block scaling. An 8-, 6- or 4-bit number cannot cover the spread of values in a whole tensor, so the newest formats give each small block of values its own scale factor. The OCP MX formats (MXFP8, MXFP6, MXFP4, MXINT8) share one 8-bit power-of-two scale (E8M0) per block of 32 values (OCP MX spec v1.0, Sep 2023). NVIDIA's NVFP4 uses blocks of 16 with an FP8 (E4M3) scale, plus one FP32 scale per tensor (NVIDIA, Jun 24 2025). The scales cost bits: MXFP4 stores 4 + 8/32 = 4.25 bits per value, NVFP4 4 + 8/16 = 4.5 derived. Blackwell's tensor cores apply the scales in hardware, inside the multiply.

Predict, then switch the format below: going from BF16 to FP8, which of these chips get no faster at all?

What it shows. A chip only gets faster at a format it has silicon for: the A100 has no FP8 path, the H100 no FP4, TPU v6e lists no FP8 figure, and on those chips the smaller format saves memory but not arithmetic. Within a chip each halving doubles the peak (H100: 989.5 BF16, 1,979 FP8; B200: 2,250, 4,500, 9,000). And consumer cards are half-rate where training lives: the RTX 5090 does 419 TFLOPS of FP16 with FP16 accumulation but 209.5 with the FP32 accumulation that training needs (RTX Blackwell whitepaper, Appendix A).

The cost. FP8 training needs a scale per tensor or per block and keeps master weights, the optimizer and accumulation in higher precision; Llama 3 405B reported its throughput in BF16 (Llama 3, Table 4), DeepSeek-V3 trained in FP8 mixed precision (DeepSeek-V3 report). A run that is unexpectedly slow on a new GPU is often doing its matmuls in a format the tensor cores do not accelerate.

Go deeper. Which formats each GPU generation's tensor cores run, and at what rate: the child page GPU architecture. How the bits encode a number, rounding, and where each format overflows: Numerical computing for ML. Quantising a model to these formats and what it costs in quality: Quantization and Precision. Every chip's peak in every format, dense and sparse: Chip atlas.

5. The roofline and MFU: which resource runs out

Each chip has two speeds, peak FLOP/s and memory bandwidth; each operation needs a certain number of FLOPs per byte it moves, and that number says which speed it gets. This is the page's core idea in one formula:

time ≈ max( FLOPs / peak FLOP/s , bytes / bandwidth )
AI
Arithmetic intensity: FLOPs per byte moved, a property of the operation and its shapes
ridge
peak FLOP/s / bandwidth: below it the operation is memory-bound, above it compute-bound (the roofline)

The batch is the intensity. A linear layer reading bf16 weights does about one FLOP per byte per token that shares the weight read: decode at batch 1 sits near 1, a training step with thousands of tokens per sequence far right of every ridge, and elementwise operations below 1 on every chip ever made (which is why they are fused). A third regime, overhead-bound, is the GPU waiting on Python and launches. Ridge points compared, dense, in FLOPs per byte, are in the chart.

The ridge stopped rising at BF16
It doubled from A100 (153) to H100 (295) and then fell slightly on B200 (281), because Blackwell grew bandwidth (3.35 to 8 TB/s) as fast as BF16 FLOPS; announced Rubin falls further, to 182 (4 PF BF16 dense over the Rubin blog's 22 TB/s of HBM4; 208 with the Vera Rubin NVL72 page's 19.2 TB/s). It keeps rising only in the new formats: B200 at FP8 is 562.5, at FP4 1,125. Low precision makes an operation more compute-hungry per byte, which is why low precision and big batches go together. (The old notes said the ridge "rises every generation".)

MFU: how far below the roof a run sits. Model FLOPs utilisation = tokens per second × 6N / (chips × dense peak in the matmuls' format). Counting recomputed FLOPs too gives hardware FLOPs utilisation (HFU), which flatters. Llama 3 405B on 16,384 H100s reported 400 TFLOP/s per GPU and 41% MFU (400 / 989.5 = 40.4% recomputed), 43% on 8,192 GPUs and 38% at 131,072-token sequences (Llama 3, Table 4): around 40% is what a very well tuned dense run at scale reaches. For the running example at 40% MFU the step's arithmetic takes 64 s on one H100, 8.0 s on 8 and 1.0 s on 64 derived; the Performance calculator adds memory and communication and finds 1.17 s on 64 GPUs with hybrid sharding (34% MFU) but 1.95 s with flat FSDP across all 64 (20%). The difference is the network (section 6).

Attention adds FLOPs beyond 6N at long context; the Performance calculator counts them as PaLM's 12LHQT, the full score square (the convention of published MFUs), while a causal kernel does about half. Both conventions, counted on the real model: Performance math.

Go deeper. 6ND and its corrections counted on the real 8B, the roofline taught with one movable point, memory budgets, MFU and HFU rebuilt from published runs, serving bounds and costing: Performance math. The M1 Pro's measured roofline with real kernels on it, beside published rooflines of datacenter chips: Roofline lab.
The ridge doubled from A100 to H100, then stopped rising at BF16: ridge points, dense, FLOPs per byte

Peaks and bandwidths from sections 3 and 4 (A100 SXM 80 GB: 312 TFLOPS BF16, 2,039 GB/s, NVIDIA A100) derived. The M1 Pro point uses the measured fp16 peak (5.06 TFLOP/s) and copy bandwidth (165 GB/s) from the Roofline lab: ridge 30.7 measured here.

6. Joining chips: why the network picks your parallelism

The state does not fit one GPU and the arithmetic would take 64 s on one, so the step is split, and the GPUs must exchange at least the 16.06 GB of gradients. The links form a ladder, each rung roughly an order of magnitude slower than the one above:

Memory: one chipHBM3 / HBM3e: 3.35 / 8 TB/s.
Scale-up: one server or rackNVLink 4 (H100) / NVLink 5 (Blackwell) through NVSwitch chips: 450 / 900 GB/s per GPU each way. 8 GPUs in an HGX server; 72 in a GB200 or GB300 NVL72 rack.
Host link: one serverPCIe 5.0 x16, about 63 GB/s each way: CPU to GPU, NIC to GPU, and between consumer cards.
Scale-out: thousands of serversInfiniBand NDR (400 Gb/s) or RoCE Ethernet, one NIC per GPU: 50 GB/s each way; XDR is 800 Gb/s.

Vendor figures usually add both directions: NVLink 4 is "900 GB/s total" (Hopper in depth), NVLink 5 "1.8 TB/s" per GPU (Blackwell); halved here. InfiniBand: Quantum-X800; an AWS p5 server has 400 Gb/s per GPU (AWS p5). PCIe 5.0: 32 GT/s per lane derived. vendor spec

Definitions. Scale-up links (NVLink with NVSwitch, AMD Infinity Fabric, Google's ICI) join a small group of chips closely enough to read each other's memory; the group is the NVLink domain. Scale-out links (InfiniBand, or RoCE: RDMA over Ethernet) join servers through switches and reach tens of thousands of GPUs. An all-reduce leaves every GPU with the sum of everyone's data; a ring all-reduce sends 2(N−1)/N times the data per GPU, so the 8B's gradients over 8 H100s are 28.1 GB per GPU: 62.5 ms over NVLink 4, 0.56 s over one 400 Gb/s NIC per GPU derived.

The rule that spans this topic. With 8 GPUs the step's arithmetic takes 8.0 s, so even the InfiniBand all-reduce is small and overlaps the backward pass: data parallelism tolerates the slow network. Tensor parallelism all-reduces activations twice per layer forward and twice back, on the critical path between layers: for Llama 3.1 70B with 8-way tensor parallelism at 8,192 tokens that traffic is 16% of the layer's compute time over NVLink but 141% over a 400 Gb/s NIC (the Performance calculator). So tensor and expert parallelism stay inside the NVLink domain; pipeline and data parallelism cross servers. Llama 3 405B used tensor parallelism of 8, exactly one server, in every configuration (Llama 3, Table 4); DeepSeek-V3, with 160 GB/s NVLink and 50 GB/s InfiniBand on H800s, avoided tensor parallelism entirely (DeepSeek-V3 report). The NVL72 rack exists to make the domain 72 GPUs instead of 8; TPUs instead join chips directly to their neighbours over ICI in a torus, with optical switches between 64-chip cubes.

Depth: two quick estimates

Two RTX 5090s in one workstation have no NVLink, only PCIe 5.0 (about 63 GB/s each way). Their ring all-reduce of the 8B's 16.06 GB of gradients sends 2 × 1/2 × 16.06 = 16.06 GB per GPU: at 63 GB/s that is 255 ms derived. Workable for data parallelism with a long step; tensor parallelism across PCIe pays that price on every layer.

Llama 3 trained on RoCE at 400 Gb/s per GPU in a three-layer network of 24K GPUs (Llama 3 report); DeepSeek-V3 used 16-way pipeline, 64-way expert parallelism across 8 nodes and ZeRO-1 data parallelism, and its all-to-all kernels needed only 20 SMs to saturate both links.

Go deeper. The whole ladder drawn on two HGX H100 servers (Fig. 1), one server's switch against a mesh (Fig. 2) and where each parallelism sends its traffic (Fig. 5); latency and bandwidth, PCIe, NVLink and NVSwitch, RDMA, InfiniBand against RoCE, fat trees, tori, dragonflies and optical switches, collective algorithms and their cost models, link intensity: Interconnects and scaling. How the parallelisms compose in real runs: Distributed Training. All-reduce time for any size over any link: Performance calculator. Clusters in practice: Topic: ml-infra-and-orchestration.

7. The landscape: what each vendor is betting on

Every accelerator answers the same three demands with a different bet about which one matters most. One row each, with the numbers that show the bet; every spec, dense and sparse, is in the Chip atlas.

WhoThe betThe numbers that show itThe cost
NVIDIA (A100 to B300; Rubin next)General-purpose GPUs, the software everyone targets first (CUDA, NCCL), and a scale-up domain grown from 8 GPUs to 72 per rackDense BF16 312, 989.5, 2,250 TFLOPS (A100, H100, HGX B200); Vera Rubin 4 PF and 288 GB of HBM4 per GPU (NVIDIA, May 31 2026); Google's A5X, the first Vera Rubin cloud capacity, went live for one customer on 21 October 2026 (not generally available on that date; NVIDIA blog)Price and supply
AMD Instinct (MI300X to MI455X)More memory per GPU at similar computeMI300X 192 GB when H100 had 80; MI355X 288 GB at 8 TB/s, 2,516.6 TFLOPS BF16 dense (AMD MI355X); MI455X brings a 72-GPU rack, HeliosSoftware: an independent test found BF16 matmuls at about 620 TFLOP/s on MI300X against 1,307 peak, and about 720 on H100 against 989.5 (SemiAnalysis, Dec 22 2024): spec sheets do not rank chips
Google TPU (v5e to TPU7x Ironwood)Systolic arrays and a compiler instead of threads and caches; switchless torus pods9,216 Ironwood chips per pod, each 2,307 TFLOPS BF16 with 192 GiB at 7.38 TB/s (TPU7x docs)JAX and XLA (or PyTorch/XLA); rented from Google
AWS Trainium (Trainium2, Trainium3)Vertical integration: chip, NeuronLink, Neuron SDK and data centre, priced against NVIDIA's marginTrainium2 667 TFLOPS BF16, 96 GiB at 2.9 TB/s (Neuron docs); Trainium3 UltraServers join up to 144 chipsPorting to Neuron
Intel Gaudi 3Ethernet everywhere: 24 × 200 GbE RDMA ports on the chip serve both scale-up and scale-out, so a node needs no switch chip1,835 TFLOPS BF16 (and FP8 at the same rate), 128 GB of HBM2e at 3.67 TB/s, two compute dies (Hot Chips 2024)An 8-chip domain; the successor stayed a test chip
SambaNova (SN40L)Capacity and dataflow: a third memory tier and whole subgraphs fused into one pipelined kernel520 MiB of SRAM, 64 GiB of HBM and up to 1.5 TiB of DDR per socket; 638 TFLOPS BF16 (Prabhakar et al. 2024)Bought as systems or used as a cloud service
Groq (now NVIDIA Groq 3 LPX)No DRAM for the model: weights in SRAM across many chips, every transfer scheduled by the compilerLPX rack announced: 256 LPUs, 128 GB of SRAM, 40 PB/s (Groq)Hundreds of chips to hold one model; the bet is batch-1 latency
Cerebras (WSE-3)Do not cut the wafer: a model that fits never crosses a chip boundaryOne 46,225 mm2 chip, 900,000 cores, 44 GB of SRAM at 21 PB/s (Cerebras, Mar 13 2024); the 125 PF headline is sparseWhole systems (CS-3, up to 27 kW each)

Machine by machine, with each design's mechanism and what it changes in training code (and Etched, in-house ASICs and who can buy each): TPUs and other accelerators; the AMD chip itself: GPU architecture. Dated availability (Helios shipping, TPU deals, rental prices) is in the tech-news issues.

Go deeper. Every machine in depth: TPUs and other accelerators. All of these chips side by side with per-chip, per-server and per-rack toggles, a timeline and ratio charts: Chip atlas. The software sides: Topic: jax-and-tpu and, for AMD (ROCm, HIP), Topic: cuda-and-gpu-programming.

At what scale was that number measured?

Hardware numbers are quoted per chip, per server, per rack, per pod and now per gigawatt, and they are not interchangeable: per chip decides what fits, per scale-up domain which parallelism is affordable (section 6), per megawatt how much a power connection can host. Before comparing two figures, put them at the same scale and the same format, dense on both sides. What the scales look like:

Scale (Blackwell, dense BF16)ChipsPeakHBM
One GPU (HGX B200)12.25 PF180 GB
One server (DGX B200, about 14.3 kW)818 PF1.44 TB
One rack (GB200 NVL72)72180 PF13.4 TB
One gigawatt of facility power derivedabout 466,000about 1,050 EFabout 84 PB

Sources: HGX 8-GPU totals divided by 8; DGX B200; GB200 NVL72 (360 PF listed with sparsity, so 180 dense). The gigawatt row is 1 GW / (14.3 kW / 8 × 1.2): DGX B200 power per GPU (servers with CPUs and NICs, not switches or storage) and an assumed facility overhead (PUE) of 1.2; an order of magnitude, not a plan. The same name can mean two peaks: the GB200 version of the B200 runs at 2.5 PF BF16 dense, the HGX version at 2.25.

Chip, package, rack, pod: the same numbers at four scales
Die shot of NVIDIA's GA100, the A100's chip: a grid of repeated SM blocks around a central L2 strip
ChipThe A100's die: count the repeated SM blocks.
Kurnal Insights, CC BY 3.0, Wikimedia Commons
A Tesla P100 package with its lid removed: the GPU die in the middle and four HBM2 stacks beside it on an interposer
PackageMemory sits millimetres from the die: four HBM stacks around a P100.
Fritzchens Fritz, CC0, Wikimedia Commons
Front of a GB200 NVL72 rack: stacked compute trays above and below a middle band of NVLink switch trays
RackA GB200 NVL72: 72 GPUs in one NVLink domain; the switch trays sit in the middle.
Pokiiri, CC BY-SA 4.0, Wikimedia Commons
A row of eight tall TPU v4 racks in a data centre, part of one 4,096-chip pod
PodEight of the 64 racks of one 4,096-chip TPU v4 pod.
Jouppi et al. 2023, CC BY 4.0, arXiv:2304.01433

8. Power, cooling, reliability: the building is part of the machine

Three facts change how every other section is read. Watts per chip keep rising: A100 400 W, H100 700 W, Blackwell up to 1,200 W and Blackwell Ultra 1,400 W per GPU (NVIDIA, Aug 22 2025), MI355X 1,400 W, MI455X up to 2,500 W; above about a kilowatt per chip air gives way to liquid, so a 9,216-chip Ironwood pod spans "nearly 10 MW" (Google, Apr 2025) and comparisons are now quoted per megawatt. Lockstep jobs swing the grid: Llama 3's cluster saw its power draw move by "tens of megawatts" as all GPUs paused and resumed together. Failures are a hardware number: a 54-day snapshot of Llama 3 405B training on up to 16K H100s had 419 unexpected interruptions, about 78% attributed to confirmed hardware issues (Llama 3 report, Table 5), so checkpoint speed and automatic restart are part of the hardware budget, and MFU measured between failures overstates a run's real throughput.

Go deeper. One gigawatt from the grid to the GPU and out as heat (Fig. 1), a rack's coolant (Fig. 2) and one failure stopping every GPU (Fig. 3); power per chip, rack and site, the per-gigawatt planner, air against liquid against immersion, power swings, Llama 3's failures by part (with the table's misprint corrected), job MTBF and the checkpoint interval: Power, cooling, reliability and the data centre. Recovery designs and detecting silent corruption: Fault tolerance at scale.

9. Choosing and costing hardware for a job

Five lines of arithmetic before you rent anything, each from a section above:

  1. Memory (section 3): bytes of state (16 per parameter for mixed-precision Adam, 2 per parameter for bf16 inference, plus activations or KV cache). Does it fit one GPU, one server, or does it need sharding?
  2. Compute (section 5): 6 × parameters × tokens, divided by chips × dense peak × an assumed MFU (30 to 40% for a tuned dense run) gives the wall-clock time.
  3. Roofline (section 5): is the batch per GPU large enough to be compute-bound? Decode at small batch is bandwidth-bound: tokens per second ≈ bandwidth / bytes per token.
  4. Communication (section 6): bytes per step for each kind of parallelism against the link it crosses. Tensor and expert parallelism must fit inside the NVLink domain.
  5. Cost: chip-hours × price, with the price's date and terms.
Worked example: fine-tune Llama 3.1 8B on 1 billion tokens derived
  • Memory: 128.5 GB of state; sharded over 8 GPUs that is 16 GB each, which fits an 80 GB H100 with room for activations.
  • Compute: 6 × 8.03 × 109 × 109 = 4.8 × 1019 FLOPs. On 8 H100s at 40% MFU: 4.2 hours. On 8 B200s (2,250 TFLOPS dense each): 1.9 hours.
  • Communication: everything inside one 8-GPU NVLink server; the 16 GB gradient all-reduce (62.5 ms on NVLink 4) is small next to each step.
  • Cost at on-demand list prices (Lambda, fetched 2026-10-05: H100 SXM $3.99, B200 $6.69 per GPU-hour): about $135 on H100s, about $99 on B200s. The newer chip costs more per hour and less per job, if the software reaches the same MFU on it.
  • Rental prices can rise as well as fall: Nebius lists H100 at $4.50 and H200 at $5.40 per GPU-hour on demand (Nebius, fetched 2026-10-19), up from $3.85 and $4.50 before 1 October 2026 (Uvik GPU price index). Reprice with the date before you trust the total.

Choosing, by job. Pretraining or full fine-tuning of a large model: the biggest NVLink domain and the most HBM you can get, then the network (InfiniBand or tuned RoCE, one NIC per GPU). Fine-tuning a small model, or LoRA: one 8-GPU server, or even one GPU. Batch-1 latency (chat, agents): bandwidth per dollar, or SRAM-based systems. Throughput serving: FLOPs per dollar at high batch, and memory capacity for the KV cache. Local development: a consumer GPU (fast, 32 GB, no NVLink, half-rate FP32-accumulate training math) or a Mac (slow but large unified memory). In every case the first question is whether your software stack runs well on it: a cheaper peak that your kernels cannot reach is not cheaper.

Go deeper. The arithmetic behind these estimates, derived and checked, with the full cost of a run: the child page Performance math. Every step of this arithmetic, for any model, chip, precision and cluster, with presets checked against published runs: Performance calculator. Prices and specs for every chip: Chip atlas.
Peak per dollar-hour, on-demand list prices

GPUs: Lambda 8-GPU instances per GPU-hour; TPUs: Google Cloud per chip-hour on demand (TPU pricing); both fetched 2026-10-05. Peaks are vendor figures, not achieved throughput; reserved and committed prices are lower and differ by provider; a TPU also means JAX or PyTorch/XLA. A ranking, not a quote. derived

10. The child pages, and "my training is slow"

The depth is on six child pages, each built around the same Llama 3.1 8B running example. Times are each page's Reading tab, as its header states on 2026-11-12.

GPU architectureSMs, warps, register files and caches as silicon, latency hiding, the tensor core and its throughput generation by generation, floorplans and dies, Ampere to Rubin, and the AMD MI-series chip. Deepens sections 1 and 2. Child page, about 36 min, plus 8 in closed details.
Memory technologyDRAM and SRAM cells, HBM, GDDR and LPDDR packaging, energy per bit, the measured cache ladder, tiers including CXL, offload arithmetic, why bandwidth bounds decode. Deepens section 3. Child page, about 28 min, plus 9 in closed details.
TPUs and other acceleratorsSystolic arrays from zero, inside a TPU, generations and slices, AMD boards and Helios, Trainium, Groq, Cerebras, Gaudi, SambaNova and who can get each. Deepens sections 1 and 7. Child page, about 38 min, plus 7 in closed details.
Interconnects and scalingLatency and bandwidth, PCIe, NVLink and NVSwitch, RDMA, InfiniBand against RoCE, topologies from fat trees to TPU tori and optical switches, collective cost models, link intensity. Deepens section 6. Child page, about 35 min, plus 14 in closed details.
Performance mathFLOPs counted on the real model, the roofline, memory budgets, MFU and HFU, measuring and predicting, serving bounds, costing a run: the arithmetic behind the Performance calculator. Deepens sections 5 and 9. Child page, about 24 min, plus 11 in closed details.
Power, cooling, reliability and the data centrePower per chip, rack and site, the per-gigawatt view, air against liquid, power swings, failures at scale and the checkpoint interval. Deepens section 8. Child page, about 28 min, plus 3 in closed details.

"My training is slow": symptoms at the hardware level

The one table that needs every child: each symptom, its likely resource, and where it is taught.

SymptomLikely causeHow to checkSection
GPU "utilization" high but MFU lowKernels running but memory-bound (elementwise ops, small matmuls) or not using tensor cores (fp32 matmuls)Profiler: time by kernel, achieved bandwidth and tensor-pipe use; matmul dtypes2, 4, 5
GPU idle between kernelsCPU-bound: Python, launches, the data loaderTimeline (torch.profiler, Nsight Systems): gaps between kernels; data loader wait time1
Out of memory, or forced to a tiny batchState plus activations exceed HBMmax_memory_allocated; the 16 bytes per parameter count3
Throughput falls as GPUs are addedCommunication that does not overlap, or traffic crossing a slow tierNCCL time in the timeline; which parallelism crosses which link6
Fine on 8 GPUs, slow on 16Tensor or expert parallelism now spans serversMap each parallel group to NVLink domains6
Same code, slower on one nodeA degraded GPU, link or NIC, or thermal throttlingnvidia-smi clocks and power; per-rank step times; NCCL bandwidth tests8
Runs restart oftenHardware failures at scale (GPUs, HBM)Failure logs; checkpoint time against time between failures8
New GPU barely faster than the old oneSoftware not using the new formats or features; bound by bandwidth or networkRoofline position of the hot kernels on both chips4, 5
Depth: interview rehearsal, short answers
Why is LLM decode memory-bound and training compute-bound?
Arithmetic intensity is about the number of tokens that share each weight read. Decode at batch 1 uses each 2-byte weight for one FMA, about 1 FLOP per byte, far below an H100's ridge of 295; a training step has thousands of tokens per weight read, far above it (section 5).
Estimate the batch-1 decode speed of an 8B bf16 model on one H100.
16 GB of weights per token at 3.35 TB/s: 4.8 ms, so at most about 209 tokens per second, before the KV cache and overheads (section 3).
How much memory does full fine-tuning of a 7 to 8B model need?
About 16 bytes per parameter for mixed-precision Adam (bf16 weights and gradients, fp32 master weights and two moments), so about 128 GB for 8B, plus activations: more than one 80 GB GPU, so shard (ZeRO, FSDP) or use LoRA.
What is MFU and what is a good value?
Useful model FLOPs per second (6N × tokens per second) over the chips' dense peak. About 40% is very good for a large dense run at scale (Llama 3 405B: 38 to 43%); under 20% points to a bottleneck. HFU also counts recomputation and is higher.
Why does tensor parallelism stay inside a node?
It all-reduces activations twice per layer forward and twice backward, on the critical path. For a 70B model with 8-way tensor parallelism that costs 16% of the compute time over NVLink and 141% over a 400 Gb/s NIC (section 6, from the Performance calculator).
What does a ring all-reduce cost?
Each GPU sends 2(N−1)/N times the data (a reduce-scatter then an all-gather), so time ≈ 2S / link bandwidth for large N, independent of N apart from latency.
What did Hopper and Blackwell add to the tensor core, physically?
Hopper: FP8, a per-SM copy engine for tiles (TMA), warpgroup-wide asynchronous matrix multiplies, clusters of SMs sharing shared memory. Blackwell: FP6, FP4 and block-scaled formats, 256 KB of tensor memory per SM for accumulators, two dies acting as one GPU.
GPU or TPU: what is the real difference?
Thousands of threads hiding latency with parallelism and caches, programmable at the kernel level, against large systolic arrays scheduled by a compiler with software-managed on-chip memory and switchless torus pods. Per-chip peaks are now comparable; the differences are flexibility, ecosystem, pod scale and price.
Why do vendors quote sparse FLOPS, and what should you use?
2:4 structured sparsity doubles the tensor-core rate if half of every four weights are zero. Dense training and most inference do not use it, so compare dense figures on both sides.
An H100 run is slow on B200s. What do you check first?
Whether the software uses the new hardware: kernels built for the new architecture, the matmul formats (FP8, FP4 paths), larger batches to stay above a ridge that did not move at BF16, and whether communication, not compute, became the limit.