Inference Engineering

I. Start Here

An ordered reading path that builds the mental model behind every other section: what happens to a request, where time and memory go, and why the hardware behaves the way it does.

10 entries

  1. Inference Engineering Book

    Free book by Philip Kiely that frames inference engineering as a discipline, from hardware and runtimes to optimization and deployment.

    freemium

  2. How to Scale Your Model — Inference Book

    Derives prefill and decode costs, batching limits, and KV cache memory from first principles, with worked latency estimates.

  3. Transformer Inference Arithmetic Article

    Back-of-the-envelope math for FLOPs, weight and KV bytes, and communication during transformer inference.

  4. LLM Inference Handbook Book

    Practitioner handbook on inference metrics, optimization techniques, and deployment patterns, originally published by BentoML.

  5. Making Deep Learning Go Brrrr From First Principles Article

    Explains why a workload is bound by compute, memory bandwidth, or overhead, and what to do about each case.

  6. GPU Glossary Docs

    Hyperlinked reference that explains GPU hardware and CUDA software terms from streaming multiprocessors to PTX.

  7. Inside vLLM: Anatomy of a High-Throughput LLM Inference System Article

    Walks through a modern engine end to end, from the scheduler and paged KV cache to prefix caching, speculative decoding, and disaggregation.

  8. Efficiently Scaling Transformer Inference Paper

    Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.

    MLSys 2023

  9. Defeating Nondeterminism in LLM Inference Article

    Shows that batch-dependent reduction order, not concurrency, makes outputs vary, and builds batch-invariant kernels to fix it.

  10. AI Systems Performance Engineering Book

    Code and labs for Chris Fregly's O'Reilly book on profiling-driven GPU, distributed training, and inference tuning.

    Apache-2.0 · 2.2k stars · Updated 2026-11