Skip to content

Supporting As8Wu4 computation flow #3489

@skykongkong8

Description

@skykongkong8

Note

As8Wu4 : Activation with signed integer 8bit and Weight with unsigned integer 4bit configuration

Todo

Issues

1. Supporting As8Wu4 for 128-group quantized Weight on CPU might be invalid

  • Refered from, MLAS and kleidiai, which are one of major CPU computational backends of openVINO, number 128 of group quantization is bound to SIMD register size for optimal performance. Thus there are no such kernel that supports 128 group-quantized-weight-matrix-using-GEMM on AVX2 or NEON. Only AVX512 has it!
  • Although it won't be impossible to implement such, but the performance might be suboptimal.
  • Problem is, then it is quite cumbersome to use 128 group quantized weight on CPU side, and forcibly using inconsistently-quantized weight might harm the LLM accuracy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions