Back to concept

Cache of keys and values when generating LLM

What does the language model’s KV cache store, why does it speed up generation, and what limitations does it create when serving multiple queries?

Answer as you would in an interview

Answer aloud or write down a few key points. The text field is optional; the review opens after your attempt.

Loading
Cache of keys and values when generating LLM — interview question — ML Mentor