The GPU for Inference Engineers

What the hardware does during inference, and why it explains every serving technique.

GPU FOR INFERENCE · 0148 SMs · 24 MiB L2 · 273 GB/s DRAM

A GPU in One Picture: SMs, Warps, and Memory

The parts of a GPU that decide inference speed, from streaming multiprocessors to DRAM, with one real GPU's numbers and three measurements.

GPU FOR INFERENCE · 02DECODEPREFILL

The Roofline for LLMs: Why Decode Is Memory-Bound

Where prefill and decode sit against a GPU's compute and memory limits, and why batching, quantization, and speculative decoding work, with an interactive roofline.

GPU FOR INFERENCE · 031×128 TILES · 128×128 BLOCKSFP8ONE SCALE PER TILE

DeepGEMM: The Matrix Multiplications Behind DeepSeek's Models

What DeepGEMM computes for DeepSeek's models: block-scaled FP8 and FP4 matrix multiplications, grouped GEMMs for MoE experts, and the fused Mega MoE kernel.