Zenaique
Topics
Practice
Browse
Reference
Challenges
Pricing
Search…
⌘K
Topics
/
Inference Optimization
/
KV Cache
KV Cache
Subtopic
80 questions
Questions tagged with KV Cache — part of Inference Optimization.
Format
Difficulty
Role
Experience
Companies
Sort
Newest
Quality
Difficulty ↑
Difficulty ↓
Questions
Walk through KV-cache updates when speculative decoding rejects some draft tokens
Short Answer
Medium
·
Qual 4.0
During decode, why is only Q computed for the new token while full K and V come from cache?
Multiple Choice
Easy
·
Qual 4.0
Prefill and decode: name the two phases of LLM inference and say which one is compute-bound
Flashcard
Easy
·
Qual 4.0
vLLM defaults to a page size of 16. Pick what makes 1 and 1024 worse choices.
Multiple Choice
Medium
·
Qual 4.0
Spot the GQA configuration error: num_attention_heads=32, num_key_value_heads=7.
Spot the Error
Medium
·
Qual 4.0
Why does MQA underperform GQA when both share KV across heads?
Short Answer
Medium
·
Qual 4.0
MQA, spell out the acronym and name exactly what gets shared across heads
Flashcard
Easy
·
Qual 4.0
Identify the attention-pattern difference between Mistral 7B and Llama-2 7B
Multiple Choice
Medium
·
Qual 4.0
Across which axes is the KV cache stored, per layer, per head, per batch?
Flashcard
Easy
·
Qual 4.0
INT8 KV cache vs INT8 weight quantization, which one is easier in production?
Multiple Choice
Medium
·
Qual 4.0
Llama-2 70B uses 64 query heads, how many KV heads does it actually keep?
Multiple Choice
Easy
·
Qual 4.0
GQA, decode the acronym and describe its KV sharing pattern
Flashcard
Easy
·
Qual 4.0
Flash-Decoding parallelizes an axis FlashAttention v2 left alone. Pick which one.
Multiple Choice
Medium
·
Qual 4.0
Name two production KV-cache eviction policies and what each prioritizes
Short Answer
Medium
·
Qual 4.0
Translating one source sentence into many target languages, what attention-side trick scales?
Short Answer
Medium
·
Qual 4.0
Decoder-only LLMs ship without a cross-attention sub-layer, so where does the context go?
Short Answer
Medium
·
Qual 4.0
Decode-phase attention is memory bandwidth bound. Explain what flips the regime.
Short Answer
Medium
·
Qual 4.0
Describe how continuous batching interacts with the KV cache
Short Answer
Medium
·
Qual 4.0
How does prefix KV-cache sharing reduce serving cost across requests?
Short Answer
Medium
·
Qual 4.0
Name two recovery moves a serving stack can pull when KV memory runs short mid-request.
Short Answer
Medium
·
Qual 4.0
You change one word in the system prompt and prompt caching breaks. Why?
Flashcard
Easy
·
Qual 4.0
How does PagedAttention enable prefix sharing across requests and what data structure makes it cheap?
Short Answer
Hard
·
Qual 4.0
What is RadixAttention in SGLang and how does it differ from vLLM's prefix sharing?
Short Answer
Hard
·
Qual 4.0
Which workload most benefits from RadixAttention specifically vs simpler per-request prefix caching?
Multiple Choice
Hard
·
Qual 4.0
How do Anthropic and OpenAI prompt-cache pricing models work and what counts as a cache hit?
Short Answer
Medium
·
Qual 4.0
Showing 26–50 of 80
← Prev
Next →