-
Notifications
You must be signed in to change notification settings - Fork 433
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
The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0 #62
Comments
If the transformers version is greater than 4.27, this error will be triggered. Downgrading the transformers version to 4.26.1 can fix this error. I don’t know the specific reason, but this method works for me. pip3 install transformers==4.26.1 |
If this is true, then maybe the conflict is due to the Dreambooth extension which installs 4.27.1 Dreambooth's requirement.txt
|
@linqingfeng nailed it, thank you! |
Thanks! |
The same error, update clip-interrogator==0.5.4 to clip-interrogator==0.6.0, it's works for me. |
Yes sorry the regular install of auto1111 webui uses one version of transformers and the dreambooth extension installs a different version and they need different versions of clip-interrogator. there may be some way for clip-interrogator to check what transformers is installed and manage to support both but I haven't had an opportunity to sort that out yet. |
Hello! I can't start interogator-ext. Startup stops with "Exception <class 'RuntimeError'>". This error falls in the thread title, Internal CLIP and DeepBooru work. Can anyone help with this problem?
The text was updated successfully, but these errors were encountered: