Inference Engineering

Inference Engineering.

A curated atlas of the inference stack, from the API request down to the GPU kernel.

Fig. 1 The stack

  1. Applications

    Verticals 81 · Providers & clouds 40

    Request
  2. Gateways

    Gateways & routing 23

  3. Serving

    Distributed serving 48

  4. Kernels & compilers

    Kernels & GPU programming 49 · Compilers & runtimes 19

  5. Silicon
  1. Across every layer

    Benchmarking 30 · Observability 31

  2. For reading

    Start here 10 · Learning 68 · Case studies 25

Index

  1. I
  2. II
  3. III
  4. IV
  5. V
  6. VI
  7. VII
  8. VIII
  9. IX
  10. X
  11. XI
  12. XII
  13. XIII
  14. XIV
  15. XV
  16. XVI
  17. XVII
  18. XVIII

Start here

  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

2026-11-10 Recently added

  1. CloudGPU Service

    On-demand GPU rental with an OpenAI-compatible model API, billed from the same prepaid balance, for training, inference, and ComfyUI work.

    GPU Clouds · commercial

  2. DeepInfer Tool

    DeepSeek's production engine, released for offline inference with expert parallelism, batch invariance, and Blackwell and Ascend support.

    Datacenter Engines · Apache-2.0 · 26k stars · Updated 2026-11

  3. Contrastive Language Model (CLM) Tool

    Decision model that trains state and action heads on frozen Qwen3-8B embeddings, so candidate actions are encoded once and ranked against each new state.

    Decision Models · experimental · Apache-2.0 · 3.2k stars · Updated 2026-10

  4. Laya Tool

    Non-autoregressive multilingual decision models with a Python runtime that routes each request to a checkpoint and can run on CPU, GPU, or ONNX Runtime.

    Decision Models · Apache-2.0 · 36k stars · Updated 2026-11

  5. DeepSelect Library

    Top-k selection kernels for the lightning indexer in DeepSeek Sparse Attention and for token samplers, on CUDA and Ascend.

    Kernel Libraries · MIT · 550 stars · Updated 2026-09

  6. NVIDIA Run:ai Tool

    GPU orchestration platform for Kubernetes with quota-based fair sharing, fractional GPUs, and a multi-cluster control plane for training and inference.

    Autoscaling, Scheduling & Multi-Cloud · Apache-2.0 · 779 stars · Updated 2026-11

  7. AISimulate Tool

    Predicts serving latency and throughput from measured operator data and searches aggregated and disaggregated configs offline; succeeds AIConfigurator.

    Simulators & Capacity Planners · Apache-2.0 · 141 stars · Updated 2026-11

  8. MoonEP Library

    Expert-parallel communication library that equalizes per-rank token load by planning redundant experts online from router outputs.

    Collective Communication · MIT · 1.2k stars · Updated 2026-10

  9. vLLM QAIC Plugin Tool

    Hardware plugin that serves inference through the Qualcomm Cloud AI Compiler on Cloud AI 100 and 100 Ultra accelerators.

    Other Accelerators & ASICs · Apache-2.0 · 15 stars · Updated 2026-11

  10. NeMo Switchyard Library

    Rust routing library, embeddable in gateways or agent harnesses, that picks a model per request or agent step to balance task success against cost.

    Model Routing & Cascades · Apache-2.0 · 3.7k stars · Updated 2026-11