Inference Engineering.
A curated atlas of the inference stack, from the API request down to the GPU kernel.
Fig. 1 The stack
- Request
Applications
Verticals 81 · Providers & clouds 40
-
Gateways
-
Serving
-
Engines
-
Techniques
Compression 26 · Decoding 22 · KV cache & attention 32 · Scheduling & parallelism 31
-
Kernels & compilers
- Silicon
Hardware
-
Across every layer
Benchmarking 30 · Observability 31
-
For reading
Start here 10 · Learning 68 · Case studies 25
Index
- I
Start Here 10
- II
- III
- IV
- V
- VI
- VII
- VIII
- IX
- X
- XI
- XII
- XIII
- XIV
- XV
Verticals 81
Reasoning & Test-Time Compute · Multimodal & Omni Models · Image & Video Generation · Speech & Real-Time Audio · Embeddings, Reranking & Retrieval · Decision Models · Agents & Compound AI · RL Rollouts & Post-Training · Robotics & Embodied AI · Diffusion Language Models · Classical ML & RecSys
- XVI
- XVII
- XVIII
Start here
Free book by Philip Kiely that frames inference engineering as a discipline, from hardware and runtimes to optimization and deployment.
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.
Transformer Inference Arithmetic Article
Back-of-the-envelope math for FLOPs, weight and KV bytes, and communication during transformer inference.
Practitioner handbook on inference metrics, optimization techniques, and deployment patterns, originally published by BentoML.
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.
GPU Glossary Docs
Hyperlinked reference that explains GPU hardware and CUDA software terms from streaming multiprocessors to PTX.
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.
Efficiently Scaling Transformer Inference Paper
Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.
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.
AI Systems Performance Engineering Book
Code and labs for Chris Fregly's O'Reilly book on profiling-driven GPU, distributed training, and inference tuning.
2026-11-10 Recently added
CloudGPU Service
On-demand GPU rental with an OpenAI-compatible model API, billed from the same prepaid balance, for training, inference, and ComfyUI work.
DeepInfer Tool
DeepSeek's production engine, released for offline inference with expert parallelism, batch invariance, and Blackwell and Ascend support.
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.
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.
DeepSelect Library
Top-k selection kernels for the lightning indexer in DeepSeek Sparse Attention and for token samplers, on CUDA and Ascend.
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.
AISimulate Tool
Predicts serving latency and throughput from measured operator data and searches aggregated and disaggregated configs offline; succeeds AIConfigurator.
MoonEP Library
Expert-parallel communication library that equalizes per-rank token load by planning redundant experts online from router outputs.
vLLM QAIC Plugin Tool
Hardware plugin that serves inference through the Qualcomm Cloud AI Compiler on Cloud AI 100 and 100 Ultra accelerators.
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.