An inference replica does not offer usable capacity immediately after its process begins. Before serving requests, the runtime must bring model parameters into memory, establish GPU resources and prepare the execution engine. Some of this preparation includes producing specialized code, recording reusable GPU workloads and warming the serving environment. The work matters during restarts, model replacements and scale-out, because those operations may require the same initialization steps again.

Several layers of the software ecosystem are exploring ways to avoid repeating initialization work. Engines including vLLM and SGLang investigate reuse of weights and other prepared state. At the serving layer, operators can retain ready-to-serve replicas or recover an environment from a snapshot. Meanwhile, container and orchestration projects are considering interfaces that could support these approaches. Each technique retains a different part of the runtime, so its operational assumptions and integration requirements need separate evaluation.

A typical LLM server startup involves several sequential steps: launching processes and importing libraries, reading model files and constructing tensors, performing weight transformations, initializing the execution runtime, allocating memory, and preparing the engine for serving.

Startup optimizations address different kinds of preparation. Compiling kernels and choosing suitable implementations can introduce work before the engine is ready, while capturing GPU operations into CUDA Graphs prepares execution paths for later reuse. Documentation from vLLM describes the tradeoff between preparation effort and performance once requests are being processed. Which step matters most varies with the model, software configuration, hardware and storage, making it important to measure the startup stages rather than assume any single approach removes them all.

vLLM's Fast Start approach uses a persistent weight daemon that loads weights into GPU memory and exposes them to compatible engines through CUDA inter-process communication. This separates the weight lifecycle from engine restarts. SGLang and llm-d document additional loading strategies including pre-sharded state and streaming loaders. These mechanisms preserve different states depending on implementation details.

CNCF notes that each implementation has different boundaries and integration conditions. For example, snapshot workflows may discard the key-value cache before capture and recreate it after restoration. The daemon must remain alive while engines use its memory, and CUDA IPC handles are local to a node.

Original sourceCNCF ↗

Read the original announcement for complete details and context.

Independent editorial summary based on the original announcement. Illustration is conceptual.

Back to all stories