Abstract
Scheduling deep learning (DL) models to train on powerful clusters with accelerators like GPUs and TPUs presently falls short, either lacking fine-grained heterogeneity awareness or leaving resources substantially under-utilized. To fill this gap, we propose a novel task-level heterogeneity-aware scheduler for DL clusters, Hadar, based on an optimization framework able to boost cluster resource utilization. Hadar leverages the performance traits of DL jobs on a heterogeneous DL cluster to make scheduling decisions across both spatial and temporal dimensions. It characterizes the task-level performance heterogeneity for optimization and involves the primal-dual framework employing a dual subroutine to solve the optimization problem and guide the scheduling design. Our trace-driven simulation with representative DL model training workloads demonstrates that Hadar accelerates the total training time duration by 1.20× when compared with its state-of-the-art heterogeneity-aware counterpart, Gavel. Further, our Hadar scheduler is enhanced to HadarE by forking each job into multiple copies to let a job train concurrently on heterogeneous GPUs resided on separate available cluster nodes for resource utilization enhancement. HadarE exhibits considerable speed-ups in DL model training, reducing the total training time duration by 50% (or 80%) on an Amazon’s AWS (or our lab) cluster, while producing trained DL models with consistently better inference quality than those trained by Hadar.
Introduction
Modern deep learning (DL) clusters are rarely uniform; they often contain a mix of GPU generations such as NVIDIA V100s, P100s, and K80s. Existing schedulers face two major hurdles in these environments: coarse granularity and resource under-utilization. Schedulers like Gavel are "heterogeneity-aware" at the job level but often treat a job as an indivisible unit. If a job requires specific resources that are unavailable, it sits idle even if other GPU types are free. This rigid allocation leads to expensive hardware sitting idle while jobs wait in queues.
Methodology: Hadar and HadarE
To bridge this "heterogeneity gap," we propose a two-tiered solution designed to understand how individual tasks perform on different hardware and dynamically split jobs to fill available slots.
Task-Level Optimization with Hadar
Hadar formulates scheduling as an optimization problem aimed at maximizing cluster-wide utility. It employs a Primal-Dual Framework to solve the complex integer linear program (ILP) of scheduling by assigning a "dual price" to each GPU. As a GPU type becomes more crowded, its price increases exponentially, pushing lower-priority or less-efficient jobs toward other resources. Unlike previous work, Hadar considers both spatial and temporal dimensions, allowing for finer-grained task placement.
Job Forking with HadarE
The core innovation of this work is HadarE, which introduces Concurrent Execution through "forking." It splits a single DL training job into multiple copies that run simultaneously on different nodes and GPU types. A "Job Tracker" manages these copies, aggregating training steps and consolidating model parameters via weight-averaging at the end of each scheduling round. This effectively eliminates cluster fragmentation, as high-end GPUs can immediately pick up forked copies of pending jobs rather than waiting for specific assignments.
Experimental Evaluation
The system was evaluated using trace-driven simulations with a Microsoft production trace of 480 jobs and physical deployments on Amazon AWS and local lab clusters. Workloads included diverse models such as ResNet-50, LSTM, CycleGAN, and Transformers.
Key Results
Trace-driven simulations show that Hadar outperformed Gavel by 1.20× in total training duration. In physical tests, HadarE reduced total training time by 50% on AWS and 80% on the lab testbed, while improving resource utilization by 1.45× compared to Gavel.
Beyond speed, HadarE often produced models with better inference quality. The authors suggest that the increased total training steps across forked copies, combined with periodic parameter consolidation, acts as a beneficial regularizer for convergence.
Discussion and Limitations
While highly effective, HadarE's performance is sensitive to communication overhead. Forking jobs across different physical nodes requires frequent parameter synchronization, which can be a bottleneck on clusters with slow interconnects. Future work will explore more complex asynchronous gradient descent methods to further reduce this synchronization overhead and refine initial throughput estimation models.
Conclusion
Hadar and HadarE represent a significant advancement in DL cluster scheduling. By moving to task-level allocation and enabling concurrent multi-node execution, these schedulers substantially boost resource utilization and reduce training times in heterogeneous environments.
Summary updated