All jobs / AI engineer / Open-Source & Local Models

AI engineer interview question · 3–5 years

You serve a model through an inference server such as vLLM. What does continuous batching give you, and what is the trade-off?

The strongest answer

It runs many requests together and admits new ones as others finish, so the GPU stays busy and throughput rises. Each request slows under load, so I set concurrency limits against a latency target

Why it works

Right — throughput and cost per token improve, and per-request latency is what you pay. Measure time to first token and tokens per second separately, under realistic load.

What a good answer covers

Answers that fall short

Who gets asked this

More Open-Source & Local Models questions