-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Array split does not result in sub arrays with equal size: attempting 3 splits along axis 2 for shape #196
Comments
I saw this issue too in #195. @Blaizzy This failure happens when using the dev build of transformers 4.49.0.dev0 . It might also be related to the image size or ratio. I noticed that python -m mlx_vlm.generate --model ~/.cache/lm-studio/models/mlx-community/pixtral-12b-4bit --max-tokens 100 --temp 0.0 --image https://raw.githubusercontent.com/lmstudio-ai/mlx-engine/501e61df1ced33f7002b3b2a036210686c1be713/demo-data/toucan.jpeg |
Hey guys @neilmehta24 @jrp2014 I ran the example on dev build of transformers 4.49.0.dev0 from last week and the latest mlx-vlm and it works. ![]() However, when I reinstalled it from source and I get the same issue now. It seems transformers finally fixed the data processing for pixtral. I have updated mlx-vlm and a PR should be up soon. |
Hey @Blaizzy any update on this? I think that qwen2.5 VL is also broken with transformers 4.49.0 |
Hey guys The issue was fixed, just forgot to push it! |
Looks like there is a bug in a recent version of mlx? This never happened before, but perhaps here was just a hidden bug:
The text was updated successfully, but these errors were encountered: