Tutorial

vLLM Preload Weight Cache Daemon: Fast Restarts in vLLM 0.31 (2026)

Back to BlogWritten by Published Oct 22, 2026Updated
vLLM Preload Weight Cache DaemonvLLM 0.31 Fast RestartvLLM ipc_cache Load FormatvLLM Faster Model ReloadWeight Cache DaemonCUDA IPCvLLMLLM InferenceGPU Cloud
vLLM Preload Weight Cache Daemon: Fast Restarts in vLLM 0.31 (2026)

vLLM 0.31 shipped a weight-cache daemon that changes what a model restart actually costs you. Instead of an engine reading gigabytes of weights off disk every time it starts, a standalone process holds the weights in GPU memory and hands a restarting engine a CUDA IPC handle to them. The 0.31.0 release that shipped it carried 717 commits from 307 contributors, 96 of them first-time contributors to the project.

TL;DR: What Is the vLLM Preload Weight Cache Daemon?

vLLM 0.31's weight-cache daemon keeps model weights resident in GPU memory, so restarts map them via CUDA IPC instead of reloading from disk.

  • Mechanism: vllm preload --model <name> --tensor-parallel-size <n> starts it; engines restart with --load-format ipc_cache.
  • Claimed gain: vLLM's docs say this cuts restart time "from minutes (disk load + quantization processing) to seconds."
  • 0.31 adds: data-parallel engines and MTP/EAGLE draft models get their own daemon cache.
  • Limit: zero_copy needs the daemon's GPU memory to stay live, covering an engine restart, not a GPU stop or spot reclaim.
  • Spheron bills GPU instances per minute with no commitment, the backdrop for sizing allocated GPUs once restarts get cheap. Check current GPU pricing for live rates.

What vllm preload and the ipc_cache Load Format Actually Do

Run vllm preload --model <name> --tensor-parallel-size <n> and vLLM starts a dedicated per-GPU process, the WeightCacheDaemon, that loads one tensor-parallel shard of the named model into GPU memory and then sits there serving it, rather than exiting once the load finishes. Launch or restart a vLLM engine afterward with --load-format ipc_cache and it connects to that daemon over a Unix domain socket, receiving CUDA IPC handles to the already-resident weight tensors instead of reading the checkpoint files again.

You pick between two handoff modes through --model-loader-extra-config's mode key. The default, zero_copy, shares the daemon's existing GPU memory with the engine directly, so a restart adds no extra VRAM footprint for weights. copy mode clones the tensors into the engine's own memory instead, which costs a one-time copy but lets the daemon release its cache once the handoff completes. The rest of --model-loader-extra-config covers the production knobs: fallback (true by default) to drop back to a disk load if the daemon is unreachable, connect_timeout_s and state_timeout_s to bound the handshake, and socket_path/socket_dir to control where the Unix socket lives.

Before an engine maps a daemon's cached weights, vLLM runs a fingerprint check comparing checkpoint content, model architecture, tensor- and data-parallel configuration, dtype, quantization method, RoPE parameters, model revision, KV cache settings, and vLLM version itself. Any mismatch triggers the same disk-load fallback as an unreachable daemon, unless you explicitly disable it. That check is also why preload is a same-node, same-user feature: Unix domain sockets don't cross hosts, so the daemon and every engine it serves have to live on one machine. Preload supports tensor, expert, and data parallelism, including across nodes, but vLLM rejects pipeline parallelism outright when you try to launch the daemon.

A Common Setup Mistake: ipc_cache Belongs to the Engine Flag, Not the Daemon Command

vllm preload has to load the checkpoint from disk at least once, since it's the process that puts weights into GPU memory in the first place. Passing --load-format ipc_cache to that same command is a configuration error, not a different startup mode: vLLM's own docs call it out directly, stating that the daemon itself must load from disk and that passing ipc_cache to vllm preload is an error. The flag only means something on the engine process you start afterward, the one that connects to an already-running daemon over its Unix domain socket. If a preload setup fails on launch with a load-format complaint, check which command the flag landed on before assuming the daemon itself is broken.

Where Preload Draws the Line: Platform and Trust Boundaries

Only CUDA and ROCm

