Articles

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.

SERVING IN PRODUCTION · 04ONE TOKEN · SIX EXPERTS · 64 GPUSEP64DISPATCH AND COMBINE

Expert Parallelism, and What DeepEP Does for It

Why serving a big MoE model means spreading its experts over many GPUs, what dispatch and combine cost, and how DeepEP and its V2 redesign make it fast.

INFERENCE ENGINES · 02ROUTING · KEPTENGINES · OPENKV STORE · KEPT

DeepInfer: What DeepSeek Open-Sourced, and What It Kept

DeepSeek's open-source engine runs one model on Blackwell and Ascend: why it came out, what the code shows, what was kept back, and what it means for vLLM users.

LLMS EXPLAINED · 0348 LAYERS · 3 LINEAR : 1 SPARSE1/9TRAINING FLOPS

Qwen3.8-Flash-Next, Layer by Layer

Qwen's preview of its next architecture, piece by piece: linear and sparse attention, a gated four-branch residual, 512 experts and an n-gram memory, and what each costs to serve.

LLMS EXPLAINED · 02189 GiB OF N-GRAM MEMORY12.4 KiBREAD PER TOKEN

Engram: Memory You Look Up Instead of Compute

DeepSeek's Engram adds a hashed n-gram memory that a model looks up instead of computing: how it works, why it helps, and how DeepSeek-V4.1 and Qwen serve it.

SERVING IN PRODUCTION · 03SAME BENCHMARK,THREE RUNSMEDIAN TTFT 819 · 1,132 · 894 MS

Benchmark an Inference Server Without Lying to Yourself

Common load-test mistakes made on purpose next to the correct run, on one vLLM server, so each rule comes with how far it moves the numbers.

QUANTIZATION · 09AFTERTRAINEDWEIGHTS THAT SURVIVE ROUNDING

Quantization-Aware Training: When the Model Learns Its Own Precision

Why Kimi K2 Thinking ships in INT4 and gpt-oss and K3 in MXFP4: training with rounding in the loop, explained and measured on a small model.

CUDA FOR INFERENCE · 01xyy[i] = a·x[i] + y[i], ONE THREAD EACH235 GB/s, 86% OF THE MEMORY

Your First CUDA Kernel, Compiled and Profiled

Write SAXPY in CUDA, compile it for a Blackwell GPU, check it, time it, and read what Nsight Systems and Nsight Compute say about it.

BUILDING WITH AI · 01CACHED HISTORY+ NEW TOOL OUTPUT21 TURNS, 90% READ FROM CACHE

A 27B Model as Your Local Agent: What It Can and Can't Do

Real coding-agent turns replayed on a 27B model on one desk-side GPU: what the prefix cache saves, how many agents fit, how well it calls tools.

QUANTIZATION · 08ONE TOKEN× QROTATEDOUTLIER 29.8× → 2.1×, PRODUCT UNCHANGED

Rotations for 4-Bit Activations: QuaRot, SpinQuant, and Friends

A rotation flattens activation outliers and, on real layers, rescues INT4 activations. On Qwen3-8B in NVFP4, it cost 5 GSM8K points instead.

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.

QUANTIZATION · 13BF16QUANTIZEDSAME SCORE, DIFFERENT ANSWERS

Measuring the Damage: Evaluations That Catch Quantization Errors

GSM8K said every 4-bit format matched BF16. A noise baseline, paired comparisons, token-level KL, and a code benchmark showed which ones did not.

Page 1 of 5Older