-
Notifications
You must be signed in to change notification settings - Fork 637
qwen2-vl 系列无法awq量化 #2649
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the feature
Please describe the feature requested here(请在这里描述需求)
尝试对finetune后的qwen2-vl-7b-instruct进行awq量化,会报错。错误信息见下方
Paste any useful information
Paste any useful information, including papers, github links, etc.(请在这里描述其他有用的信息,比如相关的论文地址,github链接等)
Additional context
Add any other context or information here(其他信息可以写在这里)
涉及到的包版本:
swift==git+https://github.com/modelscope/swift.git@66484498f8f3fab31ab5274da1b189a6b59a4dd6#egg=ms_swift
autoawq==0.2.7.post2
autoawq_kernels==0.0.7
transformers==4.47.0
查看了transformers的相应的源码,Qwen2VLForConditionalGeneration确实是没有embed_tokens这个属性的,倒是在 self.model 下有一个,也就是 Qwen2VLModel 有这个属性,不知道嫁接过去能不能行。
另外,qwen2-vl系列是有官方awq量化的,那他们是怎么做的呢
The text was updated successfully, but these errors were encountered: