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

Inference result of Qwen2 quantized by QoQ is wrong,how to fix? #44

Open
limertang opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@limertang
Copy link

Hi,

  1. I quantize Qwen2/Qwen2.5 with the command as below:
    python -m deepcompressor.app.llm.ptq
    configs/qoq-g128.yaml
    --model-name qwen-2-7b --model-path /PATH/TO/QWEN-2-7B
    --smooth-proj-alpha 0 --smooth-proj-beta 1
    --smooth-attn-alpha 0.5 --smooth-attn-beta 0
  2. I deploy the quantized qwen2 with tensorrt-llm, but the inference output is wrong.
    But I quantize Qwen1.5 with the same command and deploy it with Tensorrt-llm, it works well, inference resut is right.
    So, is the smooth value not correct for Qwen2? How to set smooth value for different model?
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

1 participant