Before you start: words you need#
| Word | Plain meaning |
|---|---|
| SM (streaming multiprocessor) | The GPU’s basic building block: a small processor with its own schedulers, registers and arithmetic units (4.a). |
| GPC (graphics processing cluster) | A group of SMs that share some hardware. |
| Tensor core | The unit inside an SM that does small matrix multiplications very fast (4.f). |
| Interposer | A thin slab of silicon that the GPU die and memory stacks sit on, so thousands of short wires can join them. |
| Yield | The fraction of chips from a wafer that work. Big chips have lower yield. |
| FMA | Fused multiply-add: a × b + c in one step. One FMA counts as 2 FLOPs. |
| Machine balance | Peak FLOP/s ÷ memory bandwidth: how many operations per byte a program must do to keep the chip busy (2.f, 6.a). |
1. What is it?#
Hopper is NVIDIA’s 2022 data-center architecture. Its flagship, the H100, is the best-documented AI chip ever made and still the largest installed base in 2026, so it is the one to know by heart. The H200 is the same chip with more and faster memory.
An H100 is one large die (GH100) in the middle of a package, surrounded by stacks of HBM, all sitting on a silicon interposer. The die is a grid of 8 GPCs, each holding 18 SMs; 132 of the 144 SMs are switched on. Each SM is split into 4 partitions, each with its own scheduler, registers, 32 FP32 lanes and one tensor core.
Learn this one floorplan and every later NVIDIA GPU reads as a variation of it: more SMs, a second die, different memory, a faster link. Facts checked on 11 November 2026.
2. Why does it matter?#
- Most production inference in 2026 still runs on Hopper. Rental prices fell as Blackwell arrived: market indexes put an H100 at roughly $2–3 per GPU-hour in November 2026, with hyperscaler on-demand list prices several times higher. That makes it the cheapest serious serving GPU for many models.
- Every optimised kernel you will read about — FlashAttention-3, FP8 GEMMs, vLLM’s attention backends — was first written for Hopper’s hardware features. To understand them you need this chip.
- The H100 → H200 change is the cleanest experiment in the industry: same compute, more memory bandwidth, and inference got about 1.4x faster. It proves the central claim of Module 2.
3. Simple analogy#
A GPU die is a factory floor. The GPCs are halls, the SMs are workshops in each hall, the partitions are workbenches in each workshop, and the tensor core is the power tool on each bench. The HBM stacks are warehouses next to the factory, and the interposer is the private road between factory and warehouses. The H200 did not add a single workbench; it built bigger warehouses and a wider road — and the factory got faster, because the workers had been waiting for materials.
4. Tiny example#
Why does one user’s chat run so far below the H100’s peak?
- Generating one token for one user multiplies each weight by one number: 2 FLOPs per weight.
- At FP8 each weight is 1 byte. So the work is 2 FLOPs per byte read.
- An H100 SXM5 can do 1,979 TFLOP/s of FP8 but read only 3.35 TB/s. To keep the tensor cores busy it needs 1,979 ÷ 3.35 ≈ 590 FLOPs per byte.
2 versus 590: one user uses well under 1% of the chip’s arithmetic. Only when roughly 300 users’ tokens are computed together (each weight read once, used 300 times) does the H100 become compute-bound. That is why batching (2.d, 12.j) is the economic heart of inference.
5. Technical explanation#
From package to lane#
Read the package drawing from the outside in:
- The module. An SXM5 board carries the package, power delivery for 700 W and the NVLink connectors to the HGX baseboard.
- The package. A CoWoS-S silicon interposer holds the die and the HBM stacks side by side. The interposer exists because a 5,120-bit memory bus needs thousands of wires a few millimetres long; no circuit board can route that.
- The die. 814 mm² and 80 billion transistors on TSMC 4N, close to the largest die a lithography machine can expose in one shot (the reticle limit, about 830 mm²).
- GPCs. Eight graphics processing clusters. A GPC groups 9 TPCs, each of two SMs. The GigaThread engine hands thread blocks to GPCs (4.c).
- SMs. 144 on the full die; 132 on the H100 SXM5 (114 on the PCIe card). A die that large almost always has defects; designing in spare SMs and fusing off the bad ones turns a defective die into a sellable one. This is why every H100 has a slightly different set of working SMs.
- Partitions and lanes. Inside each SM, four schedulers each issue one warp instruction per clock to their own 32 FP32 lanes, 16 INT32, 16 FP64, 8 load/store units, 4 special-function units and one tensor core:
What Hopper added#
Hopper is the generation where the GPU was redesigned around transformers:
| Feature | What it does | Why it mattered |
|---|---|---|
| FP8 tensor cores + Transformer Engine | Matrix maths in 8-bit floats, with scaling managed in software | Doubled throughput over FP16 for training and inference (13.e) |
wgmma (warpgroup MMA) | Four warps issue one large asynchronous matrix multiply together | Keeps the tensor cores fed while threads do other work |
| TMA (Tensor Memory Accelerator) | One thread describes a whole tile copy; hardware does it | Frees registers and threads from address arithmetic |
| Thread block clusters + distributed shared memory | Blocks on neighbouring SMs read each other’s shared memory | Bigger tiles without a round trip through L2 (4.d) |
| NVLink 4 + third-generation NVSwitch | 18 links, 900 GB/s per GPU | 8-GPU tensor parallelism without the network (9.c) |
| Confidential computing | Encrypted, attested GPU memory | Regulated workloads on shared clouds |
FlashAttention-3 and the fast FP8 GEMMs in cuBLAS and CUTLASS are built around wgmma and TMA.
Code written for the older A100-style mma.sync instruction runs on Hopper, but at a fraction of
peak.
H100 variants and H200#
| H100 PCIe | H100 SXM5 | H100 NVL | H200 (SXM) | |
|---|---|---|---|---|
| SMs | 114 | 132 | 132 | 132 |
| Memory | 80 GB HBM2e | 80 GB HBM3 | 94 GB HBM3 | 141 GB HBM3e |
| Bandwidth | 2.0 TB/s | 3.35 TB/s | 3.9 TB/s | 4.8 TB/s |
| Power | 350 W | 700 W | 400 W | 700 W |
The H200 is the same GH100 die. The only change is the memory: all six HBM sites filled, with faster HBM3e. That alone makes it about 1.4x faster at memory-bound decode and lets a 70B model at FP8 fit on one GPU with room for a KV cache. For LLM inference, memory is the product.
The numbers, derived#
NVIDIA’s 989 TFLOP/s of dense BF16 is a product of four counts:
132 SMs × 4 tensor cores × 512 FMA per clock per tensor core × 2 FLOP per FMA × 1.83 GHz
= 989 TFLOP/sFP8 doubles the FMAs per clock: 1,979 TFLOP/s. The “with sparsity” figures double again, but only for weights pruned to a 2-of-4 pattern, which almost no production LLM uses. Quote dense numbers.
6. Under the hood#
The program derives the peak numbers and shows, for each batch size, whether decode is memory- or compute-bound — the calculation from section 4, done properly.
// hopper.go — derive H100's peak numbers and the arithmetic intensity it needs.
package main
import "fmt"
type GPU struct {
Name string
SMs int
TensorFMAPerClkPerSM float64 // dense BF16 FMAs per clock per SM
ClockGHz float64 // clock NVIDIA's tensor figures assume
BandwidthTBs float64
}
func main() {
gpus := []GPU{
{"H100 PCIe", 114, 2048, 1.62, 2.0},
{"H100 SXM5", 132, 2048, 1.83, 3.35},
{"H200", 132, 2048, 1.83, 4.8},
}
fmt.Println("GPU BF16 TF FP8 TF balance BF16 balance FP8 (FLOP per byte)")
for _, g := range gpus {
bf16 := float64(g.SMs) * g.TensorFMAPerClkPerSM * 2 * g.ClockGHz / 1000 // TFLOP/s
fp8 := 2 * bf16
fmt.Printf("%-11s %8.0f %8.0f %14.0f %13.0f\n",
g.Name, bf16, fp8, bf16/g.BandwidthTBs, fp8/g.BandwidthTBs)
}
// Decode at batch 1 multiplies a weight matrix by one vector: 2 FLOPs per weight,
// and each FP8 weight is 1 byte. Intensity 2 FLOP/byte, far below the balance.
fmt.Println("\nbatch intensity (FLOP/byte, FP8 weights) regime on H100 SXM5")
for _, b := range []int{1, 8, 64, 256, 512, 1024} {
ai := 2.0 * float64(b)
regime := "memory-bound"
if ai >= 1979/3.35 {
regime = "compute-bound"
}
fmt.Printf("%5d %35.0f %s\n", b, ai, regime)
}
}The first table reproduces NVIDIA’s 989 and 1,979 TFLOP/s for the SXM5 (and the PCIe card’s 756, at its lower clock). The second shows decode staying memory-bound until about 300 tokens are processed together. In real engines the KV cache reads (12.e) add bytes per token, so the crossover comes even later.
7. Performance implications#
- Decode is bandwidth-bound at any realistic batch for long contexts; the H200’s 4.8 TB/s makes it ~1.4x faster than the H100 on the same model.
- Prefill is compute-bound and runs near FP8 peak with good kernels; H100 and H200 are about equal there.
- FP8 halves bytes per weight versus BF16, so it speeds up decode almost 2x and doubles peak compute — the single most valuable Hopper feature for inference (13.e).
- Hopper has no FP4 tensor cores. FP4 weights can be stored and unpacked to FP8, saving memory and bandwidth, but the arithmetic itself does not get faster as it does on Blackwell (7.c).
8. Production implications#
- Capacity: a 70B model at FP8 (70 GB) does not leave room for a useful KV cache on an 80 GB H100; serve it on two H100s with tensor parallelism (14.c) or one H200.
- Topology: an HGX H100 board connects 8 GPUs through NVSwitch at 900 GB/s each. Tensor parallelism inside the board is cheap; across boards it uses the much slower network (9.d).
- Kernel choice matters: engines pick Hopper-specific attention and GEMM kernels (17.c). Running an old build or the wrong backend can lose half the performance.
- Economics in 2026: H100s are the “value” tier. For models that fit, cost per token on rented H100s is often competitive with newer parts at their higher prices; measure (23.c).
9. Common mistakes#
- Quoting sparse FLOPs. The “with sparsity” number is twice the real dense number.
- Expecting H200 to speed up prefill. It barely does; it is a memory upgrade.
- Treating a fused-off SM as a fault. All H100s have 12 disabled SMs by design.
- Assuming the PCIe H100 equals the SXM5. Fewer SMs, lower clock, much less bandwidth and no full NVLink.
10. Hands-on exercise#
- Run
hopper.go. Change the H100 SXM5 bandwidth to the H200’s 4.8 TB/s and find the new batch at which decode turns compute-bound. - Using the package drawing, estimate how many SMs each instance gets in a 7-way MIG split (21.d).
- On a machine with an H100, run
nvidia-smi -q | grep -i -A2 clocksunder load and compare the clock to the 1.83 GHz used above.
11. Interview questions#
- Why does the H100 package need a silicon interposer?
- What changed between H100 and H200, and what did not? What does that tell you about LLM inference?
- Derive 989 TFLOP/s from the SM count and the clock.
- Why is a single user’s decode memory-bound on any H100?
- Which Hopper hardware features does FlashAttention-3 rely on, and why?
12. Further reading#
Checked on 11 November 2026.
- NVIDIA H100 Tensor Core GPU Architecture whitepaper
- NVIDIA Hopper architecture in depth
- NVIDIA H200 product page
- FlashAttention-3 (Shah et al., 2024) — how
wgmmaand TMA are used - GPU rental price index (H100, H200, B200) and Lambda pricing — rental prices move monthly