Modular handbook maps the hidden costs of LLM inference, from KV cache to prefill/decode splits
udmrzn · x · 2026-07-28
What the handbook covers
Modular’s LLM Inference Handbook is a practical reference for deploying and scaling LLMs in production. It walks through the main performance metrics — time to first token, tokens per second, throughput and goodput — and explains why inference often becomes the bottleneck once you move from demos to real workloads.
Key topics
- Model and GPU selection
- Quantization
- Continuous batching
- KV cache growth and memory planning
- Speculative decoding
- Prefill/decode disaggregation
- Distributed deployment patterns such as BYOC and on-prem
It also includes interactive calculators and visual tools to help estimate memory usage, understand how context length affects KV cache, and see why concurrency quickly shifts the system bottleneck from model execution to queueing, latency, and memory pressure.
Related event: Modular Releases LLM Inference Handbook to Optimize Deployment(2 posts)→
More from Infra
- Fully open-source FPGA toolchain lands for the $4 Vicharak Shrike board — Obijuan_cube · 2026-12-02
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02
- DeepSeek's Claimed 83.4% Ascend 950DT Margin Debunked: Losing ¥36.6/Hour at 60% Utilization — teortaxesTex · 2026-12-02
- One number = +27%: raising MLX's 20-op CUDA graph cap on DGX Spark boosts Qwen3 to 430 tok/s — AIFlow_ML · 2026-12-02
- Polymarket: Jensen Huang admits under oath Nvidia AI chips were diverted to China — Polymarket · 2026-12-02
- China pours billions into optical chips for AI data centers despite US curbs threat — pstAsiatech · 2026-12-02