At-Scale Sparse Deep Neural Network Inference with Efficient GPU Implementation

Mert Hidayetoglu, Carl Pearson, Vikram Sharma Mailthody, Eiman Ebrahimi, Jinjun Xiong +2 more
7/28/2020
cs.DCcs.LG

Official code: merthidayetoglu/SpDNN_Challenge2020 (6 stars, Cuda, last commit 2022-09-01).

Abstract

This paper presents GPU performance optimization and scaling results for inference models of the Sparse Deep Neural Network Challenge 2020. Demands for network quality have increased rapidly, pushing the size and thus the memory requirements of many neural networks beyond the capacity of available accelerators.

Show full abstract

Sparse deep neural networks (SpDNN) have shown promise for reining in the memory footprint of large neural networks. However, there is room for improvement in implementing SpDNN operations on GPUs. This work presents optimized sparse matrix multiplication kernels fused with the ReLU function. The optimized kernels reuse input feature maps from the shared memory and sparse weights from registers. For multi-GPU parallelism, our SpDNN implementation duplicates weights and statically partition the feature maps across GPUs. Results for the challenge benchmarks show that the proposed kernel design and multi-GPU parallelization achieve up to 180 tera-edges per second inference throughput. These results are up to 4.3x faster for a single GPU and an order of magnitude faster at full scale than those of the champion of the 2019 Sparse Deep Neural Network Graph Challenge for the same generation of NVIDIA V100 GPUs. Using the same implementation, we also show single-GPU throughput on NVIDIA A100 is 2.37$\times$ faster than V100.

View on arXivView PDF

Code Implementations(1)

Codebase for the 2020 Graph Challenge

63Cuda, C++Jul 13, 20204 years ago

Similar Papers

Cite this paper

@article{hidayetoglu2020atscale,
  title  = {At-Scale Sparse Deep Neural Network Inference with Efficient GPU Implementation},
  author = {Mert Hidayetoglu and Carl Pearson and Vikram Sharma Mailthody and Eiman Ebrahimi and Jinjun Xiong and Rakesh Nagi and Wen-Mei Hwu},
  year   = {2020},
  eprint = {2007.14152},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.14152}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.14152.svg)](https://codeofpaper.com/paper/2007.14152)

Discussion