Repository navigation
Releases
Releases · kubeflow/trainer
v2.4.0
Immutable
release. Only release title and notes can be modified.
This is Kubeflow Trainer v2.4.0 release.
helm install kubeflow-trainer oci://ghcr.io/kubeflow/charts/kubeflow-trainer \
--namespace kubeflow-system \
--create-namespace \
--version 2.4.0 \
--set runtimes.defaultEnabled=trueBreaking Changes
- [release-2.4] feat(api): BREAKING CHANGE: limit ReplicatedJob name length to 20 characters in runtimes (#4394 by @andreyvelich)
- fix(framework): BREAKING CHANGE: Set the TrainJob image on the MPI launcher and nodes (#4301 by @matbun)
- fix(manifests): BREAKING CHANGE honour dataCache.lws.install in the Helm chart (#4120 by @reckless-sherixx)
- fix(manifests): BREAKING CHANGE keep the CRDs on helm uninstall (#4122 by @reckless-sherixx)
- chore(api): BREAKING CHANGE: rename CertManagement configuration fields to generic names (#3386 by @tariq-hasan)
- fix(runtimes): emit PRTE env vars so MPI plugin works with Open MPI 5 (#4029 by @matbun)
- IMPORTANT: suspended TrainJobs that use the MPI plugin (e.g. DeepSpeed, MLX) and were created before the upgrade
fail to resume after upgrading to v2.4, because the newPRTE_MCA_*env vars cannot be applied to the existing immutable JobSet.
Wait for MPI-based TrainJobs to complete before upgrading, or recreate the affected TrainJobs after the upgrade.
- IMPORTANT: suspended TrainJobs that use the MPI plugin (e.g. DeepSpeed, MLX) and were created before the upgrade
🚀 Features
Workload-Aware Scheduling
- feat: Workload-Aware Scheduling for TrainJob – Phase 1 (KEP-3015) (#4254 by @andreyvelich)
- feat(api): KEP-3015: Workload Aware Scheduling for TrainJob (#3219 by @andreyvelich)
OptimizationJob API
- feat(controller): Add cache expectations to the OptimizationJob controller to prevent duplicate trial creation (#4150 by @aniket2405)
- feat(docs): add OptimizationJob user guide and runnable example (#4268 by @aniket2405)
- feat(controller): KEP-3562: [OptimizationJob] Add OptimizationJob alpha feature gate (#4331 by @akshaychitneni)
- feat(controller): KEP-3562: [OptimizationJob] Add OptimizationJob controller (#3828 by @aniket2405)
- feat(api): introduce OptimizationJob CRD under Trainer (#3552 by @aniket2405)
Dynamic Resource Allocation
- feat(api): implement DRA support for TrainJob (KEP-2782) (#4027 by @Sridhar1030)
- feat(api): KEP-2782: Dynamic Resource Allocation support for TrainJob (#3540 by @Sridhar1030)
Scheduling & Integrations
- feat(api): allow per-TrainJob schedulerName overrides (#4265 by @sfeng1996)
- feat(controller): Support Job Replicas for multi-slice TPU (#4250 by @andreyvelich)
- feat(framework): clean up Volcano PodGroup on TrainJob terminal or suspended state (#4059 by @daehyun-kim-94)
- feat(ci): add Prometheus monitoring overlay (#4102 by @abhijeet-dhumal)
- feat: Add slurm-bridge scheduling documentation (#3951 by @killianmuldoon)
🐛 Bug Fixes
- [release-2.4] fix(examples): correct OptimizationJob SDK and memory requirements (#4403 by @danvau7)
- [release-2.4] fix(controller): validate status server tokens with TokenReview (#4393 by @akshaychitneni)
- [release-2.4] fix(framework): validate TrainJob and OptimizationJob name length against JobSet pod limits (#4389 by @aniket2405)
- [release-2.4] fix(framework): set MPI resourcesPerNode on the nodes (#4375 by @matbun)
- fix(api): do not default union searchAlgorithm in OptimizationJob (#4366 by @aniket2405)
- fix(controller): grant optimizationjobs/finalizers to the controller (#4365 by @aniket2405)
- fix: cover existing ServiceAccount handling (#4362 by @pratik-naik003)
- fix: nightly security dependency updates (#4341 by @github-actions[bot])
- fix(api): validate OptimizationJob names and keep algorithm service names unique (#4155 by @harshrajdebug)
- fix(api): validate OptimizationJob parameter names (#4062 by @mimosapudical)
- fix(framework): default PRTE slots when NumProcPerNode is nil in MPI plugin (#4333 by @Ahmad-Faraj)
- fix(docs): use v2.3.0 in the installation guide (#4334 by @fjvbn2003)
- fix(initializer): bump certifi to 2026.10.23 to drop distrusted eMudhra roots (#4312 by @akshaychitneni)
- fix(docs): close Kind tip in installation guide (#4309 by @dlanov)
- fix: nightly security Python dependency updates (#4302 by @github-actions[bot])
- fix(runtimes): validate inherited TorchTune node counts (#4255 by @spicysharkco)
- fix(manifests): do not grant the manager create on runtimes and OptimizationJobs in the Helm chart (#4271 by @aarushitandon0)
- fix(framework): keep fileKeyRef when converting TrainJob env vars (#4197 by @anishmehta24)
- fix: nightly security Python dependency updates (#4287 by @github-actions[bot])
- fix(api): bound OptimizationJob random search seed to the sampler range (#4248 by @rshdhere)
- fix(initializer): download only the objects under the S3 prefix (#4116 by @reckless-sherixx)
- fix: nightly security Python dependency updates (#4278 by @github-actions[bot])
- fix(runtimes): install the CUDA 13 build of MLX in the MLX runtime image (#4246 by @matbun)
- fix(manifests): rename serviceMonitor value to prometheus to align with JobSet (#4244 by @robert-bell)
- fix(controller): break ties when picking the best OptimizationJob trial (#4192 by @btxu-db)
- fix: nightly security dependency updates (#4047 by @github-actions[bot])
- fix(docs): configure scheduler for Volcano gang scheduling (#4199 by @auraCodesKM)
- fix(api): reject podGroupPolicy with both coscheduling and volcano set (#4061 by @rishabhsai)
- fix(runtimes): correct runtimeRef field path casing in ClusterTrainingRuntime error messages (#4194 by @nikhil3495)
- fix(manifests): check out every text file with LF line endings (#4191 by @abhishekKokadwar)
- fix(runtimes): guard nil SSHAuthMountPath and MPIImplementation dereferences in MPI plugin (#4157 by @nikhil3495)
- fix: nightly security Python dependency updates (#4142 by @github-actions[bot])
- fix(runtimes): do not panic on nil NumProcPerNode in Flux plugin (#4159 by @100-JM)
- fix(framework): inject distributed envs when TrainJob spec.trainer is omitted (#4082 by @anishmehta24)
- fix(api): Add missing update validation to Training Runtime webhook (#3687 by @robert-bell)
- fix(controller): stop TrainJob reconcile panicking on an unsupported runtimeRef (#4088 by @abhishekKokadwar)
- fix(framework): validate all ReplicatedJobs in Volcano priorityClassName check (#3918 by @abhishekKokadwar)
- fix(controller): reject trailing JSON in status updates (#3971 by @DevaanshPathak)
- fix(framework): prevent potential nil pointer dereference on NumProcPerNode in MPI plugin (#4049 by @yush-1018)
- fix(cache): give workers with no data files a readiness path (#4058 by @reckless-sherixx)
- fix(cache): migrate data cache image to Debian bookworm (#4051 by @andreyvelich)
- fix: nightly security dependency updates (#4022 by @github-actions[bot])
- fix(framework): stop Flux reconcile panic on unset trainer fields (#3904 by @rjgoyln)
- fix: nightly security dependency updates (#3913 by @githu...
v2.4.0-rc.1
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.4.0-rc.1 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.4.0-rc.0
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.4.0-rc.0 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v1.9.4
Immutable
release. Only release title and notes can be modified.
This is Training Operator v1.9.4 release.
New Features
- [release-1.9] Bump v1 Kubernetes dependencies to 1.36 (#3924 by @robert-bell)
Bug Fixes
v2.3.0
Immutable
release. Only release title and notes can be modified.
This is Kubeflow Trainer v2.3.0 release.
helm install kubeflow-trainer oci://ghcr.io/kubeflow/charts/kubeflow-trainer \
--namespace kubeflow-system \
--create-namespace \
--version 2.3.0 \
--set runtimes.defaultEnabled=trueBreaking Changes
- feat(runtimes): BREAKING CHANGE: Remove Runtime Finalizers (#3716 by @amirialy)
- feat(manifests): BREAKING CHANGE: Move CRD to Helm chart template directory (#3655 by @andreyvelich)
- IMPORTANT: if you are upgrading from Kubeflow Trainer v2.0, v2.1 or v2.2, you must first upgrade to v2.3 before upgrading to any later version. See this migration guide for the details.
🚀 Features
- feat: KEP-3562: Introduce OptimizationJob CRD (#3565 by @aniket2405)
- feat(runtimes): make MPI launcher depend on worker readiness (#3748 by @andreyvelich)
- feat: expose Image and Command on PodSet Container (#3674 by @reckless-sherixx)
- feat: move enableHTTP2 setting to Configuration object (#3339 by @krishdef7)
- feat: implement runtime snapshot mechanism (KEP-2599) (#3580 by @robert-bell)
- feat(initializer): validate initializer Pod uses correct volume name (#3714 by @HarshPopat23)
- feat(docs): add theme toggle to top navbar (#3682 by @adityabavadekar)
- feat(runtimes): Add label to disable webhook validation for Runtimes (#3683 by @andreyvelich)
- feat: add Flux integration and e2e tests (#3561 by @amirialy)
- feat(examples): add interactive JAX distributed TPU smoke test notebook (#3531 by @richabanker)
- feat(ci): add govulncheck CVE detection workflow for PR checks (#3557 by @ChughShilpa)
- feat(docs): add dedicated documentation website (#3308 by @Sridhar1030)
- feat: inject PET_* envs into init containers via envInjection config (#3516 by @panpan0000)
- feat(ci): automate release process (#3536 by @Krishna-kg732)
- feat(api): Add terminationGracePeriodSeconds to PodSpecPatch in TrainJob (#3324 by @krishdef7)
- feat(ci): add Python dependency scanning to OSV-Scanner workflow (#3530 by @Fiona-Waters)
- feat(ci): add nightly OSV-Scanner vulnerability scan workflow (#3518 by @Fiona-Waters)
- feat(docs): KEP-2599: Decouple runtime lifecycle from TrainJobs to simplify updating runtimes (#3428 by @robert-bell)
- feat: KEP for inject PET envs into init-container (#3417 by @panpan0000)
- feat: storageuri targetjob validation fix (#3510 by @pulkit-999)
- feat(docs): add AI policy reference to contributing guide (#3493 by @andreyvelich)
- feat(runtimes): add validation for reserved MPI environment variables (#3491 by @adiprathapa)
- feat: update k8s to 0.36 (#3470 by @kannon92)
- feat: merge gpu-cluster setup into single e2e script via flag (#3281 by @aniket2405)
- feat(examples): Add kubectl-friendly YAML examples for TrainJob and TrainingRuntime (#2925 by @NarayanaSabari)
- feat(docs): Kubeflow Trainer ROADMAP 2026 (#3242 by @andreyvelich)
- feat: add e2e tests to Helm CI workflow (#3253 by @Goku2099)
- feat(docs): Add Kubeflow Trainer v2.2 release announcement to README (#3435 by @andreyvelich)
- feat: add Megatron-Core GPT Tensor Parallelism example notebook (#3201 by @XploY04)
- feat: customize R generation to include GPUs (#3325 by @vsoch)
- feat(docs): Changelog for Kubeflow Trainer v2.2.0 (#3369 by @andreyvelich)
- feat(api): Set RuntimePatch.Time field automatically during admission (#3319 by @astefanutti)
🐛 Bug Fixes
- [release-2.3] fix(operator): improve status server bearer token parsing and add helper tests (#3831 by @google-oss-robot)
- [release-2.3] fix(ci): Update Kubeflow SDK installation for E2Es (#3827 by @google-oss-robot)
- [release-2.3] fix(ci): Remove concurrency from Helm publish action (#3793 by @google-oss-robot)
- fix(ci): Publish Helm Charts in release workflow (#3789 by @google-oss-robot)
- [release-2.3] fix(ci): Publish images during the GitHub release workflow (#3786 by @google-oss-robot)
- fix(runtimes): propagate PodSets.Count into TemplateSpec Parallelism/Completions (#3651 by @h0pers)
- fix(runtimes): merge resourcesPerNode with Runtime container resources (#3602 by @Sridhar1030)
- fix: correct typos in AGENTS.md and deepspeed example notebook (#3765 by @ZhongJinHacker)
- fix(api): increase the length limit on train job commands and args (#3689 by @robert-bell)
- fix(docs): update Trainer documentation links (#3711 by @h0pers)
- fix(operator): honor managedBy field in TrainJob reconciler (#3681 by @kaisoz)
- fix(docs): add favicon, remove year from copyright (#3679 by @Sridhar1030)
- fix(docs): restyle top nav and moved ads to footer (#3656 by @Sridhar1030)
- fix(runtimes): set defaultMode on MPI SSH Secret volume (#3649 by @h0pers)
- fix: do not declare webhook cert data in Helm chart Secret (#3627 by @andreyvelich)
- fix(docs): improve top nav light mode contrast and add hero logo (#3625 by @Sridhar1030)
- fix(ci): Fix the release workflow updates (#3623 by @andreyvelich)
- fix(ci): Update Python API models version in make release (#3603 by @andreyvelich)
- fix(cache): use status code (not identity) to detect Service AlreadyExists (#3507 by @1fanwang)
- fix(ci): Guard git-cliff against empty user names (#3597 by @andreyvelich)
- fix(ci): Fix git-cliff for patch release Changelog (#3591 by @andreyvelich)
- fix(operator): guard against nil trainer PodSet in JAX EnforceMLPolicy (#3563 by @immanuwell)
- fix: apply clientConnection QPS/burst to the manager client (#3432 by @abhijeet-dhumal)
- fix: use the CI image in helm e2e tests (#3588 by @robert-bell)
- fix: migrate to newer name for cncf runners (#3556 by @jaiakash)
- fix(operator): support multi-replica endpoint generation in IdentifyP… (#3539 by @fedebongio)
- fix(examples): use namespaced SQuAD dataset (#3560 by @XploY04)
- fix(runtimes): add validation for LoRA multi-node and immutable trainer args (#3302 by @krishdef7)
- fix(cache): validate cache_index schema collisions in worker dat… (#3216 by @Hitanshi7556)
- fix: remove unnecessary setcap CAP_NET_BIND_SERVICE from MPI runtime docker file (#3286 by @kapil27)
- fix(api): allow atomic RuntimePatches update on unsuspend (#3469 by @NarayanaSabari)
- fix(manifests): Use released version for JobSet and LWS images (#3452 by @andreyvelich)
- fix(examples): unblock Megatron TP notebook on GPU E2E (#3434 by @XploY04)
- fix(ci): Bump Python to 3.12 in E2Es (#3330 by @andreyvelich)
- fix: use global rank for dataset download guard in container backend notebook (#3418 by @Fiona-Waters)
- fix(initializer): add missing glob wildcard to...
v2.3.0-rc.3
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.3.0-rc.3 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.3.0-rc.2
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.3.0-rc.2 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.3.0-rc.1
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.3.0-rc.1 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.3.0-rc.0
Immutable
release. Only release title and notes can be modified.
Kubeflow Trainer Official Release v2.3.0-rc.0 Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v2.2.1
Immutable
release. Only release title and notes can be modified.
This is the Kubeflow Trainer v2.2.1 release 🚀
🚀 Features
- feat(ci): automate release process (#3536) (#3590 by @Krishna-kg732)
- feat: update k8s to 0.36 for release-2.2 (#3514 by @kannon92)
🐛 Bug Fixes
- [release-2.2] fix(ci): Update Python API models version in make release (#3622 by @andreyvelich)
- [release-2.2] fix(ci): Guard git-cliff against empty user names (#3598 by @andreyvelich)
- [release-2.2] fix(ci): Fix git-cliff for patch release Changelog (#3591) (#3593 by @andreyvelich)
- [release-2.2] fix(examples): use namespaced SQuAD dataset (#3560) (#3592 by @XploY04)
- [release-2.2] fix(api): allow atomic RuntimePatches update on unsuspend (#3489 by @NarayanaSabari)
- [release-2.2] fix(manifests): Use released version for JobSet and LWS images (#3453 by @andreyvelich)
⚙️ Miscellaneous Tasks
- chore(ci): Remove Trivy Action (#3389) (#3391 by @andreyvelich)