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

Support kubeflow's MPIJob #65

Closed
Tracked by #297
alculquicondor opened this issue Feb 24, 2022 · 15 comments · Fixed by #578
Closed
Tracked by #297

Support kubeflow's MPIJob #65

alculquicondor opened this issue Feb 24, 2022 · 15 comments · Fixed by #578
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/grand-feature lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@alculquicondor
Copy link
Contributor

That is kubeflow's mpi-operator. We could have started with other custom jobs, but this one seems important enough for our audience.

They currently don't have a suspend field, so we need to add it. Then, we program the controller based on the existing kueue job-controller.

/label feature
/size L
/priority important-longterm

@k8s-ci-robot
Copy link
Contributor

@alculquicondor: The label(s) /label feature cannot be applied. These labels are supported: api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor

In response to this:

That is kubeflow's mpi-operator. We could have started with other custom jobs, but this one seems important enough for our audience.

They currently don't have a suspend field, so we need to add it. Then, we program the controller based on the existing kueue job-controller.

/label feature
/size L
/priority important-longterm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Feb 24, 2022
@alculquicondor
Copy link
Contributor Author

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Feb 24, 2022
@alculquicondor alculquicondor added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 24, 2022
@zvonkok
Copy link

zvonkok commented Feb 25, 2022

Just out of curiosity how many ranks are you going to test? Are you also looking into different distributions frameworks besides Horovod?

@denkensk
Copy link
Member

denkensk commented Feb 25, 2022

Just out of curiosity how many ranks are you going to test?

Any suggestions? I think our first step is to choose a small number of ranks (for example 3 ) to ensure that the whole process is feasible.

Are you also looking into different distributions frameworks besides Horovod?

I think Kueue is agnostic about the framework. Whether it is Horovrd or pytorch, as long as it can be launched by MPI through mpi-operator, it is fine.

@zvonkok
Copy link

zvonkok commented Feb 25, 2022

@ArangoGutierrez Help me out, what was the critical amount of ranks aka nodes where we have seen bad scaling for the MPI operator?

@alculquicondor
Copy link
Contributor Author

Sorry, we are not planning to implement an MPIJob. We are planning to support queuing for the existing kubeflow mpi-operator https://github.com/kubeflow/mpi-operator/tree/master/v2

I think your questions fit better in that repository.

@alculquicondor alculquicondor changed the title Support MPIJob Support kubeflow's MPIJob Feb 25, 2022
@ahg-g ahg-g added kind/grand-feature and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 13, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 12, 2022
@kerthcet
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 12, 2022
@alculquicondor
Copy link
Contributor Author

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Jul 12, 2022
@alculquicondor
Copy link
Contributor Author

Work on mpi-operator will initiate soon kubeflow/mpi-operator#504

The kueue size of things is currently blocked on #369

@mimowo
Copy link
Contributor

mimowo commented Feb 16, 2023

/assign

@mimowo
Copy link
Contributor

mimowo commented Feb 16, 2023

Starting the work under #578.

IIUC the work isn't strictly blocked on #369. Moreover, the working initial implementation of the MPI integration may help us to better abstract out the interfaces, which could happen as a follow up. Adding the interfaces prior to the MPI integration also makes sense, but we then may need to adapt them, but this may anyway happen with future framework integrations, so maybe there is no point block over another, but just try to align in the process.

@tenzen-y
Copy link
Member

Starting the work under #578.

IIUC the work isn't strictly blocked on #369. Moreover, the working initial implementation of the MPI integration may help us to better abstract out the interfaces, which could happen as a follow up. Adding the interfaces prior to the MPI integration also makes sense, but we then may need to adapt them, but this may anyway happen with future framework integrations, so maybe there is no point block over another, but just try to align in the process.

I'm ok with either using the job interface or not since releasing v0.3 isn't blocked by this feature.
cc: @kerthcet @alculquicondor

@kerthcet
Copy link
Contributor

Either, just hope to avoid repetitive work.

@alculquicondor
Copy link
Contributor Author

I think @kerthcet and @mimowo can make progress in parallel. Please stay in touch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. kind/grand-feature lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants