training-operator icon indicating copy to clipboard operation
training-operator copied to clipboard

Migration Guide from MPIJob to TrainJob

Open andreyvelich opened this issue 3 months ago • 5 comments

At the previous Training WG calls we discussed that it would be nice to update our migration guide for MPI Operator users. It would be great if we could consolidate our efforts to better support MPI on Kubernetes.

That might helpful for users who run MPIJobs for ML use-cases today, but also for folks who want to use it with Kubeflow SDK and Pythonic interface.

In the migration guide, we should tell that currently Trainer supports OpenMPI, but community is working towards advanced HPC features to support other MPI backends or AI/HPC schedulers:

  • MPICH backend support: https://github.com/kubeflow/trainer/pull/3717
  • Flux support
  • Slurm Bridge integrations: https://github.com/kubeflow/trainer/pull/3951

Ref discussion: https://youtu.be/SQGjGTvjObo?t=1351

cc @vsoch @tenzen-y @kannon92 @killianmuldoon

andreyvelich avatar Aug 21 '26 19:08 andreyvelich

/area mpi /kind docs /good-first-issue

andreyvelich avatar Aug 21 '26 19:08 andreyvelich

@andreyvelich: This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

/area mpi /kind docs /good-first-issue

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.

google-oss-prow avatar Aug 21 '26 19:08 google-oss-prow

hey @andreyvelich I would like to work on this, can you assign me?

uzairhameed avatar Aug 21 '26 21:08 uzairhameed

Hi @andreyvelich, I’d like to work on this issue. If it’s still available, could you please assign it to me?

Sumitha007 avatar Aug 22 '26 05:08 Sumitha007

Hi @andreylevich, I had already started working on this issue and have opened a PR for the migration guide. I noticed that the issue has now been assigned to @hari-599. Could you please confirm whether I should continue with my PR or let @hari-599 take over?

Sumitha007 avatar Aug 22 '26 11:08 Sumitha007