NVIDIA KV Cache & GPU Memory interview questions
KV Cache & GPU Memory is a core part of the NVIDIA 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 NVIDIA 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 NVIDIA LOOKS FOR HERE · Speed-of-light and roofline modeling: arithmetic intensity, bandwidth, occupancy, memory hierarchy, communication cost. See the full NVIDIA interview process →
KV Cache & GPU Memory questions tagged to NVIDIA
More KV Cache & GPU Memory questions for NVIDIA's loop
Sorted by reader votes. These are not tagged to NVIDIA; they cover the kv cache & gpu memory ground its Inference Engineer loop is known to test.
Concepts behind NVIDIA's KV Cache & GPU Memory round
What these answers take for granted. Foundation concepts are free to read; the advanced ones are Premium.
NVIDIA'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.", "Account for every gigabyte on a GPU running vLLM: weights, KV pool, activations, CUDA graphs and NCCL buffers.", "FP8 KV cache: what scales does it need, where is the error largest, and how would you validate it on long-context tasks?". 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 NVIDIA interview rounds
The other tracks NVIDIA's Inference Engineer loop tests.
Prep the whole NVIDIA Inference Engineer loop
KV Cache & GPU Memory is one round. Unlock every answer across NVIDIA'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 NVIDIA. All trademarks belong to their owners.