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

How to adapt the XManager API for HPC #33

Open
ethanluoyc opened this issue Feb 25, 2023 · 0 comments
Open

How to adapt the XManager API for HPC #33

ethanluoyc opened this issue Feb 25, 2023 · 0 comments

Comments

@ethanluoyc
Copy link

Hi,

Thanks for sharing this repo. I really like the launch API design.

I am interested in implementing an implementation module that would allow me to launch experiments on an HPC cluster (e.g., Slurm, Grid Engine, etc.). During prototyping, I found that I was unsure how some concepts in an HPC cluster would fit into the core XManager API.

In particular, one of the concepts in many HPC clusters is that of an array job, which is to launch an identical executable with a different parameter configuration to do, for example, a hyperparameter sweep. This is the recommended way of launching many jobs on the HPC cluster to reduce scheduling overhead. This means creating many work units with identical job descriptions and resource requirements and batching and creating a single job on the HPC cluster.

Looking at the xm_local implementation, I noticed it is slightly tricky to adapt that to work in this setting as the implementation launches each work unit separately. I tried a few approaches to change the API to be able to do array job submission but I am still not satisfied with the approach I have. I was wondering if the developers have some recommended ways of implementing array-job-like behavior on top of the core launch API?

Many thanks in advance.

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

1 participant