Learn
Build practical future-ready skills with guided learning tracks and personalized plans.
AI Inference & Efficiency Engineer
Make models fast and cheap to run: quantization, serving, accelerators and cost per token.
8 lessons · 40 min of reading · about 5.5 h of missions · 15 h of optional sources
What you'll be able to do
- Explain why generating one token is usually memory-bandwidth-bound while processing the prompt is compute-bound, estimate the KV-cache size of a request from the model's shape, and predict from first principles whether a change will speed up prefill, decode, or neither
- Explain what a quantization scheme actually stores (scales, zero-points, group sizes), say why weight-only 4-bit helps decode but not prefill, compare round-to-nearest, GPTQ and AWQ in terms of what they calibrate, and describe how you would detect that a quantized model has lost quality before users do
- Explain why batching raises throughput almost for free during decode, what continuous (iteration-level) batching fixes compared with static batching, how PagedAttention stops KV-cache memory being wasted, and which knobs in vLLM, SGLang or TensorRT-LLM trade latency against throughput
- Explain how a small draft model lets a large model emit several tokens per forward pass without changing its output distribution, estimate the speed-up from acceptance rate and draft cost, and say when distilling a smaller student is the better investment than speeding up the teacher
Before this track
It builds on these lessons:
From outside aiqbench it assumes:
- Python: you can read and change a short script
Step 3 of 3 on the path “Production ML”. Before it: MLOps & AIOps Engineer.
The role
Postings are for engineers who make trained models answer quickly and cheaply at scale. The work covers the request path and capacity of a serving fleet, the software that runs models on accelerators, and performance work on latency, throughput and power.
What the job involves
- Build and operate the systems that route requests and decide how much capacity each model needs.
- Map models onto GPUs and other accelerators within latency, power and memory budgets.
- Profile and optimise serving software for latency, throughput and cost.
- Develop the software stack that deploys models onto new AI hardware.
- Work with research and product teams to bring new models into production.
What job postings ask for
From 30 public postings at 30 employers, read on November 26, 2026. How this is done
Named by more than a third of the postings
- Latency, throughput and cost26 of 30
- GPUs and accelerators (CUDA)24 of 30
Taught in lesson 5
- Serving systems and batching (vLLM, TensorRT, Triton)20 of 30
Taught in lesson 3
- Distributed systems19 of 30
Not covered in this track
- Compilers and kernels18 of 30
Not covered in this track
- How transformers and LLMs run18 of 30
Taught in lesson 1
- Profiling and benchmarking16 of 30
Taught in lesson 6
- C++ or Rust12 of 30
Not covered in this track
- PyTorch, JAX or TensorFlow11 of 30
Not covered in this track
Named by fewer
4 requirements postings ask for are not taught in this track: Distributed systems; Compilers and kernels; C++ or Rust; PyTorch, JAX or TensorFlow.
The 30 postings read
- Anthropic: Engineering Manager, Inference Infrastructure
- Anyscale: Distributed LLM Inference Engineer
- Applied Intuition: AI Performance Engineer
- Baseten: Engineering Manager, Inference Performance
- Cerebras: AI Inference Core - Senior Infrastructure Software Engineer
- Cohere: Forward Deployed Engineer, Inference
- CoreWeave: Senior Deployment Engineer - LLM Inference & Optimization
- Crusoe: Senior Manager, Engineering - AI Inference
- d-Matrix: Principal System Software Engineer, AI Inference Execution
- Databricks: Staff Software Engineer - GenAI inference
- Decagon: AI Acceleration Engineer
- Etched: Head of Inference Performance Visibility
- Figure: Staff AI Inference and Acceleration Engineer
- Graphcore: Principal AI Performance Engineer
- Isomorphic Labs: Staff Software Engineer (Inference Platform), London
- Modal: Inference Engineering and Product Lead
- Nebius: Senior Applied Scientist, Efficient LLM Inference & Model Optimization
- Nuro: Senior/Staff Software Engineer, ML Inference Platform
- OneTrust: AI Systems Engineer
- OpenAI: AI Systems Engineer, Codex Agents
- Perplexity: Member of Technical Staff (AI Inference Engineer)
- Pika: ML Engineer, Inference & Optimization
- Poolside: Member of Engineering (Inference Infrastructure)
- Reddit: Senior Machine Learning Systems Engineer
- Roboflow: Machine Learning Engineer - Inference Maintainer & Developer Experience
- SambaNova: AI Performance Engineer - New Grad
- Sierra: Software Engineer, Inference
- Together AI: (Senior/Junior AI Inference Reliability Engineer, Compute Infra
- Waymo: Senior ML Compiler Engineer, Compute
- Wayve: Staff ML Performance Engineer, Performance Architecture
As they were on November 26, 2026. Employers take postings down when a job is filled, so some links will have stopped working.
The counts say what these postings ask for. They are not salary data, not a measure of the job market, and not a promise of a job.
- Current
1. Where the Cost Comes From: Prefill, Decode and the KV Cache
Explain why generating one token is usually memory-bandwidth-bound while processing the prompt is compute-bound, estimate the KV-cache size of a request from the model's shape, and predict from first principles whether a change will speed up prefill, decode, or neither
¶ Read · 5 min⚑ Mission · 35 min◆ Test · 5 questions - Unlocks after module 1
2. Quantization: int8, int4 and When Quality Drops
Explain what a quantization scheme actually stores (scales, zero-points, group sizes), say why weight-only 4-bit helps decode but not prefill, compare round-to-nearest, GPTQ and AWQ in terms of what they calibrate, and describe how you would detect that a quantized model has lost quality before users do
¶ Read · 5 min⚑ Mission · 35 min◆ Test · 5 questionsFinish module 1 first. You can still read it.
- Unlocks after module 2
3. Serving at Scale: Continuous Batching and Paged Attention
Explain why batching raises throughput almost for free during decode, what continuous (iteration-level) batching fixes compared with static batching, how PagedAttention stops KV-cache memory being wasted, and which knobs in vLLM, SGLang or TensorRT-LLM trade latency against throughput
¶ Read · 5 min⚑ Mission · 40 min◆ Test · 5 questionsFinish modules 1–2 first. You can still read it.
- Unlocks after module 3
4. Speculative Decoding and Distillation
Explain how a small draft model lets a large model emit several tokens per forward pass without changing its output distribution, estimate the speed-up from acceptance rate and draft cost, and say when distilling a smaller student is the better investment than speeding up the teacher
¶ Read · 5 min⚑ Mission · 35 min◆ Test · 5 questionsFinish modules 1–3 first. You can still read it.
- Unlocks after module 4
5. Accelerators: GPU, TPU, CPU and Edge — What the Memory Hierarchy Decides
Read an accelerator spec sheet (peak FLOPs, memory capacity, memory bandwidth, interconnect) and place a given model and workload on the roofline, explain why FlashAttention is a memory-hierarchy trick rather than a maths trick, and say what changes when the target is a laptop CPU or a phone instead of a data-centre GPU
¶ Read · 6 min⚑ Mission · 40 min◆ Test · 5 questionsFinish modules 1–4 first. You can still read it.
- Unlocks after module 5
6. Measuring Latency and Cost Honestly
Define time-to-first-token, inter-token latency, tokens per second and goodput, explain why averages and single-request benchmarks mislead, compute cost per million tokens from an hourly machine price and a measured throughput, and list the ways a vendor benchmark can be technically true and still irrelevant to your production load
¶ Read · 4 min⚑ Mission · 35 min◆ Test · 5 questionsFinish modules 1–5 first. You can still read it.
- Unlocks after module 6
7. Caching, Routing and the Small-vs-Large Model Decision
Explain what prefix (KV) caching saves and what it cannot, structure prompts so they cache well, describe how a router decides which model answers a request and what it is optimising, and build the cost-quality argument for a cascade of small and large models without hand-waving the evaluation
¶ Read · 5 min⚑ Mission · 35 min◆ Test · 5 questionsFinish modules 1–6 first. You can still read it.
- Unlocks after module 7
8. Capstone: Serve a Small Model Two Ways and Write the Report
Download an open-weight model, serve it with two different stacks or precisions on your own machine, benchmark both with a fixed workload, check that quality survived, and turn the numbers into a one-page cost-and-latency report with a recommendation and its caveats
¶ Read · 5 min⚑ Mission · 75 min◆ Test · 5 questionsFinish modules 1–7 first. You can still read it.
Final check and certificate
Finish all 8 modules, then answer 10 questions drawn from the whole track, in 200 seconds. 8 correct answers earn the certificate.
What changed
Corrections and updates to this track's lessons, from the weekly check of every lesson against its sources.
- · Quiz fixed · Lesson 6: Measuring Latency and Cost HonestlyA quiz question was fixed.
- · Quiz fixed · Lesson 1: Where the Cost Comes From: Prefill, Decode and the KV CacheA quiz question was fixed.
- · Clarified · Lesson 1: Where the Cost Comes From: Prefill, Decode and the KV CacheA passage was reworded to match its source.
- · Update · Lesson 3: Serving at Scale: Continuous Batching and Paged AttentionA fact was brought up to date.
Monthly challenge
Take one small open-weight instruction model (under 2B parameters) and serve it two different ways on hardware you already have — for example llama.cpp at Q8_0 versus Q4_K_M, or PyTorch Transformers versus llama.cpp. Drive both with the same 30-prompt workload, record time-to-first-token, decode tokens per second and p50/p99 latency at concurrency 1 and 4, spot-check output quality on ten prompts, and write a one-page cost-and-latency report that converts the numbers into cost per million tokens at an assumed hourly machine price and ends with a recommendation you would defend to a sceptical CTO.