From High Performance Computing To AI Workloads on Kubernetes: MPI Runtime in Kubeflow TrainJob
Talkat KubeCon + CloudNativeCon Europe 2025 · on Friday, 2025-04-04· at 14:30· Level 1 | Hall Entrance S10 | Room A·
summary
Kubeflow TrainJob integrates an MPI runtime that runs MLX and DeepSpeed workloads on Kubernetes, exposing a Python Qflow SDK so data scientists call one function instead of writing manifests. Example runs a CNN with MLX over three nodes on 60,000 images using DDP and saves the model, and fine‑tunes T5 with DeepSpeed with 8 GPUs (two nodes × four GPUs) in ~69 seconds, exporting checkpoints to S3. It uses an SSH‑based MPI setup to avoid control‑plane load and provides MLX distributed runtime and runtime package inspection.
AI-written summary · about
chapters (12)
- 0:00AI workloads needs
- 1:25Kubernetes for data scientists
- 2:27CubeFlow Trainer project
- 3:09Scaling MLX on Kubernetes
- 7:03Fine-tuning T5 with DeepSpeed
- 13:45Behind the demos
- 16:14HPC to AI workloads
- 18:26Migrating to Kubernetes
- 22:46MPI and PyTorch solutions
- 27:07CubeFlow Trainer MPI runtime
- 29:01Conclusion and future work
- 30:08Q&A
related talks
46mMachine Learning with Kubernetes
31mKubernetes for Machine Learning: Managing and Scaling AI Workloads
51mMachine Learning using Kubeflow and Kubernetes
14mKubeflow: Where ML Meets Kubernetes
54mEconomics and Best Practices of Running AI/ML Workloads on Kubernetes
30mKubeflow, Your ML Tools on Kubernetes
54mScaling Machine Learning Pipelines in Cloud
39mOperating Deep Learning Pipelines Anywhere Using Kubeflow
