LLM inference reading list
Curated research papers, handbooks, and release-pinned official documentation behind modern LLM serving. Pair these primary sources with our plain-English technical guides, 50 Python coding problems, and GPU memory calculator.
Model development libraries
Primary documentation for writing model code, tensor operations, tokenizers, and compilation.
- PyTorch 2.14 documentationTensor operations, autograd, modules, training, compilation, distribution, and export.
- Transformers 5.17 documentationModels, tokenizers, processors, generation, Trainer, and optimization interfaces.
- PyTorch tutorialsWorked introductions and advanced investigations for the optional local exercises.
Start here
Overviews that connect transformer mechanics to latency, memory bandwidth, and serving economics.
- Inference EngineeringPhilip Kiely’s full-stack guide to the model, hardware, runtime, optimization, and operational decisions behind production inference.
- LLM Inference HandbookA practical guide to inference fundamentals, performance metrics, optimization, GPU architecture, and production deployment, with interactive calculators and simulators.
- Attention Is All You NeedThe original Transformer paper. Read it for the architecture that modern language-model serving systems spend most of their effort executing efficiently.
- LLM Inference Serving: Survey of Recent Advances and OpportunitiesA map of the serving-system landscape, including batching, memory management, parallelism, scheduling, and distributed deployment.
Systems and mechanics
Foundational systems papers behind continuous batching, IO-aware kernels, paged KV memory, RadixAttention, chunked prefill, and disaggregated serving.
- Efficiently Scaling Transformer InferenceConnects latency, model utilization, quantization, context length, and multidimensional partitioning through an analytical performance model.
- Orca: A Distributed Serving System for Transformer-Based Generative ModelsIntroduces iteration-level scheduling and selective batching, two foundations for understanding continuous batching in modern inference engines.
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessExplains why memory traffic matters as much as arithmetic and how tiling reduces transfers between high-bandwidth and on-chip memory.
- Efficient Memory Management for Large Language Model Serving with PagedAttentionThe vLLM paper on paged KV-cache allocation, fragmentation reduction, cache sharing, and the throughput unlocked by better memory management.
- SGLang: Efficient Execution of Structured Language Model ProgramsIntroduces SGLang’s frontend/runtime split, RadixAttention prefix reuse, and compressed finite-state machines for structured generation.
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-ServeShows how chunked prefill and stall-free schedules limit prefill interference while preserving decode throughput and tail latency.
- DistServe: Disaggregating Prefill and DecodingSeparates prefill and decode onto different GPUs, then co-optimizes placement and parallelism against TTFT and TPOT objectives.
Implementation references
Versioned upstream manuals for the serving engines and distributed orchestration layers covered in the academy.
- vLLM v0.28.0 documentationVersioned API, engine, serving, model, quantization, parallelism, observability, and benchmarking documentation.
- SGLang documentationRuntime, server, API, RadixAttention, structured generation, model support, benchmarking, and deployment references.
- SGLang v0.5.18 releaseThe immutable release companion for the academy’s SGLang course; pair it with the continuously updated official documentation.
- NVIDIA Dynamo v1.4.2 documentationVersioned guidance for distributed inference, KV-aware routing, disaggregation, backend integration, deployment, and operations.
- TensorRT-LLM documentationA complementary reference for high-performance NVIDIA inference APIs, quantization, KV-cache features, parallelism, and serving.
- NVIDIA Triton Inference Server documentationOfficial model repository, dynamic batching, ensembles, KServe v2 protocol, and backend configuration guides.
- CUDA C++ Programming GuidePrimary reference for GPU threads, blocks, warps, memory spaces, shared memory, streams, and CUDA graphs.