Weight preloading is only supported on CUDA and ROCm platforms, so it isn't available on CPU-only builds or on accelerator backends outside those two. That's a narrower requirement than the daemon's parallelism support, which already spans tensor, expert, and data parallelism across nodes, so platform is the first thing worth checking, not parallelism topology, when a preload daemon won't start.

The Socket Protocol Isn't for Shared Hosts

The daemon's Unix domain socket speaks pickle, and the documentation is direct about what that means: the protocol is intended only for trusted local processes owned by the same user, not for any process that happens to be able to reach the socket path. On a GPU box shared across teams or tenants, that's a real boundary to respect, the same way you wouldn't leave an unauthenticated database port open on a multi-tenant node. Keep the socket directory scoped to the user running the engine, and don't treat preload as safe across a trust boundary just because the traffic never leaves the box.

vLLM Faster Model Reload: Measured Restart Time, Disk Load vs the Weight-Cache Daemon

The bottleneck the daemon targets is real and it's large. That weight-loading tax gets worse with contention. Before isolating per-worker CPU allocation and reusing saved kernel-tuning results, we ran DeepSeek V4.1 Flash on a fresh two-copy node that took 43.6 minutes to reach serving; 15.8 of those minutes came from vLLM handing every GPU worker 40 CPU threads instead of a fair share, and another 13 came from kernel autotuning that re-ran on every boot because the cache folder name changed each time. Fixing both, plus starting both copies together, cut that cold start to 11.9 minutes. None of that fix involved the weight-cache daemon, since it predates 0.31, but it shows the order of magnitude a disk-bound, CPU-contended load works against: tens of minutes, driven mostly by phases a resident, IPC-mapped weight cache skips entirely by never re-reading the checkpoint.

Keep this separate from a different restart-time change that shipped a release earlier. vLLM's 0.30 release notes credit Model Runner V2's process-level garbage-collection freezing with cutting engine initialization, not weight loading, from 28.9 seconds to 8.2 seconds on an H200, a figure vLLM reports for its own setup rather than an independent benchmark; see the MRV2 deployment guide for more on that separate change. The weight-cache daemon's seconds-not-minutes claim in 0.31 is specifically about the disk-to-VRAM weight transfer, the same transfer GPU Direct Storage speeds up for workloads that still have to read from disk every time; preload's answer is to avoid the re-read altogether for weights already loaded somewhere on the box.

Data Parallelism and MTP Draft Models in the Same 0.31 Release

Preload shipped in an earlier vLLM release scoped to tensor-parallel single-model serving. 0.31 extends it in two directions that matter once you're running anything past a single dense model on a single engine.

Data-parallel deployments can now preload through --data-parallel-size, --data-parallel-size-local, --data-parallel-start-rank, and --data-parallel-address, so a sharded-by-replica deployment gets the same IPC-mapped restart path as a plain tensor-parallel one. Speculative decoding gets its own daemon group: MTP, EAGLE, and EAGLE3 draft models run a second WeightCacheDaemon cluster on distinct *_draft.sock sockets, coordinated through a new --weight-cache-draft-master-port flag, so draft weights are cached and verified independently from the target model's. The MTP deployment guide covers the draft-head side of that pairing, and the same daemon-per-draft-group pattern applies to confidence-scheduled methods like DSpark.

Two more 0.31 additions are operational: a /health endpoint on the daemon, off by default until you pass --weight-cache-health-port, and a readiness-wait mechanism so an orchestrator can block routing traffic until every rank reports ready instead of guessing at a sleep timer. The daemon also runs FlashInfer's autotuning pass during preload by default and persists the results, so a later restart against the same daemon skips re-tuning too; the API reference exposes a config switch to turn that autotuning off if you'd rather skip it.

What vLLM 0.32 Added on Top of Preload

vLLM 0.32.0 followed two weeks later, on 18 October 2026, and it went after a cost ipc_cache doesn't touch: the kernel-selection work that still has to happen before an engine can use its fastest FlashInfer kernels. vllm preload --preload-autotune keeps that autotune table warm specifically across weight-cache daemon restarts, and a companion vllm download-kernels command installs FlashInfer's precompiled kernels directly instead of compiling them on first use. Run both together and a restart skips the weight reload ipc_cache already handles plus the kernel-selection pass that used to run again regardless.

