Gigatoken: making tokenisation care about the hardware
A first-principles tour of the SIMD scanners, cache-aware layouts, huge pages and worker scheduling behind Gigatoken.
Notes on Building AI Systems
A first-principles tour of the SIMD scanners, cache-aware layouts, huge pages and worker scheduling behind Gigatoken.
Guide to the DeltaNet Family of linear attention mechanisms.
Single-node serving throughput for DeepSeek-V4-Flash: baseline, MLA/DP-attention, and MoE kernel choice.
Why scale-up links are fast and short, how NVSwitch grew the domain from a board to a rack, and what TPU, UALink, and scale-up Ethernet do differently.
Freezing a live CUDA process to host memory and thawing it again, what the driver does — and doesn't — do to make that work, and how understanding that lets us restore CUDA processes up to 4x faster.
Some thinking about how to trade off batching and speculative decoding in a running inference engine.
We rebuilt Moonshot's Kimi agent swarm and pointed it at a real codebase: ~53× fewer tokens and ~45× cheaper than one long-context agent.
Tracing one vector-add kernel from nvcc all the way down to the warps that execute it.
Using artificial analysis benchmarks we try to predict when an open source LLM will be released that matches frontier LLMs.
A breakdown of the modelling choices of three new and popular diffusion language models.
Extending SGLang to improve it's offloading capabiltiies, achieving speedups for compute bound workloads.
A follow-on to the economics of speculative decoding, we run the inference lab simulator on MTP & DFlash drafters with real acceptance data, and find out whether adaptively choosing the draft length is worth it.