TY - GEN
T1 - Empirical Analysis and Modeling of Compute Times of CNN Operations on AWS Cloud
AU - Hafeez, Ubaid Ullah
AU - Gandhi, Anshul
N1 - Publisher Copyright:
© 2020 IEEE.
PY - 2020/10
Y1 - 2020/10
N2 - 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.
AB - 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.
UR - https://www.scopus.com/pages/publications/85097852273
U2 - 10.1109/IISWC50251.2020.00026
DO - 10.1109/IISWC50251.2020.00026
M3 - Conference contribution
AN - SCOPUS:85097852273
T3 - Proceedings - 2020 IEEE International Symposium on Workload Characterization, IISWC 2020
SP - 181
EP - 192
BT - Proceedings - 2020 IEEE International Symposium on Workload Characterization, IISWC 2020
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 16th IEEE International Symposium on Workload Characterization, IISWC 2020
Y2 - 27 October 2020 through 29 October 2020
ER -