swDNN: A Library for Accelerating Deep Learning Applications on Sunway TaihuLight
Authors:
- Jiarui FangJFJiarui Fang
- Haohuan FuHFHaohuan Fu
- Wenlai ZhaoWZWenlai Zhao
- Bingwei ChenBCBingwei Chen
- Weijie ZhengWZWeijie Zheng
- Guangwen YangGYGuangwen Yang
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 615-624
Abstract
To explore the potential of training complex deep neural networks (DNNs) on other commercial chips rather than GPUs, we report our work on swDNN, which is a highly-efficient library for accelerating deep learning applications on the newly announced world-leading supercomputer, Sunway TaihuLight. Targeting SW26010 processor, we derive a performance model that guides us in the process of identifying the most suitable approach for mapping the convolutional neural networks (CNNs) onto the 260 cores within the chip. By performing a systematic optimization that explores major factors, such as organization of convolution loops, blocking techniques, register data communication schemes, as well as reordering strategies for the two pipelines of instructions, we manage to achieve a double-precision performance over 1.6 Tflops for the convolution kernel, achieving 54% of the theoretical peak. Compared with Tesla K40m with cuDNNv5, swDNN results in 1.91-9.75x performance speedup in an evaluation with over 100 parameter configurations.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Mastering the game of Go with deep neural networks and tree searchNature, 2016
- ShiDianNaoACM SIGARCH Computer Architecture News, 2015
- PuDianNaoACM SIGARCH Computer Architecture News, 2015
- DianNaoACM SIGPLAN Notices, 2014
- Deep Neural Networks for Acoustic Modeling in Speech Recognition: The Shared Views of Four Research GroupsIEEE Signal Processing Magazine, 2012
- Context-Dependent Pre-Trained Deep Neural Networks for Large-Vocabulary Speech RecognitionIEEE Transactions on Audio, Speech, and Language Processing, 2011
- RooflineCommunications of the ACM, 2009