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

The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0 #59

Open
rendez2k opened this issue Jul 11, 2023 · 13 comments

Comments

@rendez2k
Copy link

Getting this error, have tried a clean install. Any ideas?

@ELIYASOUND
Copy link

same...

@swumagic
Copy link

me,too,

@ansonphong
Copy link

Yes this error is happening constantly, I'm unable to get interogator to work at all. On the latest Automatic1111 and everything else seems to be working otherwise.

@jgilfoil
Copy link

jgilfoil commented Aug 28, 2023

This is happening with release v1.6.0-RC of Automatic1111

@hben35096
Copy link

me,too,This is happening with release v1.6.0-RC of Automatic1111

@kishore25kumar
Copy link

Looks like issue with latest transformers, vladmandic/automatic#108 (comment)

@hben35096
Copy link

In version 1.6, Negative prompt can be generated normally, but other options are not available.

@hben35096
Copy link

I think I found the cause and want to reinstall:
pip install 'transformers>=4.15.0,<=4.26.1'
For the requirements .txt and requirements_versions.txt of WebUI v1.6, change "transformers==4.30.2" to "transformers==4.26.1" (installed version) in the file

@emuchogu
Copy link

I think I found the cause and want to reinstall: pip install 'transformers>=4.15.0,<=4.26.1' For the requirements .txt and requirements_versions.txt of WebUI v1.6, change "transformers==4.30.2" to "transformers==4.26.1" (installed version) in the file

I seem to already have "transformers==4.26.1" and I'm still getting the error.

I also installed "transformers==4.30.2" and got the same error.

@hben35096
Copy link

我想我找到了原因并想重新安装:pip install'transformers>=4.15.0,<=4.26.1' 对于WebUI v1.6的要求.txt和requirements_versions.txt,请在文件中将“transformers==4.30.2”更改为“transformers==4.26.1”(已安装版本)

我似乎已经有了“变压器==4.26.1”,但我仍然收到错误。

我还安装了“变压器==4.30.2”并得到了同样的错误。

Don't start WebUI after installing "transformers==4.26.1", wait until you change two "requirements .txt", and then launch, do you do this?

@Grocel
Copy link

Grocel commented Sep 5, 2023

Also has been reported at #64

@emuchogu and @hben35096: You may want to delete cache.json for the changes to take effect.

@pharmapsychotic
Copy link
Owner

Extension is updated now, please update in the webui and restart and should be working again. Let me know if you have any issues!

@Grocel
Copy link

Grocel commented Sep 10, 2023

It's fixed for me now, thanks.

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

10 participants