Skip to content

Start here

Start with your background, choose a topic, and work through a problem before reading its answer. This page connects the study paths, experiments, and practice tools so you can choose what to do next. To start with interview questions, the 12 must-know questions are at the bottom.

Not sure where on this map you actually are? Take the 15-minute readiness assessment and it will tell you which of the 12 areas you have covered, then build this plan around your gaps instead of leaving you to guess. Free, and no account needed.

Worked answers on inference mechanisms, with calculations, implementation details, and follow-up questions.

THE JOURNEY, END TO END
  1. 01 · THE GUIDEOrientLearn what the job covers, how the loop is built, and which rounds your target team weights.
  2. 02 · INFERENCE PHYSICSModelBuild the cost model first: bytes and FLOPs per token, the roofline, and why decode is priced in bytes.
  3. 03 · QUESTIONSPracticeAnswer out loud and show the arithmetic. Finish a topic before opening the next, and climb its difficulty in order.
  4. 04 · SYSTEM DESIGN AND COMPANIESProveSize a fleet end to end and debug a regression from metrics, then rehearse your target company's loop.

Where are you starting from?

Your background decides which stage you can skip. Pick the row closest to your current job (more than one may fit) and open its three links top to bottom.

Backend or distributed systems engineer

Queues, caches and tail latency are familiar. The GPU is the new part.

Start at stage 2: the hardware cost model is what you are missing.

  1. 1The decode latency floorfree: the one derivation every later answer reuses
  2. 2Continuous batching and the token budgetfree: schedulers, in the vocabulary you already have
  3. 3Inference system designwhere your existing strength turns into an offer

ML engineer or researcher

You know the model. Serving it is a different discipline.

Start with memory: the KV cache is where model choices become serving costs.

  1. 1KV footprint and how many sequences fitfree: GQA and MLA, priced in bytes
  2. 2Speculative decoding, derived and provedfree: the algebra and when it stops paying
  3. 3Serving engine internalshow a request actually moves through vLLM

CUDA, HPC or kernel engineer

You know the hardware. The engine and the fleet around it are new.

Start at stage 3 with the kernel rounds, then climb into scheduling.

  1. 1Online softmax and why FlashAttention winsfree: the recurrence and the IO count
  2. 2A decode GEMV at half of peak bandwidthfree: bytes in flight and split-K
  3. 3Batching, scheduling and admissionthe layer above your kernels that decides their shapes

Student or new graduate

No production serving experience yet. The fundamentals close most of the gap.

Read the role guide once, then do stage 2 properly before anything else.

  1. 1What an inference engineer isthe job, described from the bottom of the stack up
  2. 2Inference physicsevery topic after this one is an application of it
  3. 3The implementation roundbuild a block allocator and a scheduler by hand

Already in inference, aiming at senior or staff

You know the parts. The bar is fleet-level judgment with numbers.

Go straight to stage 4 and work the expert questions under a timer.

  1. 1Size a 70B fleet and its token costfree: from requests per second to dollars per million tokens
  2. 2One TP=8 replica or two TP=4free: the all-reduce cost and the KV reversal
  3. 3Performance debuggingregressions decomposed from metrics, not guessed

Questions, concepts and the rest, defined

A question page answers one interview prompt. A concept page explains one mechanism that several prompts lean on. Start from whichever matches what you are stuck on.

STAGE 03 · THE DIAGNOSTIC

The must-know questions

Short on time? These 12 are the highest-leverage prep across every topic: the foundational questions every inference loop builds on. Answer them out loud. Whichever ones you fumble tell you which stage to go back to, and you can then go deep by topic.

12 questions · 12 unlocked for you