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

InternVL2.5-78b model's performance significantly degrades after AWQ quantization #876

Open
vladimiralbrekhtccr opened this issue Jan 22, 2025 · 0 comments

Comments

@vladimiralbrekhtccr
Copy link

Hello.

I have fine-tuned the InternVL2.5-78B model and quantized it using the AWQ method with lmdeploy:

export CUDA_VISIBLE_DEVICES=1

export HF_MODEL="model"
export WORK_DIR="output_dir"

lmdeploy lite auto_awq \
   $HF_MODEL \
  --calib-dataset 'ptb' \
  --calib-samples 128 \
  --calib-seqlen 2048 \
  --w-bits 4 \
  --w-group-size 128 \
  --batch-size 1 \
  --work-dir $WORK_DIR

The fine-tuned model's performance on the VLM benchmarks are on par with the original model. However, the performance of the quantized model has decreased significantly.

Am I using the correct quantization method?

Thanks.

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