Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEGEMMLowpMatrixMultiplyCore: per-channel quantization support #1153

Open
alvoron opened this issue Dec 13, 2024 · 0 comments
Open

NEGEMMLowpMatrixMultiplyCore: per-channel quantization support #1153

alvoron opened this issue Dec 13, 2024 · 0 comments

Comments

@alvoron
Copy link

alvoron commented Dec 13, 2024

NEGEMMLowpMatrixMultiplyCore supports per-tensor quantization only.
Feature request is to support per-channel quantization.

Reproducer: eshoguli@49a91f3

Issue is reproduced if per-channel quantization is changed to per-tensor quantization in the provided example:

   // per-tensor quantization:
   const QuantizationInfo src2_qinfo(0.2f);

   // per-channel quantization:
   const auto scales2 = generate_quantization_scales(6, 0.2f);
   const QuantizationInfo src2_qinfo(scales2);
   std::cout << "scales2: " << scales2 << std::endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants