Modal Serving Engine Internals interview questions
Serving Engine Internals is a core part of the Modal 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 Modal 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 MODAL LOOKS FOR HERE · Linux, containers, filesystems and storage internals. See the full Modal interview process →
Serving Engine Internals questions tagged to Modal
More Serving Engine Internals questions for Modal's loop
Sorted by reader votes. These are not tagged to Modal; they cover the serving engine internals ground its Inference Engineer loop is known to test.
Concepts behind Modal's Serving Engine Internals round
What these answers take for granted. Foundation concepts are free to read; the advanced ones are Premium.
Modal's Inference Engineer loop draws serving engine internals questions such as "How does an engine batch requests for different LoRA adapters in one forward pass, and what do Punica-style shrink and expand kernels do?", "llama.cpp versus vLLM: what is each engine built for, and when does the CPU or Apple Silicon path actually win?", "Walk one request through vLLM V1, from the HTTP call to the streamed token. Which process owns each step, and why is it split that way?". 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 Modal interview rounds
The other tracks Modal's Inference Engineer loop tests.
Prep the whole Modal Inference Engineer loop
Serving Engine Internals is one round. Unlock every answer across Modal'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 Modal. All trademarks belong to their owners.