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.5-VL RuntimeError: Split with sizes expects split sizes to sum exactly to 1(调用model.generate时报错) #123

Open
Youngluc opened this issue Feb 21, 2025 · 1 comment

Comments

@Youngluc
Copy link

Image
transformres更新到4.49.0版本了,4.49.0dev/4.50.0dev都尝试过,还是有这个问题,why?

@yuezih
Copy link
Contributor

yuezih commented Feb 25, 2025

Hi, can you try to rebuild transformers with our specified version?

pip install --upgrade --force-reinstall git+https://github.com/huggingface/transformers.git@336dc69d63d56f232a183a3e7f52790429b871ef

The same transformers version (e.g. 4.49.0dev) may contain multiple minor updates, so it is suggested to follow the setup instructions instead of installing with a specified version.

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