Managing model weights storage for vLLM before the first production start
Decide where model weights live before the first production start, not after the first slow boot. A self-hosted vLLM server loads model weights from disk into accelerator memory every time it starts. Weights are the trained parameter files of a model, often many gigabytes per model, and they are read in full at each start. If the server fetches them from the internet on every start, startup time depends on network conditions, upstream availability and access tokens for gated models, and each node in a multi-node deployment repeats that work. Storage placement therefore affects three things at once: how repeatable startup is, what you pay for storage and egress, and which systems can read a copy of the model that may be proprietary or fine-tuned.
The default is the Hugging Face cache, which vLLM uses when it downloads a model by name. That path is convenient on a workstation but it is rarely the right design for a fleet. Each pod or node has its own copy unless you mount something shared, the cache location is controlled by the environment and the --download-dir option, and a cache that fills a node's root disk can fail a deployment in ways that look like an application fault. Teams need a deliberate design when they run more than one replica, scale nodes up and down, pin specific model revisions, handle license-restricted weights, or must show an auditor where model artifacts are stored and who can read them. Confirm the cache and download settings for your vLLM version in the vLLM online serving documentation before you write the platform standard.
Plan the storage decision as a set of questions to answer and record: whether weights are pre-staged to a local disk, a shared volume or an object store; who is allowed to write to that location and who may read it; how revisions are pinned and checksummed; and what happens when a node is replaced. Ask your platform team to confirm which vLLM release you will run, since the server and its loading behavior change between minor releases, which ship about every two weeks. Also confirm that the nodes in a multi-node run sit on an isolated network, because the vLLM security documentation treats inter-node traffic as unauthorized and unencrypted by default. Write those answers down before procurement, because they determine the disk sizes, volume classes and access policies that the later build depends on.
Storage options for vLLM weights and when each fits
This table compares five ways to get model weights onto the nodes that run vLLM: the Hugging Face cache, a shared download directory, a ReadWriteMany PVC, pre-staged local disks and object storage staged before start. Read each column to see where the bytes live, how startup behaves, whether nodes stay consistent and what the team must operate. The main takeaway is that the option which downloads at startup is the simplest to begin with but the hardest to keep identical and auditable across nodes.
| Option | Where the bytes live | Startup and cross-node consistency | Cache security and operational burden |
|---|---|---|---|
| Hugging Face cache on local disk | Each node's default cache directory, filled on first download | Startup can stall on downloads; nodes may hold different revisions unless pinned | Each node stores its own copy and token; burden grows with node count |
| Shared download directory | One path passed as the download directory, mounted where vLLM reads | Nodes read the same files once populated; first writer determines what is present | Access control depends on the mount; cache writes need coordination |
| Kubernetes PVC with ReadWriteMany | A network volume mounted into every serving pod | One copy serves all pods; consistency depends on the storage class and file locking | Volume permissions, backups and performance of the network filesystem need ongoing care |
| Pre-staged local disk per node | A verified copy placed on each node's local disk before the service starts | Fast, repeatable startup; consistency depends on checksum checks at staging | Each node needs its own copy and update step; avoids downloads from serving pods |
| Object storage staged before start | Weights kept in an object bucket and copied to local or shared disk in a separate step | Startup reads only local files; revisions are controlled by the staging job | Needs bucket access policy, encryption and audit logs; staging job becomes a maintained component |
Local disks or network filesystems: choosing by environment
On one bare metal server, local NVMe is usually the simplest choice. The weights are read once from a disk attached directly to the host, so load time depends on the drive and the host memory path rather than on a shared network. A network filesystem adds a second place for latency and failure, and it only pays off when the same weights must be shared with other hosts. Measure load time on the actual disk, because consumer and datacenter drives differ widely in sustained read speed.
- Load time: Time the first cold load from the NVMe device and a warm load from the page cache, since both shape restart behavior.
- Capacity: Size the volume for several model revisions at once, plus the Hugging Face cache, so downloads do not fill the root filesystem.
- Concurrency: With one process per model, locking is rarely a concern, but two services reading and writing the same cache directory need coordination.
- Persistence: Decide whether the host can be rebuilt from scratch, because a local disk is lost with the host unless it is backed up or re-staged.
- Permissions: Restrict the cache directory to the service account that runs
vllm serve.
Confirm the read throughput of the specific disk with your own benchmark before you commit to a startup time target.
Across several virtual machines, every node needs the same weights, and each copy costs disk space and download time. Local disks on each VM are fast for loading but require a synchronized staging step so that nodes run identical revisions. A shared network filesystem removes the duplicate copies, but many nodes reading large files at the same moment can saturate the network and the storage backend. Behavior under concurrent reads, and whether file locks behave correctly during writes, depends on the specific filesystem and mount options.
- Staging: Pre-stage the same revision on every node with a controlled process, rather than letting each node download independently at start.
- Shared mounts: If you use NFS, check the protocol version, mount options and client caching settings with the storage administrator.
- Contention: Start several nodes at once in a test and watch storage throughput and load times, since the first start often reveals the bottleneck.
- Lock behavior: Verify that concurrent writers to the cache do not corrupt files, and keep writes to the shared cache to a single controlled step.
- Network path: Confirm that weight traffic uses the storage network and does not compete with inference traffic on the same link.
Before choosing a shared mount, ask the storage team for measured throughput and lock behavior under your node count.
In Kubernetes, weights usually reach the pod through a persistent volume claim (PVC). The access mode and the storage class decide whether one pod or many can mount the volume, and whether the volume follows the pod when it is rescheduled. A ReadWriteOnce volume on local storage suits a single pod on a fixed node, while a ReadWriteMany volume backed by a network filesystem lets several replicas read the same files. The vLLM Kubernetes deployment docs describe several deployment options, and each one places the model volume differently, so check the chosen option before you pick a storage class.
- Access mode: Choose ReadWriteMany only if the storage class supports it reliably for your replicas.
- Scheduling: Local volumes pin pods to nodes, which can block rescheduling during a node failure or an upgrade.
- Startup: Pods that wait for a large download or a slow mount can fail probes, so align probe timing with load time.
- Cache location: Point the Hugging Face cache or the download directory at the PVC explicitly so that restarts reuse the weights.
- Quotas: Set PVC size with room for several revisions, since expansion depends on the storage class.
Ask the platform team which storage classes are approved for model volumes and what throughput they have measured under your replica count.
In an air-gapped network, weights cannot be downloaded at runtime, so every storage choice starts with a transfer process. Weights must be copied in through an approved media or transfer path, checked for integrity, and placed where the serving process can read them. Local NVMe keeps the serving host self-contained, but each node then needs its own copy and its own import step. A network filesystem inside the enclosed network reduces copies, yet it expands the set of systems that hold model data and must be covered by the same access controls. The vLLM docs include an option for air-gapped environments that relates to offline documentation, which is separate from weight storage.
- Transfer: Document how weights enter the enclosure, who approves them, and what checksum or signature check runs before placement.
- Offline loading: Confirm that the serving configuration points at local paths and does not attempt any outbound download.
- Per-node copies: Local disks multiply storage and import work, which matters more as the node count grows.
- Filesystem scope: Shared filesystems inside the enclosure need the same access logging and permissions as other sensitive data stores.
- Recovery: Keep a verified copy of each approved revision so that a failed node can be restored without a new import.
Confirm with your security team which transfer and verification steps they require before any weights are placed on enclosed storage.
How weights move from source to GPU workers
Weights start in an external model source or an internal object store, pass through a staging step where they are checked and copied, and then land on one of three storage choices: local disk, a shared filesystem or a Kubernetes PVC. Each vLLM worker node reads them from that storage into GPU memory at startup. The trust boundary around the internal store marks where access controls, encryption and integrity checks must hold, so check each hand-off that crosses it.
Model weights flow from an external source through staging and storage to each worker's GPU memory.
Setting up a repeatable weight store for vLLM
This sequence produces a weight store that every vLLM node reads the same files from, so a model starts the same way on each node and a failed load points to a known cause. Each step ends with a check you can record before cutover.
Choose the storage pattern
The platform or infrastructure lead decides how weights reach each node: a shared network filesystem mounted on all nodes, a Kubernetes persistent volume claim (PVC) per deployment, or a local disk on each node filled from an object store or a staging host. Record the choice with the reason, including who can write to the store and whether nodes can reach the internet. Done when the team has a written pattern that names the mount path vLLM will read from on every node.
Size the volume from the model files
Inventory every model the team will serve, including the exact revisions, tokenizer files and any adapters, then add the size of each. Ask the vendor or the model card for the file list and confirm sizes in your own download test, since sizes vary by precision and format. Add headroom for a second revision during rollout and for the Hugging Face cache layout, which stores blobs and symlinks. Done when the volume size is written next to the inventory and the owner has signed off on growth.
Pre-stage weights and record checksums
Download each pinned model revision once into a staging location, then copy it to the store with the download performed outside the serving pods. Generate checksums for every weight and configuration file and keep the manifest in version control next to the deployment manifests. Confirm gated models were fetched with an access token from an account that has license approval, and keep that token out of the manifest. Done when a clean verification run on the store reproduces every checksum in the manifest.
Mount or configure the cache path on each node
Mount the store at the same path on every node, or point the Hugging Face cache (HF_HOME or the cache directory) and the vLLM download directory at that path through the deployment configuration. Use one path convention across clusters so runbooks and scripts stay valid. Check that the mount options allow the vLLM process user to read the files and that nodes do not each write their own copy unless you intended local caches. Done when a shell on each node lists the expected files at the agreed path.
Set download and offline behavior
Decide whether serving pods may download anything at start. For a repeatable store, set the offline mode for the Hugging Face libraries and point vLLM at local paths so a restart cannot pull a newer revision by accident. Confirm the exact variable names and flags against the vLLM and Hugging Face documentation for your installed version, because they change across releases. Done when a deliberate test with network egress blocked still loads the pinned model from the store.
Run a cold start on every node
Start vLLM on each node from an empty process state, with no warm page cache from an earlier run if your environment allows it, and let it load the model completely. Record the time to readiness and the memory use during load on each node, then compare them. A node that loads from a different path, or that differs in time or memory without a clear cause, has a configuration or storage problem to fix first. Done when every node reaches a ready state from the same store path with comparable logs.
Verify load success and file permissions before cutover
Send a test request to the chat or completions endpoint on every node, then compare the loaded model name and revision in the logs with the manifest. Check that the serving user can read every file and that no process needs write access to the store during serving. Re-run the checksum comparison on one node to confirm nothing changed during load. Done when the signed checklist shows matching revisions, successful test responses, read-only access for serving and no checksum drift, and only then does traffic move to the new store.
Securing the weight cache and its access path
The weight cache holds large, trusted files that every vLLM replica loads at startup, so whoever can write to it or reach it can change what the model does. The cards below cover the controls that keep that cache read-only for serving, limit who can change it, and keep it off the public request path.
Mount weights read-only for serving pods
Serving pods only need to read weights, so mount the cache or PVC read-only in every vLLM container. Use a separate writable job, such as a download or staging job, to populate the volume. If a serving pod can write to the cache, a compromised process or a bad runtime change can replace files that other replicas will load on their next restart. Check the pod spec and the volume mode, not only the documentation.
Keep gated model tokens in a secrets manager
Gated Hugging Face models need an access token at download time. Store that token in your secrets manager, inject it only into the staging job, and rotate it on your own schedule. Do not bake it into container images, leave it in shell history, or pass it as a plain environment value in a shared manifest. Ask who can read the secret and whether download logs ever print it.
Verify provenance before promotion
Treat a downloaded checkpoint as untrusted until you have checked where it came from. Record the source repository, the revision you pulled, and checksums for each file, then compare them against the revision you approved. Promote weights into the serving cache only after that check passes. Confirm with your security team how model files that include executable code, such as custom model code, are reviewed before anyone loads them.
Restrict who can write to the shared cache
Limit write access to the staging pipeline's service account and a small group of platform administrators. Use Kubernetes RBAC or your storage system's permissions to separate read access for serving from write access for promotion. Review these grants whenever the staging pipeline changes. A shared cache with broad write rights makes every later restart a trust decision that nobody reviewed.
Keep the cache off the API server path
The weight directory should never be exposed through the vLLM API server or a route that serves files. Only the endpoints meant for users belong behind your gateway. The vLLM security docs say the --api-key option does not cover every endpoint, so a reverse proxy should allowlist user-facing routes. Confirm that no ingress rule, static file server or debugging endpoint maps the cache path.
vLLM security docsIsolate inter-node traffic on a private network
In a multi-node deployment, communication between nodes is insecure by default, with no authorization or encryption. The vLLM security docs require placing those nodes on an isolated network. Confirm that node-to-node traffic uses a dedicated network segment and that weight transfers between nodes, if you use them, stay on that segment. Ask your network team to verify the isolation with a test from outside the segment.
vLLM security docsKeeping weights consistent across vLLM upgrades
A new vLLM minor release can change which files a model needs or how it loads, so the weights you staged for one version are not guaranteed to work unchanged on the next. vLLM ships new minor releases about every two weeks, so this is a recurring event, not a one-time check. Treat each upgrade as a change to the model artifacts as well as to the engine. Before rollout, re-stage the weights into a cache directory that is versioned by engine release, or confirm that the existing directory still loads, and test startup and a chat or completions request against a staging node. Read the release notes for the exact version you run, since they are the authority on file layout, loader behavior and default settings. Your upgrade record should name the vLLM version, the model revision and the cache path used for each.
Old revisions accumulate on disk. Each model download, each new revision and each re-staging for a new engine version adds files, and the Hugging Face cache keeps them until someone removes them. Cleanup should be a scheduled operational task with an owner, not something done when a volume fills. Confirm which revisions are still referenced by running deployments before deleting anything, and keep the previous known-good revision until the new one has passed your tests and a rollback window has closed. Size your volumes for the number of revisions you intend to keep, not only the current model. Ask your team or partner to document the cleanup procedure, the retention period and where the upgrade test results are stored, so that an auditor or on-call engineer can trace which weights served traffic on a given date.
Limits to confirm in your environment before you choose a pattern
Each weight storage pattern depends on facts that the vLLM docs do not settle for your setup. Confirm these five items with your storage vendor, your model owners and your network team before you pick a pattern, because each one changes what is safe, fast or supportable.
Concurrent read and locking behavior
Several vLLM replicas starting at once will read the same weights from a shared volume. Ask the storage vendor how concurrent reads perform, whether the filesystem enforces any locking, and how a cache write interrupted by a node restart is handled. Test simultaneous cold starts on the exact storage class you plan to use, and record load times per replica so you can compare the result with a single-node baseline.
Cache environment variables for pinned versions
Cache location is controlled by environment variables and flags that belong to the Hugging Face tooling and to vLLM, and their names and precedence can change between releases. Record the exact variables and the --download-dir setting for the vLLM and Hugging Face client versions you pin, then confirm them in a test pod so that every replica resolves the same path.
Redistribution rights for model licenses
Copying weights onto an internal volume or object bucket can count as redistribution under some model licenses, even inside one company. Have legal review the license of each model you plan to mirror, including any acceptable use terms, and confirm whether internal copies must be tracked, restricted to named groups or deleted when the model is retired.
Network paths between nodes and storage
Weights stream from storage to each GPU node during startup, so bandwidth and latency between them set load time. Multi-node vLLM runs also send traffic between nodes, and the vLLM security docs say that traffic is insecure by default and must sit on an isolated network. Confirm that storage traffic and inter-node traffic use separate, measured paths.
vLLM security docsGated access token rotation
Gated models need a Hugging Face token at download time, and that token often lives in a pod spec or secret that outlives the person who created it. Confirm who owns each token, how it is stored, how it is rotated without restarting every replica, and whether the rotation process clears or keeps any cached credentials on the node.
Questions buyers ask about managing vLLM weight storage
Can our own team manage vLLM model weight storage without a partner?
Yes, if your team already runs shared storage, container platforms and an approved way to pull model files. vLLM is Apache-2.0 licensed and has no paid edition, so the software itself carries no license fee. The work that decides success is internal: picking where weights live, who can write to that location, how nodes read it at startup, and how changes are rolled out. Teams that have operated Kubernetes persistent volumes or NFS-style shares usually cover the basics quickly. Teams without that experience often benefit from an outside review of the storage design before the first multi-node rollout.
What makes weight storage work harder or easier to set up?
Effort rises with the number of models, the number of nodes that load them, and how many storage platforms you must support. Air-gap rules matter because downloads from public hubs may be blocked, so weights must be staged through an approved path. Gated models add access-token handling and license review for each model. Each node that starts vLLM reads weights, so a model shared by many replicas needs a storage design that handles concurrent reads. Ask your team to list models, nodes, storage types and network zones before estimating anything.
What does our team need to provide before a storage project starts?
Your team needs to provide working access to the storage platform, network paths from GPU nodes to that storage and to any approved download source, and a named owner for model license decisions. You also need the list of models, the target GPU nodes and the namespaces or hosts that will run vLLM. For air-gapped sites, you must confirm how packages and model files enter the network. Access should be granted with least privilege, so the team can confirm read and write rights per path before work begins. These inputs are usually the longest lead item.
How long does a pilot for model weight storage take?
The length depends on your environment, so the right way to answer is to ask for a pilot plan tied to it. A pilot usually covers one model on one node, one storage location, a startup test and a restart test. Time is driven by access approvals, the storage platform's readiness, the size of the model files and whether gated access is needed. No general duration is supplied for this work, so confirm the timeline against your own change process and the infrastructure you plan to use. A written pilot scope should state the exit criteria before it starts.
What should a quote for managing vLLM weight storage include?
A useful quote lists the scope in writing: which models, nodes and storage platforms are covered, and which of the following are included: design of the cache and download paths, persistent volume or object storage setup, access control, pre-staging procedure, cache security settings and documentation. It should also state what you provide, what is one-time and what recurs, such as retainer support or periodic model updates. Ask for assumptions about air-gap handling, gated models and testing. DeployOpen does not publish a price list, and fixed-scope engagements are agreed in writing before work starts, so the quote follows from that scope.
Where should vLLM keep model weights: local disk or a network filesystem?
Local disks give each node fast, predictable reads, while network filesystems let many nodes share one copy. Local disks are simpler to isolate, but each node must receive its own copy, which increases staging work and storage use. Shared filesystems reduce copies but add a dependency that can slow startup or fail during a load. Many teams pre-stage weights to local disk for production nodes and keep a shared copy for staging. Test both options on your hardware, measure load time and confirm the behavior when the share is unavailable.
How do we keep cached model weights secure?
Treat cached weights as controlled assets. Restrict write access to the cache to the pipeline that stages models, and give serving pods read-only access where the platform allows it. Gated model tokens should live in your secrets system, not in images or shell history. vLLM's security documentation says communication between nodes in a multi-node deployment is insecure by default and must be protected by an isolated network. Keep the storage network separate from user traffic, record which model versions were staged and by whom, and confirm your approach against your own security policy.
How DeployOpen scopes and delivers vLLM weight storage
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including cloud accounts, data centers and air-gapped networks. For model weight storage on vLLM, we agree the storage design in writing first, then build, test and hand it over with the operating notes your team needs.
How we scope
- Inventory which models, tokenizers and adapters each vLLM deployment loads, and where each one currently comes from.
- Map the storage options you already run, such as node-local disks, shared filesystems and object storage, against your security rules.
- Agree the written scope, deliverables and timeline before any work starts, with no fixed prices in this page.
How we build
- Configure the Hugging Face cache location, download directory and mounts so every node resolves the same pinned model revision.
- Set up persistent volume claims or object storage pre-staging jobs, and test cold starts from each storage path before go-live.
- Lock down cache permissions, token handling and network paths to the storage backend, then verify them against your access model.
How we hand over
- Deliver a runbook covering storage layout, model staging steps, cache clean-up and how to rebuild a node from scratch.
- Document the checks that confirm model integrity and the evidence your compliance and security reviewers can inspect.
- Walk your platform and operations engineers through the setup and the failure modes they are most likely to meet.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial delivery is accepted.
- Review storage capacity and model rotation plans when vLLM releases change how models are fetched or cached.
- Confirm with your team how weight storage fits into existing backup and disaster recovery policies before handover.

