Baseten Serving Engine Internals interview questions
Serving Engine Internals is a core part of the Baseten Inference Engineer loop. vLLM V1, SGLang, TensorRT-LLM and llama.cpp from the inside: the engine core loop, schedulers, KV managers, model runners, CUDA graph capture, detokenisation and streaming, and the configuration knobs whose defaults you must be able to defend. Questions tagged to Baseten come first. After them, the top-voted questions from the Serving Engine Internals 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 →
Serving Engine Internals questions tagged to Baseten
More Serving Engine Internals questions for Baseten's loop
Sorted by reader votes. These are not tagged to Baseten; they cover the serving engine internals ground its Inference Engineer loop is known to test.
Concepts behind Baseten's Serving Engine Internals round
What these answers take for granted. Foundation concepts are free to read; the advanced ones are Premium.
Baseten's Inference Engineer loop draws serving engine internals questions such as "What do gpu_memory_utilization, max_model_len and max_num_seqs each control in vLLM, and how do they interact at startup?", "Why do serving engines capture a CUDA graph per batch size, and what does padding to the nearest captured size actually cost?", "TensorRT-LLM in 2026: what is the PyTorch backend, how does its in-flight batching admit requests, and when do you still pick it?". vLLM V1, SGLang, TensorRT-LLM and llama.cpp from the inside: the engine core loop, schedulers, KV managers, model runners, CUDA graph capture, detokenisation and streaming, and the configuration knobs whose defaults you must be able to defend. Every question in the topic is listed below from easiest to hardest, each with a worked answer.
Other Baseten interview rounds
The other tracks Baseten's Inference Engineer loop tests.
Prep the whole Baseten Inference Engineer loop
Serving Engine Internals 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.