-
Notifications
You must be signed in to change notification settings - Fork 637
meet error when quantizing Qwen2.5vl-72B with multi-gpus #3867
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
Comments
Try upgrading the |
in config.json, I find that this quantization hyperparameters are added: |
@Jintao-Huang issue fixed. if using vllm tensor parallelism, awq quantized model's intermediate size should be divisible by (group_size * tp). So the default group size should be modified to fit that. |
@Jintao-Huang @hjh0119 Hi guys,
I use 8 * 80G A100 to quantize my post-trained Qwen2.5vl-72B with autoAWQ. Before that I have installed autoawq from source. But after loading model, it throws distributed error immediately. How should I solve this problem?
Here is my shell command:
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \ MAX_PIXELS=2097152 \ VIDEO_MAX_PIXELS=50176 \ FPS_MAX_FRAMES=12 \ swift export \ --model Qwen2.5vl72B_post_train \ --dataset quant.json \ --quant_n_samples 256 \ --quant_batch_size -1 \ --max_length 8192 \ --quant_method awq \ --quant_bits 4 \ --output_dir 72B_awq
Here are related libraries:
autoawq----0.2.8 built from source
trainsformers----4.49.0
torch----2.5.1
The text was updated successfully, but these errors were encountered: