Inference Engineering · Workspace
Resources
Blogs, books, tools and channels worth your time after a lesson. Each one goes further on something this course teaches.
Blogs18
Engineering blogs where teams explain how they serve models and where the time and money go.
vLLM BlogRelease notes and deep dives from the vLLM team on paged attention, scheduling and new serving features. (opens in a new tab)
LMSYS BlogPosts from the group behind SGLang and Chatbot Arena on serving engines, benchmarks and kernels. (opens in a new tab)
Modal BlogCold starts, GPU scheduling and LLM serving benchmarks from a team that runs GPU workloads for others. (opens in a new tab)
Modal GPU glossaryA plain-language reference for GPU terms, from streaming multiprocessors and warps to tensor cores and memory hierarchy. (opens in a new tab)
Baseten BlogNotes from an inference platform on engines, quantization, speculative decoding and autoscaling in production. (opens in a new tab)
Together AI BlogResearch and engineering posts on faster attention kernels, speculative decoding and serving open models. (opens in a new tab)
Fireworks AI BlogHow a hosted inference provider tunes latency, throughput and cost for open models. (opens in a new tab)
NVIDIA Technical BlogDetailed posts on TensorRT-LLM, Dynamo, quantization formats and GPU architecture from the hardware vendor. (opens in a new tab)
PyTorch BlogPosts on torch.compile, custom kernels and the serving stack built on PyTorch. (opens in a new tab)
Hugging Face BlogPractical write-ups on quantization, KV cache strategies and running open models efficiently. (opens in a new tab)
Character.AI BlogEngineering notes from a service with huge chat traffic on shrinking KV caches and keeping latency low. (opens in a new tab)
Anyscale BlogRay and vLLM in practice: batch inference, multi-node serving and keeping GPUs busy. (opens in a new tab)
Perplexity ResearchPosts from an answer engine on the kernels and networking behind its own serving stack. (opens in a new tab)
Databricks EngineeringWhere the widely cited guide to LLM inference performance came from, plus work on serving and batching at scale. (opens in a new tab)- Thinking Machines BlogCareful posts from an AI lab, including why LLM inference gives different answers on identical inputs. (opens in a new tab)
Lil’LogLong, well-organised surveys, including one on how transformer inference gets optimised. (opens in a new tab)
Simon BoehmStep-by-step walkthroughs of GPU kernel optimisation, starting from a naive matrix multiply. (opens in a new tab)- Tri DaoNotes from the author of FlashAttention on attention kernels and hardware-aware algorithms. (opens in a new tab)
Books6
For when you want the whole picture, not one article.
- Inference EngineeringA book-length tour of running models in production, from runtimes and quantization to scaling and observability. (opens in a new tab)
- How to Scale Your ModelA free online book on reasoning about transformers with rooflines, memory and communication, including serving. (opens in a new tab)
- Programming Massively Parallel ProcessorsThe standard textbook on GPU programming: threads, memory, tiling and the patterns behind fast kernels. (opens in a new tab)
- Computer Architecture: A Quantitative ApproachThe classic on memory hierarchies, parallelism and accelerators, and how to reason about what limits a chip. (opens in a new tab)
- The Ultra-Scale PlaybookA free interactive guide to data, tensor, pipeline and expert parallelism, useful before reading about multi-GPU serving. (opens in a new tab)
- Machine Learning Engineering Open BookA free, practical collection on GPUs, networking, storage and debugging large model clusters. (opens in a new tab)
Tools17
The engines, kernels and profilers behind the boxes in your diagrams. Their docs teach as much as any course.
vLLMAn open-source engine built around paged attention and continuous batching for serving LLMs. (opens in a new tab)
SGLangA serving engine with prefix caching through RadixAttention and strong support for structured output. (opens in a new tab)
TensorRT-LLMNVIDIA’s library for compiling and running LLMs on its GPUs, with in-flight batching and low-precision kernels. (opens in a new tab)- llama.cppA C and C++ engine that runs quantized models on laptops, phones and CPUs. (opens in a new tab)
NVIDIA DynamoA framework for multi-node serving, with disaggregated prefill and decode and KV-aware routing. (opens in a new tab)
llm-dA Kubernetes-native stack for distributed LLM serving, built on vLLM and cache-aware routing. (opens in a new tab)- FlashAttentionThe reference implementation of IO-aware exact attention that most engines build on. (opens in a new tab)
FlashInferA kernel library for LLM serving covering paged KV caches, decode attention and sampling. (opens in a new tab)- TritonA Python-based language for writing GPU kernels without hand-writing CUDA. (opens in a new tab)
torch.compilePyTorch’s compiler, which fuses operations and cuts overhead; the docs cover graph breaks and debugging. (opens in a new tab)
Nsight SystemsA timeline profiler that shows CPU work, kernel launches and gaps on a GPU in one view. (opens in a new tab)
PyTorch ProfilerA built-in profiler that breaks a model’s time down by operator, with CPU and GPU traces. (opens in a new tab)- GuideLLMSends realistic request loads to an endpoint and reports time to first token, inter-token latency and throughput. (opens in a new tab)
LMCacheStores and reuses KV caches across requests and machines, in CPU memory, disk or remote storage. (opens in a new tab)- LLM CompressorApplies quantization and sparsity to a model and saves it in a format vLLM can load. (opens in a new tab)
DCGM ExporterExposes GPU utilisation, memory and power as Prometheus metrics for dashboards and alerts. (opens in a new tab)
MLPerf InferencePublished, peer-reviewed inference results across hardware and models, with the rules each run followed. (opens in a new tab)
Channels8
Video and talks, for when you’d rather watch someone walk through a kernel.
GPU MODEYouTubeCommunity lectures on CUDA, Triton and kernel optimisation, many from the people who wrote the code. (opens in a new tab)
vLLMYouTubeTalks and office hours from the maintainers on new features and how the engine works. (opens in a new tab)
NVIDIA DeveloperYouTubeConference sessions on GPU architecture, TensorRT-LLM and large-scale inference. (opens in a new tab)
PyTorchYouTubeConference talks on compilation, kernels and the serving ecosystem around PyTorch. (opens in a new tab)
Andrej KarpathyYouTubeBuild-it-yourself lectures on how GPT-style models work, down to tokenizers and the forward pass. (opens in a new tab)
Umar JamilYouTubeCode-along videos on attention, KV caching and quantization, with slides and code. (opens in a new tab)
Aleksa GordićYouTubeLong-form videos on how deep learning models and the systems around them work, from attention to GPUs. (opens in a new tab)
MIT HAN LabYouTubeLectures from the group behind AWQ and efficient-ML research on quantization, pruning and serving. (opens in a new tab)