Model Caching for Faster Inference
Your model serving stack is not slow. Your nodes are just busy downloading. Here is how model caching removes the wait on kServe, llm-d, and NVIDIA Dynamo.
The bottleneck nobody profiles
Teams spend weeks tuning batch sizes and kernels. Then a scale-up event lands and the new replica takes six minutes to answer its first request. None of that time is inference. It is a node downloading an image that the node beside it already holds.
Container image distribution was designed for hundred megabyte web services. AI model artifacts run hundreds of gigabytes. Every minute a GPU node spends pulling weights is a minute of GPU spend with no revenue behind it.
Where the time actually goes
A cold inference replica passes through four stages before it serves anything. Only the last one is your model.
| Stage | Typical time | Who owns it |
|---|---|---|
| Node scheduled | Seconds | Kubernetes scheduler |
| Image and weights pulled | Minutes | Registry and network |
| Runtime start | Seconds | Serving runtime |
| Model loaded to GPU | Seconds to a minute | Your framework |
The pull stage dominates, and it is the one stage your serving framework cannot optimise. It happens before your framework is running.
Why registry mirrors are not enough
The usual answer is a pull through cache in the region. It helps once. Then a rollout starts and every node asks that same mirror for the same layers at the same second. The mirror becomes the new queue. You moved the bottleneck, you did not remove it.
Rate limits make it worse. Public registries throttle by source, so a large cluster behind one egress address gets slowed exactly when it is scaling hardest.
Model caching, peer to peer
The fastest copy of your model is usually already inside the cluster. A node that pulled the weights an hour ago is sitting on local disk, a switch hop away, with bandwidth to spare.
Spegel Enterprise Edition (SEE) turns that idle local storage into the distribution layer. It reads the manifest once, works out which healthy nodes should fetch which layers, and lets the cluster reassemble the image between peers. One pull from the registry. Many nodes ready.
Instead of doing a ten thousand piece puzzle alone, every node becomes a set of hands.
What this looks like on your stack
kServe
kServe scales InferenceServices up and down with demand, including to zero. That elasticity is only real if a new pod is useful quickly. Cache the serving image and the model layers across nodes and the cold start collapses into the runtime start time.
llm-d
llm-d spreads a single model across many pods to separate prefill from decode. More pods means more copies of the same very large artifact landing on more nodes. Peer distribution is the difference between adding capacity in seconds and adding it in tens of minutes.
NVIDIA Dynamo
NVIDIA Dynamo is built to keep expensive accelerators saturated. A GPU waiting on a network download is the most costly idle resource in the building. Removing pull time is the cheapest utilisation win available.
Time to first token starts before the first token
Teams report time to first token from a warm pod. Your users experience it from whatever pod happens to receive their request. During a scale-up that pod may be brand new. If it needed six minutes to become ready, that is the latency the customer felt.
Measure readiness from pod creation, not from process start. The number usually surprises people.
Where this matters most
Multi region rollouts repeat the same download in every region. Air gapped clusters have no upstream registry to lean on at all. CI driven deployments create a burst of identical pulls on a schedule. All three are the same problem wearing different clothes.
You can read the detail on multi region model distribution, air gapped inference, and thundering herd elimination.
Try it on one cluster
Pick the cluster with the worst scale-up latency. Measure the time from pod creation to ready. Install Spegel Enterprise Edition (SEE) and measure again.
The getting started guide takes about five minutes. If you would rather talk it through first, phone a friend.