An FPGA-based RNN-T inference accelerator with PIM-HBM

  • Kang, Shin-Haeng
  • Lee, Sukhan
  • Kim, Byeongho
  • Kim, Hweesoo
  • Sohn, Kyomin
  • ... Lee, Eojin
  • 외 1명
Citations

SCOPUS

16

초록

In this paper, we implemented a world-first RNN-T inference accelerator using FPGA with PIM-HBM that can multiply the internal bandwidth of the memory. The accelerator offloads matrix-vector multiplication (GEMV) operations of LSTM layers in RNN-T into PIM-HBM, and PIM-HBM reduces the execution time of GEMV significantly by exploiting HBM internal bandwidth. To ensure that the memory commands are issued in a pre-defined order, which is one of the most important constraints in exploiting PIM-HBM, we implement a direct memory access (DMA) module and change configuration of the on-chip memory controller by utilizing the flexibility and reconfigurability of the FPGA. In addition, we design the other hardware modules for acceleration such as non-linear functions (i.e., sigmoid and hyperbolic tangent), element-wise operation, and ReLU module, to operate these compute-bound RNN-T operations on FPGA. For this, we prepare FP16 quantized weight and MLPerf input datasets, and modify the PCIe device driver and C++ based control codes. On our evaluation, our accelerator with PIM-HBM reduces the execution time of RNN-T by 2.5 × on average with 11.09% reduced LUT size and improves energy efficiency up to 2.6 × compared to the baseline. © 2022 ACM.

키워드

accelerating vector-matrix multiplicationprocessing-in-memoryspeech recognition
제목
An FPGA-based RNN-T inference accelerator with PIM-HBM
저자
Kang, Shin-HaengLee, SukhanKim, ByeonghoKim, HweesooSohn, KyominKim, Nam SungLee, Eojin
DOI
10.1145/3490422.3502355
발행일
2022
유형
Conference paper
저널명
FPGA 2022 - Proceedings of the 2022 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays
페이지
146 ~ 152