The release shipped 814 commits from 363 contributors, 121 of them new to the project, a similar pace to 0.31.0's commit volume three weeks earlier. It also widened NVFP4 KV cache support, limited to Blackwell-class SM100 GPUs in 0.31, out to SM8x and SM12x architectures, to SM90, and to XQA decode on SM12x. That matters for the fingerprint check described above: KV cache dtype and quantization settings are part of what has to match before a daemon's cached weights get mapped, so a fleet mixing older and newer GPU generations now has a wider set of KV cache configurations that can legitimately match across a restart.

What CRIU Snapshots Hint at for Future Cold Starts

The same 0.31 release ships a second, unrelated restart-time feature at an earlier stage: experimental vllm snapshot create and vllm snapshot restore commands that use CRIU (Checkpoint/Restore In Userspace) to save and reload a fully initialized engine process, not just its weights. Where ipc_cache only caches weight tensors and needs a daemon running continuously to serve them, a CRIU snapshot captures the whole process state, weights, compiled CUDA kernels, and scheduler state, and restores it directly with no separate caching process needed.

The catch is scope. CRIU snapshot/restore currently works only on x86-64 Linux, a single NVIDIA GPU, and dense FP16 models at tensor-parallel size 1, which rules out most production multi-GPU serving today. The weight-cache daemon is what actually ships broadly in 0.31, across TP, expert, and data parallelism, and both CUDA and ROCm; CRIU snapshots are a preview of a restore path that could eventually cover compiled kernels and scheduler state too, not something to plan a deployment around yet.

Comparing Preload, GPU Direct Storage, and CRIU Snapshots

Three different levers now target the same restart-time problem in roughly the same release window, and they don't overlap as much as they might sound like they do:

ApproachWhat it cachesPlatform supportRestart order of magnitudeWhat has to stay running
Weight-cache daemon (ipc_cache)Model weight tensors onlyCUDA and ROCmSecondsThe WeightCacheDaemon process, holding GPU memory
GPU Direct StorageNothing cached; speeds up every disk readNVMe plus a GDS-capable storage stackMinutes, just fewer of themNothing extra; no cache process
CRIU snapshot/restoreFull engine process: weights, compiled kernels, scheduler statex86-64 Linux, single NVIDIA GPU, dense FP16, tensor-parallel size 1Seconds, in vLLM's own testingNothing; restores directly from a saved checkpoint

The daemon and CRIU both land at seconds, but for different reasons and with different strings attached. ipc_cache needs a second process permanently resident in GPU memory, so it buys nothing once that process goes down with the GPU underneath it. CRIU snapshot/restore needs no live process at all, which is the more complete answer in principle, but 0.31 ships it scoped to a single GPU and dense FP16 models, which rules out the multi-GPU, quantized serving most production deployments actually run. Preload's CUDA-and-ROCm platform support is already wider than CRIU snapshot/restore's x86-64-single-GPU limit, which is part of why the daemon is the one of the two worth deploying today.

Other vLLM 0.31 Performance Changes That Compound With Faster Restarts

The weight-cache daemon wasn't the only speed change in the same 0.31 release. A handful of kernel-level fixes shipped alongside it that change what an engine does once it's actually running, not just how fast it restarts:

ChangeEffect
FlashMLA with V4.1 NVFP4 compressed KV cacheNow the default attention backend on SM100 (Blackwell-class) GPUs
Indexer decode workspace sized by pooled length3 GiB of GPU memory saved
Fused KimiViT QK RoPEUp to 29x faster
Conv3dLayer patch embeddingAbout 62x faster
diffusion_constrained reads over logprob_token_idsAbout 25% faster
Fused QK RMSNorm, RoPE, and gateDecode region 55% faster

None of these touch restart time directly, but they're the reason cycling engines harder doesn't just shift cost from idle GPUs to wasted compute: the serving loop itself got cheaper in the same release, so an autoscaler that restarts engines more often isn't trading one inefficiency for another.

Fewer Always-On GPUs: Sizing Autoscaled Inference After 0.31

If your engine restart takes minutes, keeping engines running through low traffic is the safe default, because spinning one back up is too slow to track demand. Once a restart takes seconds, that math changes: you can let an autoscaler cycle engines against real traffic instead of padding capacity to absorb a slow cold start, which is the lever that lets a fleet run fewer GPUs permanently allocated to idle engines.

