-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Idefics2 Model Fails with Versions 4.45.0 and 4.45.1 (Shape Mismatch Error) #33752
Closed
1 of 4 tasks
Labels
Comments
cc @andimarafioti and @amyeroberts |
Hi @movchan74 - thanks for reporting! I've opened #33776 which should fix this. @LysandreJik as this is a regression, should we include the fix in a patch once approved? |
This was referenced Sep 27, 2024
yes we can indeed |
Closing as this was fixed, will include it in the patch! |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Info
transformers
version: 4.45.1Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
The code is taken from HuggingFace's Idefics2 model page.
Error message:
Expected behavior
The Idefics2 model does not work with the new
transformers
releases.It works with
transformers==4.44.2
. However, both4.45.0
and4.45.1
cause shape mismatch error.The model should generate the output as it does with the
transformers==4.44.2
version and not fail on the latest releases.The text was updated successfully, but these errors were encountered: