Inference optimization: study hub

Prep for an inference-optimization role at a frontier lab, Modal, Baseten, Fireworks or similar.

1. Where you stand

Strengths (lead with these)Gaps screeners probe (close these)
Production inference, latency optimization, cachingCustom GPU kernel development
Hardware migrations, cost/performance decisionsDeep GPU architecture and memory optimization
Model certification against serving SLAsLower-level PyTorch/JAX, strong C++, Nsight profiling
Deployment and platform ownershipMicrosecond trading workloads (a different domain; skip unless you target it)
Check the actual job posting Each company weights these differently, and I'm describing them generally, not from inside knowledge. Serverless-GPU platforms tend to stress cold starts, scheduling and multi-tenancy; model-API companies and labs tend to stress kernels, quantization, parallelism and throughput per GPU. Match your depth to the posting.

2. The pages

PageWhat it gives youValidated how
GPU + Kubernetes + NsightPods/clusters from zero, GPUs in k8s, a real lab pod, nsys profiling, memory- vs compute-bound.Re-checked against the live stg cluster by validate.sh (16 checks).
Inference optimizationThe core: roofline, KV cache, batching, FlashAttention, quantization, speculation, parallelism, kernels, capacity planning, interview Qs.Math computed in code; demos measured on the stg GPU.
LLM trainingPre-training, SFT, RLHF/PPO, DPO, LoRA, RLAIF, GRPO, eval, and how each affects serving.Numbers computed; loss/LoRA code run.
Statistics & classic MLLatency statistics, CIs, A/B for performance, linear algebra, core ML, metrics.Simulations run with fixed seeds.
C++, Python, pandas, TFSystems C++, CUDA primer, Python perf, pandas/numpy, TF vs PyTorch vs JAX, libs, coding questions.Code compiled and run.

3. Suggested order (about 6 weeks, adjust to your time)

  1. Week 1: foundations you can finish fast. Do the GPU + Kubernetes + Nsight page end to end, then the inference page's metrics and roofline sections. These turn your production intuition into numbers you can quote.
  2. Week 2: KV cache, batching, attention. Inference page sections 3-5. Re-derive the KV-cache size formula for your own model until it's automatic.
  3. Week 3: quantization, speculation, parallelism. Inference page 6-9, plus the training page's architecture section (GQA, MoE) since it explains why those costs exist.
  4. Week 4: kernels. Triton first (the lab pod has it), then the CUDA C++ section in the languages page. Goal: write a fused kernel and compare it with PyTorch under nsys.
  5. Week 5: breadth. Training page (SFT/RLHF/DPO/LoRA) and stats-ml page. These come up as "do you understand the model lifecycle" and "can you benchmark rigorously".
  6. Week 6: interviews. Do every interview-prep section out loud, then one full system-design mock: "serve a 70B model at p99 TTFT under 500 ms; walk me through it".

4. Telling your story

You are not starting from zero. Frame it as: "I own production inference and certification today, and I've deliberately gone deep on the layer below: GPU memory, kernels and profiling." Concrete anchors from your own work that map to what these teams do:

5. How to use the pages