Litcius/Paper detail

EasyScale: Elastic Training with Consistent Accuracy and Improved Utilization on GPUs

Mingzhen Li, Wencong Xiao, Hailong Yang, Biao Sun, Hanyu Zhao, Shiru Ren, Zhongzhi Luan, Xianyan Jia, Yi Liu, Yong Li, Wei Lin, Depei Qian

202315 citationsDOI

Abstract

Distributed synchronized GPU training is commonly used for deep learning. The resource constraint of using a fixed number of GPUs makes large-scale training jobs suffer from long queuing time for resource allocation, and lowers the cluster utilization. Adapting to resource elasticity can alleviate this but often introduces inconsistent model accuracy, due to lacking of capability to decouple model training procedure from resource allocation. We propose EasyScale, an elastic training system that achieves consistent model accuracy under resource elasticity for both homogeneous and heterogeneous GPUs. EasyScale preserves the data-parallel training behaviors strictly, traces the consistency-relevant factors carefully, utilizes the deep learning characteristics for EasyScaleThread abstraction and fast context-switching. To utilize heterogeneous cluster, EasyScale dynamically assigns workers based on the intra-/inter-job schedulers, minimizing load imbalance and maximizing aggregated job throughput. Deployed in an online serving cluster, EasyScale powers the training jobs to utilize idle GPUs opportunistically, improving overall cluster utilization by 62.1%.

Topics & Concepts

Computer scienceDistributed computingElasticity (physics)WorkloadResource allocationThroughputIdleContext (archaeology)AbstractionComputer networkOperating systemBiologyPaleontologyComposite materialPhilosophyMaterials scienceEpistemologyWirelessCloud Computing and Resource ManagementStochastic Gradient Optimization TechniquesFerroelectric and Negative Capacitance Devices