Lorenzo Tettamanti and I, just sat down and wrote LLM Systems Engineering because it was the book we wanted when we started trying to understand why serving language models behaves the way it does. The latest version of a work that took at least 7 months, is out today.
It’s about the layer under the API: how the GPU runs a forward pass, where the memory goes, what the scheduler does every few tens of milliseconds, and how all of it breaks under real load.
Most of it follows from one ratio. An H100 can do roughly 300 FLOPs for every byte it reads from HBM, and decode at batch 1 does about one, because generating a token reads every weight once: two bytes per parameter in BF16, for about two FLOPs per parameter.
Batching fixes that for the weights, since one read serves every sequence in the batch.
It doesn’t fix attention, because every sequence reads its own KV cache. Paged attention, continuous batching, prefix caching, speculative decoding and quantization are all ways of dealing with what’s left.
The worked case study takes Llama-3-70B for 1,000 concurrent users, and fixing the memory layout alone takes the cluster from 144 GPUs to 12.
There’s also a walk-through of SGLang serving DeepSeek-V3 on 96 H100s, and an H100 benchmark catalog built on MLPerf results.
Around that it goes from the roofline and FlashAttention to chunked prefill, disaggregated serving, tail-latency collapse, admission control, vLLM V1 internals, MoE and Mamba-style hybrids, serving thinking models, and what self-hosting costs against a vendor API.
This long form work basically exists because the earlier versions had mistakes or incorrect information.
We went back through all and all of it against primary sources, corrected figures, replaced back-derived benchmarks with MLPerf results, added GB200 NVL72 data, reworked the case study and the cost method, and updated the engine landscape. Anything time-sensitive is dated.
You can check the whole range of numbers. Every derived figure is worked out in the text and recomputed by a small Python module, derive.py, whose source is printed in Appendix D, and is almost ready to be published.
Measured figures come from the published sources cited next to them; we didn’t re-measure them. FLOP rates are dense tensor-core rates throughout.
It’s for engineers who build or run inference infrastructure. It assumes CUDA and transformers, and it doesn’t cover prompt engineering, RAG or fine-tuning. If you’re starting from zero, we think that Philip Kiely’s free Inference Engineering is a better first book.
If you find something wrong, tell us with a comment or in the chat. Corrections that make it into a later version are credited and totally welcomed.
It’s $49 for the PDF, 148 pages. If you bought version 1, 2.0 is already in your Gumroad library: lorenzobrada.gumroad.com/l/tllvn







144 GPUs down to 12 from memory layout alone. That's the slide for anyone about to buy more H100s.