What is Kubeflow Trainer?
masterKubeflow Trainer is a Kubernetes-native distributed AI platform designed for scalable large language model (LLM) fine-tuning and training. It enables multi-node, multi-GPU distributed jobs across HPC clusters by bringing MPI capabilities to Kubernetes.
It supports a wide range of frameworks, including:
- PyTorch
- MLX
- HuggingFace
- DeepSpeed
- JAX
- XGBoost
Key technical features include:
- Distributed Data Caching: Uses Apache Arrow and Apache DataFusion for zero-copy tensor streaming directly to GPU nodes to maximize performance.
- Single CRD Orchestration: Use a single Kubernetes Custom Resource Definition (CRD),
TrainJob, to manage workloads across any supported framework. - Native Kubernetes Integration: Works with ecosystem tools like Kueue (topology-aware scheduling), JobSet/LeaderWorkerSet (orchestration), Volcano/YuniKorn (batch scheduling), and KAI Scheduler (GPU-aware gang scheduling).