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 examples in run_inference.ipynb cannot work. RuntimeError: The size of tensor a (320) must match the size of tensor b (2560) at non-singleton dimension 2. #249

Open
xingrunwang opened this issue Jun 13, 2023 · 4 comments

Comments

@xingrunwang
Copy link

xingrunwang commented Jun 13, 2023

Directly running the code in the run_inference.ipynb resulted in an error. Does anyone have the same problem and how should solve it?

@zzbuzzard
Copy link

zzbuzzard commented Jun 14, 2023

See #231 - this is the same issue. Unfortunately this project doesn't work with newer versions of diffusers, so the workaround is to downgrade to 0.14.

@xingrunwang
Copy link
Author

Thank you very much! I solve it.

@barry2025
Copy link

I met the same promblem and get new error after install diffusers==0.14,

RuntimeError: mat1 and mat2 shapes cannot be multiplied (8192x320 and 1024x8):
image

@barry2025
Copy link

It works when I use diffusers==0.15.0, 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

3 participants