Blox: A Modular Toolkit for Deep Learning Schedulers
Saurabh Agarwal, Amar Phanishayee, Shivaram Venkataraman
Abstract
Deep Learning (DL) workloads have rapidly increased in popularity in enterprise clusters and several new cluster schedulers have been proposed in recent years to support these workloads. With rapidly evolving DL workloads, it is challenging to quickly prototype and compare scheduling policies across workloads. Further, as prior systems target different aspects of scheduling (resource allocation, placement, elasticity etc.), it is also challenging to combine these techniques and understand the overall benefits.
To address these challenges we propose Blox, a modular toolkit which allows developers to compose individual components and realize diverse scheduling frameworks. We identify a set of core abstractions for DL scheduling, implement several existing schedulers using these abstractions, and verify the fidelity of these implementations by reproducing results from prior research. We also highlight how we can evaluate and compare existing schedulers in new settings: different workload traces, higher cluster load, change in DNN workloads and deployment characteristics. Finally, we showcase Blox's extensibility by composing policies from different schedulers, and implementing novel policies with minimal code changes. Blox is available at https://github.com/msr- fiddle/blox.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Serving DNNs like Clockwork: Performance Predictability from the Bottom Up cites Language Models are Few-Shot Learners
- Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites Language Models are Few-Shot Learners
- Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
- Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- Primus: Unified Training System for Large-Scale Deep Learning Recommendation Models cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
- Primus: Unified Training System for Large-Scale Deep Learning Recommendation Models cites AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- PAL: A Variability-Aware Policy for Scheduling ML Workloads in GPU Clusters cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
- PAL: A Variability-Aware Policy for Scheduling ML Workloads in GPU Clusters cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
Cited by top-tier papers2
- PAL: A Variability-Aware Policy for Scheduling ML Workloads in GPU ClustersRutwik Jain, Brandon Tran, Keting Chen, Matthew D. Sinclair et al.SC 2024 · 10 citations
- Primus: Unified Training System for Large-Scale Deep Learning Recommendation ModelsJixi Shan, Xiuqi Huang, Yang Guo, Hongyue Mao et al.USENIX ATC 2025 · 4 citations
Builds on12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao et al.OSDI 2020 · 392 citations
- Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee et al.OSDI 2020 · 286 citations
- AntMan: Dynamic Scaling on GPU Clusters for Deep LearningWencong Xiao, Shiru Ren, Yong Li, Yang Zhang et al.OSDI 2020 · 260 citations
- Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep LearningAurick Qiao, Sang Keun Choe, Suhas Jayaram Subramanya, Willie Neiswanger et al.OSDI 2021 · 258 citations
Related papers
- Multi-resource interleaving for deep learning trainingYihao Zhao, Yuanqiang Liu, Yanghua Peng, Yibo Zhu et al.SIGCOMM 2022 · 78 citations
- AlloX: compute allocation in hybrid clustersTan N. Le, Xiao Sun, Mosharaf Chowdhury, Zhenhua LiuEuroSys 2020 · 82 citations
- Heet: Accelerating Elastic Training in Heterogeneous Deep Learning ClustersZizhao Mo, Huanle Xu, Chengzhong XuASPLOS 2024 · 22 citations
- An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams et al.SC 2020 · 21 citations
- Sia: Heterogeneity-aware, goodput-optimized ML-cluster schedulingSuhas Jayaram Subramanya, Daiyaan Arfeen, Shouxu Lin, Aurick Qiao et al.SOSP 2023 · 50 citations
