-
Notifications
You must be signed in to change notification settings - Fork 991
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
transformers 4.27 compatability #227
Comments
yes, i just ask the same question yesterday, we need to downgrade the version of transformer.. at least 4.25 will work (i take this version) |
Yeah, I figured that out but I have to use transformers 4.27 :/ |
We have made an update to BLIP-2 OPT models so that they can work with the latest transformers with version>=4.27. |
Does BLIP model work with transformers>=4.27 too? |
BLIP model does not work with transformers>=4.27. |
May I know the reason why BLIP doesn't work with transformers>=4.27? I have to use transformers>4.27, is it possible that I modify transformers>4.27 locally to fit BLIP model? Thank you in advance. |
@Alchemistyui You may refer to this change and this change that affect BLIP model's generate function. |
I have to use transformers 4.27 because latest version of clip-interrogator requires that specific version. After upgrading transformers from 4.26 to 4.27, I had this issue.
I'm not sure if the first dimension 144 is correct here. What's happening in transformers 4.27 causing this?
The text was updated successfully, but these errors were encountered: