Empirical Analysis and Modeling of Compute Times of CNN Operations on AWS Cloud
Empirical Analysis and Modeling of Compute Times of CNN Operations on AWS Cloud
复制标题
DOI:
10.1109/iiswc50251.2020.00026
复制
发表时间:
2020-10
期刊:
影响因子:
--
通讯作者:
Ubaid Ullah Hafeez;Anshul Gandhi
中科院分区:
文献类型:
--
作者:
Ubaid Ullah Hafeez;Anshul Gandhi
Given the widespread use of Convolutional Neural Networks (CNNs) in image classification applications, cloud providers now routinely offer several GPU-equipped instances with varying price points and hardware specifications. From a practitioner's perspective, given an arbitrary CNN, it is not obvious which GPU instance should be employed to minimize the model training time and/or rental cost. This paper presents Ceer, a model-driven approach to determine the optimal GPU instance(s) for any given CNN. Based on an operation-level empirical analysis of various CNNs, we develop regression models for heavy GPU operations (where input size is a key feature) and employ the sample median estimator for light GPU and CPU operations. To estimate the communication overhead between CPU and GPU(s), especially in the case of multi-GPU training, we develop a model that relates this communication overhead to the number of model parameters in the CNN. Evaluation results on AWS Cloud show that Ceer can accurately predict training time and cost (less than 5% average prediction error) across CNNs, enabling 36% −44% cost savings over simpler strategies that employ the cheapest or the latest generation GPU instances.