1. Foundations
8 entriesStart here: how transformers generate text, why decoding is memory-bound and how to reason about latency and throughput.
2. Core Serving Papers
10 entriesThe research behind modern inference engines. Read these alongside the code.
3. Quantization & Compression
11 entriesFit larger models on less hardware and speed up decoding.
4. Hands-On with Inference Engines
14 entriesRun, read and benchmark real serving stacks.
5. KV Cache & Distributed Serving
10 entriesScale beyond one GPU: cache reuse, offloading, expert parallelism and prefill/decode split.
6. GPU Programming & Kernels
9 entriesUnderstand what the engines do underneath.
7. Benchmarking & Evaluation
5 entriesMeasure latency, throughput, cost and quality before and after each optimization.
8. University Courses & Lectures
6 entriesFree course sites with slides, readings and assignments.
9. Engineering Blogs & Curated Lists
13 entriesOngoing reading from teams that run inference at scale.
Related Pages
12 entriesMore on LLM inference on this site.
Frequently Asked Questions
What is LLM inference engineering?
It is the practice of serving large language models efficiently: reducing latency and cost per token, increasing throughput and fitting models onto available hardware using techniques such as batching, KV caching, quantization and optimized kernels.
Where should a beginner start?
Start with the Foundations section: the Hugging Face LLM Course, Andrej Karpathy's GPT build, and the inference arithmetic and Brrrr articles. Then read the PagedAttention and FlashAttention papers and run vLLM or SGLang.
Which inference engine should I learn first?
vLLM and SGLang are open-source, well documented and widely used, so they are good starting points. TensorRT-LLM suits NVIDIA-specific optimization, and llama.cpp or MLX suit local and Apple silicon use.
What is the difference between prefill and decode?
Prefill processes the whole prompt in parallel and is compute-bound. Decode generates one token at a time and is usually memory-bandwidth-bound, which is why KV cache management and batching matter.
Do I need to know GPU programming?
Not to start. Serving engines hide most of it. For deeper optimization, learning CUDA or Triton helps, and the GPU Programming section lists free practice resources.
Are all these resources free?
Links go to free-to-read papers, documentation, code and course material. Some platforms may ask you to sign in, and certificates or graded versions of courses may cost money. Links were checked in November 2026.