All Questions
Llm Inference Serving easy

A coding assistant runs at low concurrency, its GPUs have spare compute during decode, and users want faster per-token output. A teammate proposes speculative decoding with a small draft model. Why can this help?

  1. A The draft model replaces the large model on easy tokens, so output quality depends on the draft for those.
  2. B It shrinks the KV cache, because only the small draft model keeps attention state during generation.
  3. C It reduces memory bandwidth per step by loading only half of the large model's layers for each token.
  4. D The large model verifies several drafted tokens in one forward pass, cutting the number of sequential steps.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions