Cold start to warm worker · 8 min
Load and ready the model
The runtime loads model shards into GPU memory, initializes execution, warms up, and declares the worker ready.
Plain language, the core causal flow, and required checks.
From stored files to a warm worker
At startup, the serving system resolves an exact artifact, reserves device memory, and moves weight shards from storage through host memory into GPU HBM. Multi-GPU workers also establish their communication groups.
The runtime then initializes kernels, memory pools, and cache structures. Warmup requests exercise important execution paths before the worker is marked healthy and admission opens.
Loading happens once per worker lifecycle; the resident weights are then reused across many inference requests.
Interactive explanation
Move model files into GPU memory
Cold start · Phase A
Move stored model files into GPU memory
This phase moves and verifies bytes. Its endpoint is weights resident in HBM—not a worker that is ready to serve.
Readiness is a sequence, not a process state
After bytes arrive in HBM, the worker may still need to initialize memory pools, compile or select kernels, establish multi-rank communicators, allocate cache structures, and exercise representative shapes. Admission should open only after that usable execution path succeeds.
Interactive explanation
Ready an inference worker
Cold start · Phase B
Turn resident weights into a usable inference worker
This phase begins exactly where data movement ends. Admission remains closed until the runtime can execute representative model work.
- 1Allocate runtime
- 2Connect GPU ranks
- 3Initialize kernels
- 4Warm up
- 5Open admission
- Distinguish cold and warm inference.
- Trace weights from storage to GPU HBM.
Core check
What distinguishes a warm worker from a cold one?
Terms in this chapter
- Model artifact
- The versioned collection of weights, configuration, tokenizer assets, and metadata needed to reconstruct a model.
Primary references
- Transformers model loading ↗Hugging Face
Primary runtime documentation for model configuration and state dictionaries.
- Triton model configuration and warmup ↗NVIDIA
Primary reference for model instances, loading, warmup, and readiness behavior.