Repository navigation
[Runpod] Support global volumes - #4535
Draft
peterschmidt85 wants to merge 6 commits into
Draft
peterschmidt85 wants to merge 6 commits into
peterschmidt85 wants to merge 6 commits into
Conversation
added 5 commits
November 25, 2026 18:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds opt-in Runpod global volumes for sharing model weights and datasets across regions. Existing Runpod volume configurations keep their regional behavior. Create a global volume with:
Omit
regionandsize; addvolume_idto register an existing global volume. Runs use the existingvolumessyntax. Creation, registration, mounting, and deletion use REST v2. Support is limited to one volume per run on Secure Cloud CPU/GPU Pods; unsupported Community Cloud and Instant Cluster offers are skipped before provisioning.Do not configure
auto_cleanup_durationfor regional or global Runpod volumes: it may request deletion while a run is still using the volume (#3789).The global configuration has its own Pydantic model, preserving the existing region and size capability contracts. The
globalfield is confined to the Runpod models. CLI and frontend code remain unchanged.Preserves backward compatibility:
global: false, so newer clients remain compatible with older servers.global: truerequires a client and server with this feature.Global volume charges are not included in the costs shown by
dstack.