Repository navigation
Support MassedCompute network volumes - #4553
Draft
peterschmidt85 wants to merge 1 commit into
Draft
peterschmidt85 wants to merge 1 commit into
peterschmidt85 wants to merge 1 commit into
Conversation
peterschmidt85
force-pushed
the
pr_massedcompute_volumes
branch
3 times, most recently
from
November 27, 2026 14:33
60040a2 to
9ba585f
Compare
peterschmidt85
force-pushed
the
pr_massedcompute_volumes
branch
from
November 27, 2026 14:44
9ba585f to
eeb0a22
Compare
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 experimental network volumes to the MassedCompute VM backend (#4533). Users can create Persistent Storage or register an existing volume by UUID.
MassedCompute backend
Core changes
PROVISIONINGbefore a managed MassedCompute create. If it stops before sending the request, the volume can remain pending.Upgrade the CLI and all server replicas before first use. An older server replica can delete the VM without flushing its volumes.
Blocker
Caution
Before deleting a MassedCompute VM with network volumes, dstack waits for
syncover SSH. The command has a 60-second timeout. If it fails, the VM stays billable while dstack retries. Termination · SSH flushThis can delay pre-provisioning instances for a backend fleet on another VM-based backend. For example, applying a fleet with
nodes: 2..10pre-provisions two instances. If the same server replica is already handling as many instance operations as it can, waiting for the MassedCompute flush can delay those instances. Instances provisioned on demand for a submitted run use a separate provisioning path. Fleet pre-provisioning · Instance pipelineCrusoe already leaves an instance
TERMINATINGafter requesting deletion and checks its status later. To use that pattern here, dstack would need to start the flush, return to processing other instances, and confirm that the flush succeeded before deleting the MassedCompute VM. This PR only receives the result over SSH. If the connection drops or the server restarts, it cannot check the result of that attempt later. Crusoe termination