Title
Scaling GRPC Tensorflow on 512 nodes of Cori Supercomputer.
Abstract
We explore scaling of the standard distributed Tensorflow with GRPC primitives on up to 512 Intel Xeon Phi (KNL) nodes of Cori supercomputer with synchronous stochastic gradient descent (SGD), and identify causes of scaling inefficiency at higher node counts. To our knowledge, this is the first exploration of distributed GRPC Tensorflow scalability on a HPC supercomputer at such large scale with synchronous SGD. We studied scaling of two convolution neural networks - ResNet-50, a state-of-the-art deep network for classification with roughly 25.5 million parameters, and HEP-CNN, a shallow topology with less than 1 million parameters for common scientific usages. For ResNet-50, we achieve u003e80% scaling efficiency on up to 128 workers, using 32 parameter servers (PS tasks) with a steep decline down to 23% for 512 workers using 64 PS tasks. Our analysis of the efficiency drop points to low network bandwidth utilization due to combined effect of three factors. (a) Heterogeneous distributed parallelization algorithm which uses PS tasks as centralized servers for gradient averaging is suboptimal for utilizing interconnect bandwidth. (b) Load imbalance among PS tasks hinders their efficient scaling. (c) Underlying communication primitive GRPC is currently inefficient on Cori high-speed interconnect. The HEP-CNN demands less interconnect bandwidth, and shows u003e80% weak scaling efficiency for up to 256 nodes with only 1 PS task. Our findings are applicable to other deep learning networks. Big networks with millions of parameters stumble upon the issues discussed here. Shallower networks like HEP-CNN with relatively lower number of parameters can efficiently enjoy weak scaling even with a single parameter server.
Year
Venue
Field
2017
arXiv: Distributed, Parallel, and Cluster Computing
Stochastic gradient descent,Supercomputer,Computer science,Xeon Phi,Server,Parallel computing,Bandwidth (signal processing),Artificial neural network,Scaling,Distributed computing,Scalability
DocType
Volume
Citations 
Journal
abs/1712.09388
3
PageRank 
References 
Authors
0.41
3
8
Name
Order
Citations
PageRank
Amrita Mathuriya130.41
Thorsten Kurth2578.36
Vivek Rane330.41
Mustafa Mustafa442.15
Lei Shao5182.07
Debbie Bard630.41
Prabhat745634.79
Victor Lee8735.22