Cannikin: Optimal Adaptive Distributed DNN Training over Heterogeneous Clusters
Open Access
- 2 December 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 299-312
Abstract
Adjusting batch sizes and adaptively tuning other hyperparameters can significantly speed up deep neural network (DNN) training. Despite the ubiquity of heterogeneous clusters, existing adaptive DNN training techniques solely consider homogeneous environments. Optimizing distributed DNN training over heterogeneous clusters is technically challenging, and directly adapting existing techniques results in low utilization and poor performance. To solve this problem, we introduce Cannikin - a novel data-parallel distributed training system. Cannikin achieves efficient and near optimal performance by accurately modeling the optimal system performance and predicting adaptive batch size training metrics for DNNs in heterogeneous clusters. We implemented Cannikin in PyTorch and conducted experiments over 16 GPUs in Chameleon. Empirical results show that Cannikin reduces DNN training in heterogeneous clusters by up to 52% compared to the state-of-art adaptive training system and up to 85% compared to native PyTorch DistributedDataParallel.Keywords
Funding Information
- NSF (National Science Foundation) (CNS-2106027, CNS-2214980, CNS-2146909, CCF-2046444.)
This publication has 38 references indexed in Scilit:
- DLB: A Dynamic Load Balance Strategy for Distributed Training of Deep Neural NetworksIEEE Transactions on Emerging Topics in Computational Intelligence, 2022
- Deep Learning Based Recommender SystemACM Computing Surveys, 2019
- In-Package Domain-Specific ASICs for Intel® Stratix® 10 FPGAs: A Case Study of Accelerating Deep Learning Using TensorTile ASIC2018
- In-Datacenter Performance Analysis of a Tensor Processing UnitACM SIGARCH Computer Architecture News, 2017
- The MovieLens DatasetsACM Transactions on Interactive Intelligent Systems, 2015
- The CUDA Execution Model2011
- Bandwidth optimal all-reduce algorithms for clusters of workstationsJournal of Parallel and Distributed Computing, 2009
- Moore's law: past, present and futureIEEE Spectrum, 1997
- A Note on the Delta MethodThe American Statistician, 1992
- Complexity of Solving Linear Systems in Different Models of ComputationSIAM Journal on Numerical Analysis, 1984