Sleepy Capybara
Articles on how large language models are trained and served.
Inference and Serving
- November 24, 2026Inside Y Combinator’s Inference Boom: Pivots, Stale Benchmarks, and Kernel Theater
What YC’s roughly sixty inference startups actually ship, read from their launch posts, benchmarks, pricing pages and job boards
- November 17, 2026Fast Tokens Don't Pay for Themselves: Inside the Coming Inference and Neocloud Shakeout
Why fast, low-concurrency inference loses money, and what that means for the neoclouds selling it
- November 17, 2026What a fast DeepSeek-V4.1-Flash token costs to serve
Interactive. Hardware cost per million output tokens for one fast stream on B200, B300, GB200, GB300 and MI355X, against what providers charge.
- November 8, 2026The memory architecture of fast inference
Fast inference aligns model state with the memory hierarchy. On installed GPUs, reuse and persistent execution come first; specialized memory earns its cost only when compulsory traffic still dominates.
- October 25, 2026Decode Megakernels in 2026
Where the time goes in one GLM-5.3 decode step, and how SGLang, vLLM, TensorRT-LLM and research groups win that time back
- October 10, 2026DeepEP
4-part series. How DeepSeek's expert-parallel communication library moves tokens between GPUs, one major release at a time, in four parts.
- October 8, 2026How GPUs Talk to Each Other During LLM InferenceDraft
From NCCL to NVLink Multicast: A Look at Multi-GPU Communication in SGLang
Blackwell Kernels
- October 13, 2026Inside FlashInfer’s SM100 GEMM
3-part series. FlashInfer's block-scaled FP4 GEMM for Blackwell, taken apart in three parts: the tile and the instruction, the pipeline around it, and how a tactic is chosen.
- October 13, 2026The SM100 Memory Hierarchy, from HBM to Tensor Memory
Every memory space of a datacenter Blackwell GPU, measured on a B300, and where FlashInfer's NVFP4 GEMM keeps each piece of its data, global scale included
- October 13, 2026Using TMA Load, Prefetch, and Multicast Load in CuTe DSL
How to move a tile of a tensor into shared memory with the Tensor Memory Accelerator, written in Python with CuTe DSL and run on a B300
Training and RL
- October 17, 2026Where an RL Rollout's Time Goes on a Large MoE
One inference step of a 745-billion-parameter mixture-of-experts model, taken apart mechanism by mechanism, with the numbers that decide which one is your problem
- October 17, 2026Ten Bugs in RL Post-Training That Do Not Crash
What each one looks like in the metrics, why it happens, how to find it, and what the fix looks like in real code
- October 9, 2026One Training Step and Its Data
What a training step of a large language model computes and stores, and how Megatron turns tokenized text into the batches that feed it
- October 8, 2026Understanding Reasoning LLMs in 2026
How today's open models learn to think, from DeepSeek-R1 to DeepSeek V4.1, Kimi K3 and GLM-5.3
Answers to Stupid Questions
Short answers to small questions about training and serving LLMs.
- October 9, 2026Is the MoE All-to-All an All-Gather Plus a Reduce-Scatter?
How the two all-to-alls of an MoE layer line up with the two halves of an all-reduce
Essays
- November 16, 2026Who Vouches for Interns
A response to Jason Wei’s “The fall of ‘what you can do’ and the rise of ‘who you know’”, written about the intern side of the market
Courses
- CS152: Computer Architecture (Berkeley, Spring 2026)
Lecture slides and notes, side by side
- CS336: Language Modeling from Scratch (Stanford, Spring 2026)
Lecture slides and notes, side by side, with PDF notes