Method for accelerating general matrix multiply for quantization model based on codebook, and computing device therefor
Патент · US A1
US-2026278035-A1
приоритет 2025-03-14
подача 2025-08-05
публикация 2026-09-17
семья -1
patents-ai
Полный текст
A method for accelerating general matrix multiply (GEMM) for a quantization model based on a codebook, includes generating at least one input segment by reshaping an input activation vector, generating a partial sum book (Psum book) including partial sums corresponding to respective codes in the codebook of the quantization model by performing a matrix operation between the codebook and the at least one input segment, retrieving the partial sums corresponding to the respective codes included in a code matrix of the quantization model by referring to the partial sum book, and generating an output vector corresponding to the input activation vector by using the retrieved partial sums.