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

Question about W4A16 Benchmark #17

Open
RanchiZhao opened this issue Oct 22, 2024 · 2 comments
Open

Question about W4A16 Benchmark #17

RanchiZhao opened this issue Oct 22, 2024 · 2 comments

Comments

@RanchiZhao
Copy link

I benchmarked the downstream performance of the ABQ W4A16 (per-channel, symmetric) quantized version of the MiniCPM-1B-sft-llama-format model. I used a custom dialogue dataset for calibration and modified the input_ids and labels logic in datautils.py. However, the performance did not match that of AutoGPTQ (with act_order). Do you have any suggestions?

@zengchao0424
Copy link

Hi, for the W4A16 configuration, most mainstream quantization algorithms can achieve good results. If using a per-channel setting for W4A16, you can choose any quantization algorithm you prefer. However, in more challenging settings like W3 or W2, AWQ/GPTQ will experience significant accuracy drops under per-channel settings, where the advantages of ABQ will become more apparent.

@RanchiZhao
Copy link
Author

Hi, for the W4A16 configuration, most mainstream quantization algorithms can achieve good results. If using a per-channel setting for W4A16, you can choose any quantization algorithm you prefer. However, in more challenging settings like W3 or W2, AWQ/GPTQ will experience significant accuracy drops under per-channel settings, where the advantages of ABQ will become more apparent.

Hi, The w4a16 per-channel quantized models perform quite well on multiple choice benchmarks. However, when we look at benchmarks that require longer outputs, like gsm8k or humaneval, the performance doesn't seem to be as good. We're interested in pushing the limits of the w4a16 per-channel quantization methods. In this case, it's still a challenge because we've set higher expectations for its performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants