Google DeepMind KV Cache & GPU Memory interview questions
KV Cache & GPU Memory is a core part of the Google DeepMind Inference Engineer loop. The KV algebra across MHA, GQA, MQA and MLA, block tables and fragmentation, hash and radix prefix reuse, eviction, FP8 KV, CPU and NVMe offload, and the gpu_memory_utilization budget that decides how many sequences actually fit. Questions tagged to Google DeepMind come first. After them, the top-voted questions from the KV Cache & GPU Memory track. Each answer is written the way a senior serving engineer would argue it at a whiteboard, numbers included.
WHAT GOOGLE DEEPMIND LOOKS FOR HERE · Python and C++ including navigating, debugging and modifying serving codebases. See the full Google DeepMind interview process →
KV Cache & GPU Memory questions tagged to Google DeepMind
More KV Cache & GPU Memory questions for Google DeepMind's loop
Sorted by reader votes. These are not tagged to Google DeepMind; they cover the kv cache & gpu memory ground its Inference Engineer loop is known to test.
Concepts behind Google DeepMind's KV Cache & GPU Memory round
What these answers take for granted. Foundation concepts are free to read; the advanced ones are Premium.
Google DeepMind's Inference Engineer loop draws kv cache & gpu memory questions such as "Derive the KV cache footprint for MHA, GQA and MLA, then tell me how many 8K-token conversations fit on four H100s.", "FP8 KV cache: what scales does it need, where is the error largest, and how would you validate it on long-context tasks?", "A model mixes sliding-window and global attention layers. Compute its KV footprint at 128K and tell me what the window actually saves.". The KV algebra across MHA, GQA, MQA and MLA, block tables and fragmentation, hash and radix prefix reuse, eviction, FP8 KV, CPU and NVMe offload, and the gpu_memory_utilization budget that decides how many sequences actually fit. Every question in the topic is listed below from easiest to hardest, each with a worked answer.
Other Google DeepMind interview rounds
The other tracks Google DeepMind's Inference Engineer loop tests.
Prep the whole Google DeepMind Inference Engineer loop
KV Cache & GPU Memory is one round. Unlock every answer across Google DeepMind's full loop with Premium. Free questions in every track let you try the depth first.
Every worked answer and derivation in all 12 topics, every concept page, and the full practice-test bank.
6 months · One payment · No auto-renewal
Independent and not affiliated with Google DeepMind. All trademarks belong to their owners.