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: 'Qwen2_5_VLVisionConfig' object has no attribute 'embed_dim' #681

Closed
AkshataABhat opened this issue Jan 28, 2025 · 2 comments

Comments

@AkshataABhat
Copy link

AttributeError: 'Qwen2_5_VLVisionConfig' object has no attribute 'embed_dim'

Issue while loading Qwen/Qwen2.5-VL-7B-Instruct

@ShuaiBai623
Copy link
Collaborator

May I ask under what circumstances you encountered this problem? Have you installed the latest version of the transformers code?

@lynetcha
Copy link

I encountered this error and found that I was accidentally using Qwen2VLForConditionalGeneration. Switching to Qwen2_5_VLForConditionalGeneration solved the issue.

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

3 participants