87What is Multi-head Latent Attention (MLA), and how does it differ from MQA and GQA?▼expertDeepSeekNVIDIAMistral1 replies◆ premiumMQA and GQA shrink the KV cache by sharing key/value heads. MLA takes a different route: compress K and V into a low-rank latent and cache that. The signal is knowing it is a cache trick, not a head-sharing trick, and why it keeps quality.Open full answer →
05Explain the KV cache: prefill vs decode, why it grows, and how MQA/GQA and PagedAttention help.▼hard★ EssentialNVIDIAOpenAIAnthropic2 repliesunlockedThe KV cache is why LLM serving is hard, and the interviewer wants the mechanics: what it stores, why it limits concurrency, and the tricks that shrink it. Here is the answer that shows you understand decode-time economics.Open full answer →