An inference engine and serving stack for language models. Its central problem is sharing finite GPU memory and compute among requests whose prompts and response lengths are different.
Orchestration Compute State & storage┄ Feedback / repeat
Simplified vLLM V1 online text-generation path. Scheduler and cache management live inside EngineCore; model execution lives in GPU workers. Data-parallel coordination, multimodal processing and disaggregated serving are omitted.
COMPONENT INSPECTOR
Application
Sends a prompt and generation settings through the compatible HTTP API. A streaming client receives partial output while generation is still running; one HTTP request spans many engine iterations.
Application API + input processingHTTP + prompt
Output processing ApplicationStream text chunks
FOLLOW THE DATA
One pass through the system.
4 steps
Select a step to highlight the components involved in the diagram.
SYSTEM DESIGN
Why it is built this way.
Throughput competes with latency
Large token batches keep GPUs occupied but can increase waiting time. Prompt length, generation length and traffic shape matter more than a single headline tokens-per-second number.
Paged memory is still finite
Block allocation reduces waste; it does not remove the KV memory limit. Under pressure the scheduler can preempt requests and later recompute their progress.
Parallelism adds communication
Sharding a model helps it fit across GPUs but introduces collective communication. More GPUs do not guarantee lower latency, especially across a slow interconnect.