Resource library
273 unique resources referenced by the curriculum, grouped by type.
Official documentation
- PyTorch ↗
- CUDA Toolkit ↗
- CUDA Programming Guide ↗
- vLLM ↗
- SGLang ↗
- TensorRT-LLM ↗
- Triton ↗
- NVIDIA Nsight Systems ↗
- NVIDIA Developer ↗
documentation 104
- Anthropic prompt caching documentation
- AWS Neuron SDK documentation
- CPU threading and inference notes
- CRIU, checkpoint/restore in userspace
- CRIU, Checkpoint/Restore In Userspace
- CUDA C++ Best Practices Guide, Coalesced Access to Global Memory
- CUDA C++ Best Practices Guide, Memory Optimizations
- CUDA C++ Programming Guide
- CUDA C++ Programming Guide, Introduction
- CUDA C++ Programming Guide, Memory Hierarchy
- CUDA C++ Programming Guide, Programming Model
- CUDA C++ Programming Guide, Shared Memory (matmul example)
- CUDA C++ Programming Guide, Warp Matrix Functions (WMMA)
- CUDA Compatibility (driver versus toolkit)
- CUDA Graphs (CUDA C++ Programming Guide)
- CUDA Occupancy Calculator
- CUDA Runtime API reference
- CUPTI, CUDA Profiling Tools Interface
- Diffusers documentation, speed up inference
- GitHub docs on contributing to projects
- GitHub Pages documentation
- HIP documentation
- Hugging Face generation strategies
- Hugging Face KV cache guide
- Hugging Face safetensors documentation
- Hugging Face text-generation-inference architecture
- Hugging Face TGI continuous batching explanation
- Hugging Face Transformers quantization guide
- JAX documentation
- KEDA documentation
- Kubernetes docs on scheduling GPUs
- Kubernetes Gateway API Inference Extension
- Kubernetes Horizontal Pod Autoscaler
- Kubernetes pod lifecycle and probes
- Kubernetes taints and tolerations
- MLIR project site
- Modal documentation, cold starts
- NCCL developer guide
- Nsight Compute Documentation
- Nsight Compute Kernel Profiling Guide
- Nsight Systems User Guide, CLI profiling
- Numba CUDA kernels documentation
- Numba CUDA matmul with shared memory example
- Numba CUDA memory management
- NVIDIA Ampere GA102 architecture whitepaper
- NVIDIA Container Toolkit documentation
- NVIDIA GenAI-Perf documentation
- NVIDIA GPU Operator documentation
- NVIDIA H100 Tensor Core GPU product page
- NVIDIA NVLink and NVSwitch overview
- NVIDIA T4 datasheet
- NVIDIA Train With Mixed Precision guide
- NVIDIA Xid errors reference
- OpenAI Chat Completions API reference
- OpenTelemetry Python documentation
- OpenXLA
- Perfetto trace viewer
- Prometheus alerting rules
- Prometheus documentation
- PTX ISA documentation
- pybind11 documentation
- PyTorch Automatic Mixed Precision package
- PyTorch custom operators landing page
- PyTorch Distributed overview
- PyTorch numerical accuracy notes
- PyTorch Pipeline Parallelism (torch.distributed.pipelining)
- PyTorch reproducibility notes
- PyTorch torch.distributed documentation
- SGLang contribution guide
- SGLang documentation
- SWE-bench
- Tensor Views (official notes)
- TensorRT-LLM architecture overview
- TensorRT-LLM documentation
- TensorRT-LLM quantization support matrix
- TensorRT-LLM quick start guide
- The Linux Programming Interface (book site)
- Tokenizers library documentation
- torch.cuda graphs API
- torch.library API
- torch.nn.functional.scaled_dot_product_attention
- torch.utils.cpp_extension API
- Trace Event Format specification
- Triton dialects (TTIR and TTGIR) documentation
- TRL vLLM integration guide
- vLLM architecture overview
- vLLM automatic prefix caching
- vLLM automatic prefix caching design
- vLLM benchmarking guide (vllm bench serve)
- vLLM contributing guide
- vLLM disaggregated prefilling documentation
- vLLM distributed inference and serving docs
- vLLM documentation
- vLLM engine arguments reference
- vLLM Kubernetes deployment guide
- vLLM multimodal inputs documentation
- vLLM optimization and tuning (chunked prefill)
- vLLM production metrics documentation
- vLLM profiling guide
- vLLM quantization documentation
- vLLM quantized KV cache (FP8)
- vLLM speculative decoding documentation
- vLLM structured outputs documentation
- vLLM tool calling documentation
paper 53
- A Survey of Quantization Methods for Efficient Neural Network Inference
- Accelerating Large Language Model Decoding with Speculative Sampling
- Attention Is All You Need
- AWQ paper
- DeepSeek-V3 Technical Report
- Dissecting the NVIDIA Volta GPU Architecture via Microbenchmarking
- DistServe
- EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
- Efficient Guided Generation for Large Language Models (Outlines)
- Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM
- Efficient Memory Management for LLM Serving with PagedAttention (vLLM paper)
- Efficient Streaming Language Models with Attention Sinks (StreamingLLM)
- Efficiently Scaling Transformer Inference (Pope et al.)
- Fast Distributed Inference Serving for Large Language Models (FastServe)
- Fast Inference from Transformers via Speculative Decoding
- Fast Transformer Decoding, One Write-Head is All You Need (MQA)
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- GPipe (Huang et al. 2018)
- GPTQ paper
- GQA paper
- H2O: Heavy-Hitter Oracle for Efficient Generative Inference
- KernelBench: Can LLMs Write Efficient GPU Kernels?
- Language Models are Unsupervised Multitask Learners (GPT-2)
- LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
- MegaBlocks: Efficient Sparse Training with Mixture-of-Experts
- Megatron-LM paper (Shoeybi et al. 2019)
- Mixed Precision Training (Micikevicius et al.)
- Mixtral of Experts
- MLIR: A Compiler Infrastructure for the End of Moore's Law
- Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving
- Neural Machine Translation of Rare Words with Subword Units
- Online normalizer calculation for softmax
- Orca: A Distributed Serving System for Transformer-Based Generative Models
- PipeDream (Narayanan et al. 2019)
- Reducing Activation Recomputation in Large Transformer Models (sequence parallelism)
- Robust Speech Recognition via Large-Scale Weak Supervision (Whisper)
- RoFormer, Enhanced Transformer with Rotary Position Embedding
- Roofline: An Insightful Visual Performance Model
- Roofline: An Insightful Visual Performance Model for Multicore Architectures
- SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefills
- ServerlessLLM: Low-Latency Serverless Inference for Large Language Models (OSDI 2024)
- SGLang: Efficient Execution of Structured Language Model Programs
- SmoothQuant paper
- Splitwise, Efficient generative LLM inference using phase splitting
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity
- Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
- Train Short, Test Long (ALiBi)
- Triton: an intermediate language and compiler for tiled neural network computations
- Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations
- Visual Instruction Tuning (LLaVA)
- XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Models
repo 45
- CUTLASS
- CUTLASS examples directory
- DeepEP, expert-parallel communication library
- DeepGEMM
- faster-whisper GitHub repository
- flash-attention GitHub repository
- Hugging Face modeling_llama.py
- KernelBench repository
- Kineto, the PyTorch profiling backend
- Kubernetes controller-runtime
- LeaderWorkerSet
- llguidance GitHub repository
- llmperf load testing harness
- lm-evaluation-harness
- LMCache
- minbpe
- mistral.rs
- nanoGPT model.py
- nccl-tests repository
- NIXL (NVIDIA Inference Xfer Library)
- NVIDIA DCGM exporter
- NVIDIA Dynamo inference framework
- NVIDIA Kubernetes device plugin
- NVTX Python package
- PyTorch profiler with distributed training (Holistic Trace Analysis)
- ServerlessLLM repository
- SGLang bench_serving.py
- SGLang GitHub repository
- SGLang good first issues
- TensorRT-LLM GitHub repository
- Text Generation Inference router source
- tiktoken
- Triton GitHub repository
- Triton Inference Server TensorRT-LLM backend
- verl (Volcano Engine Reinforcement Learning)
- vLLM bench serve source (vllm/benchmarks/serve.py)
- vLLM fused MoE layer source
- vLLM GitHub repository
- vLLM good first issues
- vLLM parallel layers source
- vLLM production stack
- vLLM tests directory
- vLLM V1 KV cache manager source
- vLLM V1 scheduler source
- XGrammar GitHub repository
article 46
- Accelerating Generative AI with PyTorch II: GPT, Fast
- Accelerating PyTorch with CUDA Graphs (PyTorch blog)
- bfloat16 floating-point format (Wikipedia)
- Bringing HPC Techniques to Deep Learning (ring all-reduce explained)
- Chip Huyen's blog
- CUDA Pro Tip - Write Flexible Kernels with Grid-Stride Loops
- Defeating Nondeterminism in LLM Inference (Thinking Machines)
- Fast and Expressive LLM Inference with RadixAttention and SGLang (LMSYS blog)
- Flash-Decoding for long-context inference (PyTorch blog)
- Google SRE book, chapter on handling overload
- Google SRE book, Monitoring Distributed Systems
- Google SRE book, Postmortem Culture
- Google SRE book, Service Level Objectives
- Google SRE workbook, Alerting on SLOs
- How continuous batching enables 23x throughput in LLM inference
- How to Access Global Memory Efficiently in CUDA C/C++
- How to Implement Performance Metrics in CUDA C/C++
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklog
- How to Scale Your Model: How to Think About TPUs
- How to Scale Your Model: Inference chapter (JAX scaling book)
- Hugging Face blog
- Hugging Face blog on assisted generation
- Hugging Face guide to parallelism
- IEEE 754 floating point (Wikipedia)
- Large Transformer Model Inference Optimization (Lilian Weng)
- Lilian Weng's blog
- LLM Inference Performance Engineering Best Practices (Databricks)
- Making Deep Learning Go Brrrr From First Principles
- Mastering LLM Techniques - Inference Optimization (NVIDIA)
- Operating Systems Three Easy Pieces, chapter on paging
- Optimizing Inference on Large Language Models with NVIDIA TensorRT-LLM
- Programming Tensor Cores in CUDA 9
- PyTorch blog on Triton kernels for LLMs
- PyTorch internals (ezyang)
- Roofline model (Wikipedia)
- Rotary Embeddings, A Relative Revolution (EleutherAI)
- SGLang v0.4 release blog (zero-overhead scheduler, cache-aware load balancing)
- SmolVLM: small yet mighty vision language models (Hugging Face blog)
- The AI CUDA Engineer (Sakana AI)
- The Illustrated GPT-2
- The Illustrated Transformer
- Transformer Architecture: The Positional Encoding (Kazemnejad)
- Transformer Inference Arithmetic (kipply)
- Using Shared Memory in CUDA C/C++
- vLLM V1: A Major Upgrade to vLLM's Core Architecture
- vLLM: Easy, Fast, and Cheap LLM Serving with PagedAttention
tutorial 13
- An Even Easier Introduction to CUDA
- Custom C++ and CUDA Extensions (PyTorch tutorial)
- Introduction to torch.compile
- Optimizing Parallel Reduction in CUDA (Mark Harris)
- Python custom operators tutorial
- PyTorch Profiler recipe
- PyTorch Tensor Parallelism tutorial
- PyTorch Tensors tutorial
- The Annotated Transformer
- Tokio tutorial
- Transformer Explainer (Polo Club)
- Triton documentation and tutorials
- Triton fused attention tutorial