That only applies to the engine process, not the GPU allocation underneath it. zero_copy mode needs the daemon's GPU memory to stay live for its IPC handles to remain valid, and it's explicitly incompatible with vLLM's sleep mode (CuMemAllocator offloading), so a daemon-backed engine doesn't survive the GPU itself being stopped or a spot instance being reclaimed, only the engine process restarting on a GPU still allocated to it. Spot capacity is worth planning around rather than treating as an edge case. The standard mitigation, running two copies of every model on separate nodes so a reclaim never takes a model fully offline, doesn't go away just because restarts got faster; it's a separate problem the daemon doesn't solve.

Where the daemon's math applies directly is crash recovery and traffic-driven cycling on GPUs you already hold. In that same load testing, we watched an engine crash restart on the same node in 3 minutes, the kind of recovery window a daemon-backed restart is built to compress toward seconds. For the GPU allocation itself, H100 SXM5 runs $2.64/hr on-demand and $2.20/hr spot as of 12 Nov 2026. That combination, cheap engine restarts on top of per-minute billing, is what makes "fewer always-on GPUs, cycled harder" workable, provided the spot-reclaim redundancy above still happens around it.

Worked Example: What Faster Restarts Save on an Autoscaled Fleet

Put a number on the restart-time gap instead of leaving it qualitative. Say a fleet runs 10 replicas of the same model and each replica crash-restarts twice a day, the same 3-minute same-node recovery window measured above. That's 10 x 2 x 3 = 60 GPU-minutes a day spent recovering rather than serving. Cut each recovery to something close to vLLM's own seconds-scale claim for ipc_cache, say 10 seconds, and the same 20 restarts cost under 4 GPU-minutes a day instead, a reduction of roughly 56 GPU-minutes. On an on-demand H100 rental, that's not a large dollar figure on one node for one day; it's the order of an hour of GPU time reclaimed per day across just those 10 replicas. The number scales linearly with both replica count and restart frequency, which are exactly the two variables an autoscaler is built to push harder once restarts stop being the thing holding it back.

Pricing fluctuates based on GPU availability. Spheron rates above are live as of 12 Nov 2026; other providers reflect their most recent published rates and may have changed. Check current GPU pricing → for live rates.

Faster vLLM restarts change how many GPUs you need sitting idle between bursts of traffic, and per-minute billing is what makes acting on that math actually pay off.

Get started on Spheron →

FAQ / 04

Frequently Asked Questions

It starts a separate per-GPU process, the WeightCacheDaemon, that loads one tensor-parallel shard of a model into GPU memory and holds it there. A vLLM engine that starts afterward with --load-format ipc_cache connects to the daemon over a Unix domain socket and maps those weights via CUDA IPC instead of reading them from disk, so a restart becomes a memory-mapping operation rather than a disk-read-and-deserialize one.

Start the daemon on its own first: vllm preload --model <name> --tensor-parallel-size <n>. Then launch or restart the engine with --load-format ipc_cache. Optional --model-loader-extra-config keys tune the handshake: mode (zero_copy or copy), fallback (defaults to true, falling back to a disk load if the daemon is unreachable or its weights don't match), connect_timeout_s, state_timeout_s, socket_path, and socket_dir.

Yes. vLLM 0.31 extends preload to multi-token prediction and to EAGLE and EAGLE3 speculative decoding by running a second, separate draft-model daemon group on its own *_draft.sock sockets, coordinated through a --weight-cache-draft-master-port flag. Draft and target weights are cached and verified independently.

Preload (ipc_cache) only caches model weights in GPU memory through a daemon process that has to stay running. The experimental vllm snapshot create and vllm snapshot restore commands in the same 0.31 release go further and checkpoint a fully initialized engine process, weights, compiled kernels, and scheduler state, using CRIU, but only on x86-64 Linux, a single NVIDIA GPU, and dense FP16 models at tensor-parallel size 1.

// Try It Yourself

Try It on Real GPUs

The GPUs behind these guides are the ones you can rent here: H100s, H200s, B200s, and more, billed per minute after a 20-minute minimum runtime, with no contracts. Pick one and you are live in under two minutes.

View Pricing
→
Or talk to our team
Spheron GPU instance going live and linking data centers across the globe