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

qwen2-vl, A770 GPU, got an unexpected keyword argument 'position_embeddings' error #12856

Open
aixiwangintel opened this issue Feb 20, 2025 · 2 comments

Comments

@aixiwangintel
Copy link

qwen2-vl, A770 GPU, got an unexpected keyword argument 'position_embeddings' error

Image

@aixiwangintel
Copy link
Author

prompt: describe the image
sample image (from internet):

Image

@MeouSker77
Copy link
Contributor

it seems your transformers version is too high, try using transformers 4.45

pip install transformers==4.45 trl==0.11

refer to our example if you meet any other errors: https://github.com/intel/ipex-llm/tree/main/python/llm/example/GPU/HuggingFace/Multimodal/qwen2-vl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants