XVIII. Learning Resources
Books, courses, learning paths, and long-form writing for going deeper.
68 entries · 7 subsections
Editor’s pick
XVIII.1 Books 10
Programming Massively Parallel Processors (5th ed.) Book
Standard textbook on GPU programming, memory hierarchies, and parallel patterns; the 2026 edition adds LLM workloads.
Full textbook behind the Start Here inference chapter, covering rooflines, TPU and GPU anatomy, sharding, and transformer math.
Machine Learning Engineering Open Book Book
Stas Bekman's field notes on accelerators, networking, storage, debugging, and inference for running large models on GPU clusters.
AI Systems Performance Engineering (O'Reilly) Book
Profiling-first book on tuning GPUs, CUDA kernels, PyTorch, and multi-node systems for training and inference, closing with an optimization checklist.
Hands-On LLM Serving and Optimization Book
O'Reilly book from 2026 on designing LLM serving systems, balancing latency against throughput, and hosting models cost-effectively at scale.
Interactive Hugging Face book on data, tensor, pipeline, context, and expert parallelism on GPU clusters, with benchmarks for each strategy.
AI Engineering Book
Chip Huyen's book on building applications on foundation models, with a chapter on inference optimization and serving trade-offs.
Machine Learning Systems (Harvard CS249r) Book
Open textbook from Harvard CS249r on the whole ML systems stack, including model compression, hardware acceleration, benchmarking, and operations.
Efficient Processing of Deep Neural Networks Book
MIT textbook by Sze, Chen, Yang, and Emer on dataflows, data reuse, and metrics for designing and comparing DNN accelerators.
Free draft chapters by Menghani and Singh on compression, efficient architectures, and training techniques for smaller models, predating LLMs.
XVIII.2 Courses 8
MIT 6.5940: TinyML and Efficient AI Computing Course
Song Han's Fall 2026 course on pruning, quantization, distillation, and LLM deployment, with slides, videos, and labs posted for each lecture.
CMU 15-442/642: Machine Learning Systems Course
Spring 2026 course by Tianqi Chen and Zhihao Jia on ML frameworks, GPU acceleration, memory and parallelism, and LLM serving case studies.
CMU 11-868: Large Language Model Systems Course
Spring 2026 course that goes from CUDA basics and a MiniTorch homework track to FlashAttention, vLLM, SGLang, and disaggregated serving.
Stanford CS336: Language Modeling from Scratch Course
Students build a language model end to end, including Triton kernels, parallelism, scaling laws, and inference, with lectures on YouTube.
GPU MODE Lectures Course
Slides and code for the community lecture series on CUDA, Triton, CUTLASS, profiling, and inference kernels; recordings are on YouTube.
UCSD CSE 234: Data Systems for Machine Learning Course
Hao Zhang's Winter 2025 course on ML frameworks, GPUs, parallelism, and LLM serving with paged attention, batching, and speculative decoding.
MIT 6.S894: Accelerated Computing Course
Fall 2025 graduate course on performance engineering for accelerators, with weekly CUDA labs that build toward fast GPU kernels.
Stanford CS149: Parallel Computing Course
Fall 2025 course on parallel architectures and programming, from SIMD and multicore CPUs to GPUs and domain-specific accelerators.
XVIII.3 Learning Paths 4
ML Systems Onboarding Reading List List
Annotated reading list from GPU MODE that says where to start on attention, serving optimizations, quantization, long context, and parallelism.
Triton Puzzles Course
Notebook puzzles that teach Triton from first principles, building from vector ops up to matmul and FlashAttention with a visual debugger.
Mojo GPU Puzzles Course
Progressive puzzles that teach GPU programming in Mojo, from threads and shared memory to warp-level code, tensor cores, and profiling.
NVIDIA Accelerated Computing Hub Course
Open notebooks and syllabi from NVIDIA for CUDA C++, CUDA Python, and CUDA Tile, runnable on cloud GPUs or Colab.
XVIII.4 Deep Dives & Essays 21
How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance Article
Worklog that takes a naive SGEMM through coalescing, shared-memory tiling, and warptiling, profiling each step against cuBLAS.
Large Transformer Model Inference Optimization Article
Survey essay on distillation, quantization, pruning, sparsity, mixture of experts, and architecture changes that cut inference cost.
Inside NVIDIA GPUs: Anatomy of High-Performance Matmul Kernels Article
Builds from GPU memory hierarchy and PTX/SASS up to Hopper matmul kernels that use TMA, wgmma, and warp specialization.
Outperforming cuBLAS on H100: A Worklog Article
Hopper follow-up to the Boehm worklog that grows a dependency-free GEMM in one CUDA file, adding TMA, wgmma, and warp specialization step by step.
tcgen05 for dummies Article
Plain CUDA C++ and PTX walkthrough of Blackwell's tcgen05 Tensor Core instructions, building a B200 matmul that approaches cuBLAS.
CUTLASS Tutorial: Mastering the Tensor Memory Accelerator (TMA) Article
Explains Hopper's TMA unit for asynchronous bulk copies, including loads, stores, and multicast, and how to drive it through CuTe.
CUTLASS Tutorial: Fast Matrix Multiplication with WGMMA on Hopper Article
Shows how warpgroup-level wgmma instructions work on Hopper and how CUTLASS and CuTe expose them in a GEMM mainloop.
Deep Dive on CUTLASS Ping-Pong GEMM Kernel Article
Walks through a warp-specialized Hopper FP8 GEMM in which producer and consumer warpgroups alternate so math overlaps with epilogues.
GPUs Go Brrr Article
Hazy Research essay on what keeps an H100 busy, from tensor cores and TMA to async pipelines, and the ThunderKittens design built on it.
Optimizing Parallel Reduction in CUDA Article
Classic NVIDIA slide deck that refines a sum-reduction kernel through seven versions, a template for reasoning about bandwidth limits.
LLM Inference Performance Engineering: Best Practices Article
Defines latency, throughput, and model bandwidth utilization, then measures how batch size, tensor parallelism, and quantization trade off.
LLM Inference Speed of Light Article
Derives the memory-bandwidth floor on per-token decode latency and checks how close a hand-written inference engine gets to it.
How Continuous Batching Enables 23x Throughput in LLM Inference Article
Explains why static batching wastes GPU time during decoding and benchmarks iteration-level scheduling across serving frameworks.
Continuous Batching from First Principles Article
Derives continuous batching step by step from attention and the KV cache, covering ragged batches and chunked prefill along the way.
Flash-Decoding for Long-Context Inference Article
Introduces splitting the KV sequence across thread blocks during decode and merging partial softmax results so small batches still fill the GPU.
Accelerating Generative AI with PyTorch II: GPT, Fast Article
Shows how far plain PyTorch goes for LLM decoding with torch.compile, int8 and int4 weights, speculative decoding, and tensor parallelism.
Fast LLM Inference From Scratch Article
Builds a single-GPU inference engine in C++ and CUDA without libraries, profiling each step from a naive CPU loop to fused kernels.
vLLM V1: A Major Upgrade to vLLM's Core Architecture Article
Design notes on vLLM's rewritten core, covering the unified scheduler, a separate engine-core process, prefix caching, and piecewise CUDA graphs.
Optimizing AI Inference at Character.AI Article
Shows how multi-query attention, hybrid local-global layers, cross-layer KV sharing, and int8 shrink KV memory for long conversations.
DeepSeek-V3/R1 Inference System Overview Article
First-hand account of serving V3/R1 with cross-node expert parallelism, a prefill-decode split, compute-communication overlap, and load balancing.
Deploying DeepSeek with PD Disaggregation and Large-Scale Expert Parallelism Article
Reproduces DeepSeek-style serving in SGLang on 96 H100s by combining prefill-decode disaggregation, DeepEP, two-batch overlap, and EPLB.
XVIII.5 Talks & Videos 8
Why Inference Matters 12x More Than Training (YC Paper Club) Video
Engineers from Together AI, Ollama, Luminal, and SGLang trace a token through routing, caching, scheduling, kernels, and hardware.
GPU MODE (YouTube) Video
Recorded community lectures on CUDA, Triton, CUTLASS, profiling, and inference kernels, often given by the people who wrote them.
The Inference Engineering Masterclass (Latent Space) Podcast
Podcast episode with Baseten's Philip Kiely and Ali Taha on the practice of inference engineering for autoregressive and diffusion models.
vLLM Office Hours Video
Biweekly livestream from the vLLM team with release updates and guest deep dives; past sessions are archived with recordings and slides.
SGLang Learning Materials Video
Official collection of SGLang slide decks, blog links, and talk recordings from meetups, conferences, and vendor tech briefings.
AI Performance Engineering (YouTube) Video
Recordings of Chris Fregly's monthly meetup, with practitioner talks on GPU profiling, low-precision formats, disaggregated serving, and accelerators.
Multi-GPU Kernels, Intelligence per Watt, and Heterogeneous Inference (YC Paper Club) Video
Talks on Parallel Kittens multi-GPU kernels, intelligence per watt for local inference, AI-written kernels, and heterogeneous serving.
Inference, Diffusion, World Models, and More (YC Paper Club) Video
Opens with a talk on Speculative Speculative Decoding (arXiv 2603.03251), followed by papers on diffusion control and world models.
XVIII.6 Communities & Newsletters 7
GPU MODE Discord Community
Open Discord server for GPU programming with channels per kernel language and vendor, reading groups, lectures, and kernel competitions.
vLLM Forums Community
Official discussion board for vLLM deployment, performance, and hardware-backend questions; real-time developer chat happens on the project Slack.
SGLang Slack Community
Community workspace linked from the SGLang README where maintainers and users discuss deployments, kernels, and upcoming features.
r/LocalLLaMA Community
Subreddit for running open-weight models on your own hardware, with frequent comparisons of quantizations, runtimes, and multi-GPU builds.
AI Performance Engineering Meetup Community
Monthly meetup run by Chris Fregly, with chapters in many cities and livestreamed talks on GPU performance, inference, and AI systems tuning.
PyTorch Developer Discussions Community
Forum where PyTorch core developers post design notes and updates on torch.compile, Inductor, export, and distributed internals.
Latent Space Community
AI engineering newsletter and podcast with recurring interviews on inference providers, serving stacks, and GPU economics.
XVIII.7 Conferences & Venues 10
MLSys Event
Annual conference on machine learning and systems, where serving, kernel, and quantization papers such as FlashInfer, AWQ, and XGrammar appeared.
OSDI Event
USENIX symposium on operating systems design that published Orca, DistServe, Sarathi-Serve, and other LLM serving systems.
SOSP Event
ACM symposium on operating systems principles, annual since 2023, where PagedAttention and vLLM were first published.
NSDI Event
USENIX symposium on networked systems, covering cluster scheduling, collective communication, and datacenter-scale serving.
EuroSys Event
European ACM SIGOPS systems conference with a growing share of LLM serving, scheduling, and KV cache papers; the link points to the 2027 edition.
ASPLOS Event
Conference spanning computer architecture, compilers, and operating systems, a frequent home for accelerator and ML compiler work.
Hot Chips Event
Annual symposium at Stanford where vendors present new GPUs, accelerators, and interconnects at the level of architecture detail.
NVIDIA GTC Event
NVIDIA's developer conference; most sessions, including CUDA and inference talks, are later free to stream on NVIDIA On-Demand.
PyTorch Conference Event
Linux Foundation conference for the PyTorch ecosystem, with sessions on compilers, kernels, and inference engines such as vLLM and SGLang.
vLLM Conference Event
First vLLM conference, held with Ray Summit in San Francisco in August 2026, on the roadmap, hardware backends, and production inference.