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

AttributeError: 'QuantLinear' object has no attribute 'weight' #31

Open
n1ck-guo opened this issue Jan 6, 2025 · 2 comments
Open

AttributeError: 'QuantLinear' object has no attribute 'weight' #31

n1ck-guo opened this issue Jan 6, 2025 · 2 comments

Comments

@n1ck-guo
Copy link

n1ck-guo commented Jan 6, 2025

The commit faf1802 introduce a bug for quantized deepseek-vl2 model.

AttributeError: 'QuantLinear' object has no attribute 'weight'.

It point to modeling_deepseek.py Line 888.

Old version does not have any problem.

test model address: https://huggingface.co/OPEA/deepseek-vl2-int4-sym-gptq-inc

@n1ck-guo n1ck-guo changed the title Error of modeling_deepseek.py AttributeError: 'QuantLinear' object has no attribute 'weight' Jan 6, 2025
@dprokhorov17
Copy link

Hey @n1ck-guo , I've already faced the same issue. Check out this one: https://huggingface.co/OPEA/deepseek-vl2-int4-sym-gptq-inc/discussions/3

@n1ck-guo
Copy link
Author

Hey @n1ck-guo , I've already faced the same issue. Check out this one: https://huggingface.co/OPEA/deepseek-vl2-int4-sym-gptq-inc/discussions/3

We uploaded the OPEA/deepseek-vl2-int4-sym-gptq-inc model and found this problem. We hope DeepSeek-VL2 could solve this in the future version so that we do not have to use the specific version for quantized 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

2 participants