# Kubeflow Trainer v2.4: Bringing Workload-Aware Scheduling to TrainJob

DevFeed: [Kubeflow Trainer v2.4: Bringing Workload-Aware Scheduling to TrainJob](<https://devfeed.tech/articles/kubeflow-trainer-v2-4-bringing-workload-aware-scheduling-to-trainjob-122167.md>)

Original publisher: [Read original article](<https://blog.kubeflow.org/kubeflow-trainer-v2.4-release/>)

Author: Shristi, Andrey Velichkevich

Published: 2026-11-06T06:00:00Z

Content type: article

Language: en

Sources: [Kubeflow](<https://devfeed.tech/sources/kubeflow.md>)

Topics: [scheduling](<https://devfeed.tech/topics/scheduling.md>), [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Deadlock](<https://devfeed.tech/topics/deadlock.md>), [Multi-GPU](<https://devfeed.tech/topics/multi-gpu.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [CUDA](<https://devfeed.tech/topics/cuda.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-training](<https://devfeed.tech/tags/distributed-training.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [kubeflow](<https://devfeed.tech/tags/kubeflow.md>), [release](<https://devfeed.tech/tags/release.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [trainer](<https://devfeed.tech/tags/trainer.md>), [v2](<https://devfeed.tech/tags/v2.md>)

## AI overview

Kubeflow Trainer v2.4 adds Workload-Aware Scheduling (WAS) for distributed TrainJobs. The controller creates Kubernetes Workload and PodGroup resources so workers can be admitted as an all-or-nothing gang, avoiding GPUs sitting idle while a job waits for capacity. Runtime configuration can give initializers a basic scheduling policy while GPU workers wait for their own gang, addressing dependency deadlocks. Admins choose one scheduling level per ReplicatedJob: TrainJob level for zone placement, ReplicatedJob level for network-block placement, or Job level for rack placement. In v2.4 these are independent PodGroups, not a nested hierarchy; Job-level groups support at most one replica and require Kubernetes v1.38. CompositePodGroup support is roadmap work, with Kubernetes 1.37 identified as alpha, and would allow nested placement and coordinated groups. Other listed additions include DRA support, per-TrainJob scheduler overrides, multi-slice TPU replicas, secured metrics, and OptimizationJob alpha integrations. The release also changes MPI image behavior and several configuration and upgrade requirements.

## Source excerpt

Imagine launching an AI/ML distributed training job across 64 GPUs. Two frequent problems happen: