Learning roadmap
Six phases, left to right. The pulsing topic is your next recommended step; dashed lines list cross-phase prerequisites.
PHASE 01
0%LLM Fundamentals
M1Tensors and tokens
M2Inside the transformer block
M3How generation actually runs
PHASE 02
0%GPU Architecture and CUDA
M1How a GPU executes work
M2Where the bytes live
M3Writing and measuring kernels
PHASE 03
0%Inference Engines
M1Anatomy of a serving system
M2Memory and scheduling internals
M3Alternative engines
M4Measuring engines
PHASE 04
0%Inference Optimization
M1Numbers and precision
M2Faster kernels and memory
- FlashAttention8hneeds Attention mechanisms, GPU memory hierarchy, Memory coalescing and bandwidth, Matrix multiplication on GPUs
- CUDA Graphs and kernel fusion7hneeds CUDA programming, GPU profiling basics, Prefill versus decode
- KV cache optimization7hneeds KV cache, PagedAttention and KV cache management
M3Algorithmic speedups
M4Measure and tune
- Latency and throughput engineering8hneeds Continuous and dynamic batching, Benchmarking inference engines, Prefill versus decode, Memory coalescing and bandwidth
- Nsight Systems and Nsight Compute9hneeds GPU profiling basics, CUDA thread hierarchy
- Correctness, numerics and regression evals10hneeds Benchmarking inference engines, PyTorch tensors and execution
- Performance modeling, capacity and cost per token10hneeds Benchmarking inference engines
- Performance instrumentation and profiling tooling8hneeds PyTorch tensors and execution
PHASE 05
0%Distributed Inference
M1Splitting a model across GPUs
- Multi-GPU inference and parallelism strategies6hneeds KV cache, GPU memory hierarchy, LLM serving architecture, Latency and throughput engineering
- Tensor parallelism9hneeds Attention mechanisms, Matrix multiplication on GPUs
- Pipeline parallelism7hneeds Prefill versus decode, Continuous and dynamic batching
M2Moving bytes between GPUs and nodes
- NCCL and GPU communication8hneeds Memory coalescing and bandwidth
- Linux, containers and GPU plumbing8hneeds GPU memory hierarchy, LLM serving architecture
- Kubernetes GPU scheduling8hneeds LLM serving architecture
- Disaggregated prefill/decode and KV transfer10hneeds Prefill versus decode, Request scheduling, Latency and throughput engineering
M3Operating a distributed serving fleet
- Fault tolerance, load balancing, autoscaling8hneeds Request scheduling, Latency and throughput engineering
- Multi-node inference and observability8hneeds Nsight Systems and Nsight Compute
- Inference reliability engineering (SRE)10h
- Serving agents and RL rollouts9hneeds PagedAttention and KV cache management, Structured output, sampling and tool-call decoding, KV cache optimization
- Serverless GPU serving and fast cold start8hneeds LLM serving architecture
PHASE 06
0%Production Engineering and Specialization
M1Reading production engines
M2Writing your own kernels
- Triton GPU programming14hneeds CUDA programming, Matrix multiplication on GPUs, GPU memory hierarchy, CUDA Graphs and kernel fusion
- Custom CUDA and attention kernels18hneeds FlashAttention, PagedAttention and KV cache management, GPU profiling basics, Nsight Systems and Nsight Compute
- CUTLASS, CuTe and tensor-core programming14hneeds Matrix multiplication on GPUs, FP32, FP16 and BF16
- Beyond NVIDIA: TPU, Trainium, AMD and compilers12hneeds PyTorch tensors and execution, CPU versus GPU architecture, CUDA Graphs and kernel fusion
- Inside ML compilers, MLIR, lowering and codegen10hneeds CUDA programming
M3Shipping and being seen
- Production inference architecture and performance engineering16hneeds Latency and throughput engineering, INT8 and INT4 quantization, Tensor parallelism, Kubernetes GPU scheduling, Fault tolerance, load balancing, autoscaling, Multi-node inference and observability, Benchmarking inference engines
- Open-source contributions16h
- Technical writing, interviews, portfolio14h
- Systems languages for inference: C++, Rust, Go14hneeds LLM serving architecture, Continuous and dynamic batching, Fault tolerance, load balancing, autoscaling
- Agentic performance engineering, agents that tune the stack8hneeds Nsight Systems and Nsight Compute