상세 보기
Analysis of Sub-Routines in NVIDIA cuBLAS Library for a series of Matrix-Matrix Multiplications in Transformer
- Kim, D.;
- Kim, I.;
- Kim, J.
Citations
SCOPUS
4초록
The general matrix-matrix multiplication (GEMM) is a key operation used in a variety of areas such as Computational Science, Data Science, Machine Learning, and so on. In transformers which are foundation models, Multi-Head Attention (MHA) has a series of matrix-matrix multiplications. To perform the MHA on GPUs, we need to exploit highly optimized sub-routines for GEMM, provided their hardware vendor. On NVIDIA GPUs, the cuBLAS library is provided in order to support basic linear algebra subprograms (BLAS). In this paper, we examine and analyze several sub-routines to handle a series of matrix-matrix multiplications used in the transformer model on NVIDIA GPUs. © 2022 IEEE.
키워드
cuBLAS; General Matrix-Matrix Multiplication; GEMM; Multi-Head Attention; MHA; Transformer
- 제목
- Analysis of Sub-Routines in NVIDIA cuBLAS Library for a series of Matrix-Matrix Multiplications in Transformer
- 저자
- Kim, D.; Kim, I.; Kim, J.
- 발행일
- 2022-10
- 유형
- Conference Paper
- 저널명
- International Conference on ICT Convergence
- 권
- 2022-October
- 페이지
- 618 ~ 620