Skip to content

Baseten KV Cache & GPU Memory interview questions

KV Cache & GPU Memory is a core part of the Baseten 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 Baseten 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 BASETEN LOOKS FOR HERE · Prefill/decode disaggregation, speculative decoding, KV-cache management. See the full Baseten interview process →

KV Cache & GPU Memory questions tagged to Baseten

5 questions · 1 unlocked for you

More KV Cache & GPU Memory questions for Baseten's loop

Sorted by reader votes. These are not tagged to Baseten; they cover the kv cache & gpu memory ground its Inference Engineer loop is known to test.

11 questions · 4 unlocked for you
BASETEN KV CACHE & GPU MEMORY FAQ
What KV Cache & GPU Memory questions does Baseten ask in interviews?▲

Baseten's Inference Engineer loop draws kv cache & gpu memory questions such as "Account for every gigabyte on a GPU running vLLM: weights, KV pool, activations, CUDA graphs and NCCL buffers.", "Design KV offload to CPU memory. When does fetching blocks back over PCIe beat recomputing them?", "With parallel sampling at n=8, a 2K-token prompt and 500 output tokens each, how many KV blocks does copy-on-write save?". 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.

How should I prepare for the Baseten KV Cache & GPU Memory round?▼
Does Baseten hire inference engineers?▼
What is the Baseten inference interview process?▼

Other Baseten interview rounds

The other tracks Baseten's Inference Engineer loop tests.

Prep the whole Baseten Inference Engineer loop

KV Cache & GPU Memory is one round. Unlock every answer across Baseten'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 Baseten. All trademarks belong to their owners.