Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Managed Instance Groups to Enable Dynamic Workload Scheduler #122

Open
jhamet93 opened this issue May 6, 2024 · 4 comments
Assignees

Comments

@jhamet93
Copy link

jhamet93 commented May 6, 2024

Dynamic Workload Scheduler is a resource management and job scheduling platform currently integrated into different Google product surface areas to improve access to hard to obtain accelerators. At the Compute Engine surface area, you create a Managed Instance Group (MIG) with a resize request detailing how long you need the VM's for. If possible then, the job duration configured via sbatch could then be used to detail how long the VM's are needed for.

Is there an appetite or opportunity to support utilizing Dynamic Workload scheduler for dynamic scaling up of nodes for hard to obtain accelelerators ? Would be more than happy to contribute if so as this would be a boon to our Cloud Slurm Cluster.

@cboneti
Copy link
Member

cboneti commented May 7, 2024

Hey Josh,

We plan on supporting DWS this year and are exploring various alternatives. You mentioned we could use the job duration for sbatch, which is in line with what we also thought. I was wondering if you could describe a bit more what you would like to see in terms of functionality or user experience? For instance, what machine types would be more interesting for you? Are you thinking about mostly "exclusive" nodes that are created for a single job, or would you like to have a partition with "semi static nodes" that serve multiple jobs? Please tell us as much as you would feel comfortable here. Thanks!

@casassg
Copy link

casassg commented May 21, 2024

Hi @cboneti (same team as Josh here), I think for our use case probs both would be interesting:

  • DWS to get some a100 nodes (or h100) for training ML Models regularly (aka we need to retrain model A which requires us to have a node w 16 A100 GPUs every week, DWS can allow us to get more easily provisioned GPU nodes for the duration of the job).
  • Semi-static also is interesting specially if DWS has better luck at finding GPU nodes. Right now the biggest issue we find is that we frequently get stockout for ephemeral jobs (aka modelers experimenting w new model architecture and such). So semi-static would make sense (even userExclusive allowing multiple jobs to be provisioned without tearing down if it fails for fast iteration).

@cboneti
Copy link
Member

cboneti commented May 24, 2024

Yes, we want to enable DWS as soon as possible.
From what I hear, you would like to create the nodes with DWS for a short period of time. I was wondering if you wanted to create a node per job (currently, the exclusive flag in our slurm partitions), or if you wanted to create node-set where nodes were provisioned for the full 7 days and then multiple jobs were streamed through this.

We hear you and we are working on it but we don't have an ETA just yet.

@mr0re1 mr0re1 self-assigned this May 24, 2024
@casassg
Copy link

casassg commented May 24, 2024

or if you wanted to create node-set where nodes were provisioned for the full 7 days and then multiple jobs were streamed through this.

I think it would be interesting though I assume integrating then w calendar reservations may make more sense? Would be curious what the experience would look like in the case of 7 days. At the moment our current cluster sits idle until its working hours when modeling teams use to train some models, so we are mostly trying to figure out best way we can do to garantee their access to GPUs or for future when we have scheduled retraining to make sure a certain time of day a model has available nodes to train on for a specific time period (aka indeed exclusive flag)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants