Nov 21, 2026
Inside a Mixture-of-Experts Layer: From Router to GEMM
Follow a ten-expert MoE through normalization, router logits, grouped GEMMs, and the residual stream, then derive the gradients.
Read post →Tagged With
4 posts connected to this tag.
Nov 21, 2026
Follow a ten-expert MoE through normalization, router logits, grouped GEMMs, and the residual stream, then derive the gradients.
Read post →
Oct 19, 2026
From scalar wx+b through housing GEMM, AdamW and Muon, a nonlinear FFN, and a measured scaling spectrum.
Read post →Jul 19, 2026
Follow an LLM request from tokenization through prefill, KV-cache construction and decode, then see why CPU projections become GEMM or GEMV and how CKE compares them with llama.cpp.
Read post →
Jun 4, 2026
A step-by-step explanation of how scalar wx+b becomes matrix Wx+b, how shape rules govern transformer layers, and why GEMM is the physical kernel underneath modern models.
Read post →I write about the maths, the kernels, and what happens when I try to make them work. Join me for the investigations, including the bits that go wrong.
Get the illustrated field guide by email, followed by engineering notes as I write them.