Skip to content

Questions about the papaer "Fast Matrix Multiplications for Lookup Table-Quantized LLMs" #33

Description

@sunzj

Image

Figure 2:
Quantized Weights:int4 -->unpacking(shift + mask):int16 -->vectorized table lookup.
So the indice of the lookup table is "int16"? As i understand, we can use a pair of int4 (int8) as indices.

  1. The dequantized weights are two weight: float16x2, but matmual need float16. Convert float16x2->float16 is inefficient by OpenCL. Did you encounter such issue? Since i ecounter that issue when try to implement the "LUT" with OpenCL, you may not have such issue when use CUDA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions