Skip to content
THE INFERENCE ENGINEER’S STUDY SPACE

Every token.
Every tradeoff.

Go into your inference engineering interview with the intuition to derive, debug, and defend your decisions.

60 worked answers open to everyone.
Start reading. No account required.
ANATOMY OF A TOKENEXPLORE THE STACK

The past has a memory cost.

Follow keys and values from a token to a page, then work out how many sequences fit.

01 / MAKE THE CONNECTIONS

Learn it. Question it.
Make it your own.

A derivation gives you the model. An experiment exposes its limits. A hard question asks you to make the call.

02 / A PATH THROUGH THE MATERIAL

Your role.
Your next level of depth.

Start with what your work demands. Follow a deliberate sequence through concepts, experiments, and worked questions.

Explore the learning paths
FROM REQUEST TO TOKEN

Inference & serving

Build the memory model, follow the scheduler, and reason through an overloaded engine.

11 steps · First concept free · Access shown at each step

Bring with you
Transformer basics and working Python.
Work toward
Diagnose capacity regressions and verify KV ownership, cancellation, and cache isolation.
A good fit if
You can explain attention and want to reason about what an engine does with memory and time once requests arrive.
Not in this path
Writing kernels and splitting a model across GPUs; the kernel path and the distributed-inference topic cover those.
  1. 01
    Concept · Free

    The Roofline Model for LLM Inference

    Separate arithmetic and memory limits.

  2. 02
    Concept · Free

    The KV Cache: Bytes per Token and the Memory Budget

    Account for the bytes a sequence retains.

  3. 03
    Experiment · Free

    KV memory budget

    Change context and concurrency in the memory model.

  4. 04
    Concept · Free

    Iteration-Level Scheduling (Continuous Batching)

    Trace which requests run in each iteration.

  5. View all 11 steps
CODE DRILLS / VISIBLE TESTS FREE

Write it. Run it. Explain it.

Implement a serving component in Python, run it in your browser and inspect the result. Start with the split-KV merge; compare plans when you want the full edge-case suites and reference solutions.

03 / ON THE WORKBENCH

The prompt is short.
The reasoning goes deep.

Browse 273 questions
PERFORMANCE DEBUGGING · WORKED CASE

The weights fit.
The prompts fit.
So why the preemption?

At peak load, the engine keeps evicting sequences. Work from a concrete memory budget and decide what you would measure or change first.

Investigate the case
memory / a growing request
01 Weights stay resident.
02 Prompt KV fills the pool.
03 Decode keeps adding state.

What did admission forget?

Conceptual memory sketch. Open the case for the synthetic evidence and arithmetic.

04 / THE TECHNICAL TERRITORY

One serving path.
Twelve ways to go deeper.

See how the concepts connect
THE REFERENCE SHELF

Work it through.
Keep it close.

Browse all PDF guides →
THE STANDARD WE WORK TOWARD

You should be able
to check the reasoning.

Show the arithmetic. Name the hardware and the regime. Keep the source attached. When an assumption changes, the answer should change with it.

Read our accuracy standard
RESEARCH YOUR NEXT TEAM
NVIDIAOpenAIAnthropicGoogleTogether AI
Company guidesBrowse recent inference jobsPublic research, with confidence levels. No affiliation or endorsement.
FROM UNDERSTANDING TO ENGINEERING JUDGMENT

Your next great answer
starts with a better question.

Find your first questionOr follow a learning path