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

[Bug]: EinopsError: Error while processing rearrange-reduction pattern "(b f) d c -> (b d) f c". Input tensor shape: torch.Size([2, 4096, 320]). Additional info: {'f': 16}. Shape mismatch, can't divide axis of length 2 in chunks of 16 #546

Open
2 tasks done
tail611 opened this issue Aug 1, 2024 · 4 comments

Comments

@tail611
Copy link

tail611 commented Aug 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits of both this extension and the webui

Have you read FAQ on README?

  • I have updated WebUI and this extension to the latest version

What happened?

“I want to create a video using Stable Diffusion, but after installing and trying to use AnimateDiff, I get the following error message.”

EinopsError: Error while processing rearrange-reduction pattern "(b f) d c -> (b d) f c". Input tensor shape: torch.Size([2, 4096, 320]). Additional info: {'f': 16}. Shape mismatch, can't divide axis of length 2 in chunks of 16

Steps to reproduce the problem

  1. Go to .... AmimativeDiff
  2. Press .... Generate
  3. ... Error massage

What should have happened?

“The video should be generated.”

스크린샷_1-8-2024_114046_127 0 0 1
스크린샷 2024-08-01 114325
스크린샷 2024-08-01 114401

Commit where the problem happens

webui:
extension: version: v1.6.0  •  python: 3.10.6  •  torch: 2.1.2+cu121  •  xformers: N/A  •  gradio: 3.41.2  •  checkpoint: 7c819b6d13

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

no

Console logs

sorry i don't know

Additional information

No response

@tail611
Copy link
Author

tail611 commented Aug 1, 2024

please help me!!ㅠㅠ
“I already tried installing the latest version of the web UI, but the same issue occurred, so I downgraded the version.”

@zappityzap
Copy link
Collaborator

Try using the motion modules from here: https://huggingface.co/conrevo/AnimateDiff-A1111/tree/main

@tail611
Copy link
Author

tail611 commented Aug 2, 2024 via email

@tail611
Copy link
Author

tail611 commented Aug 3, 2024 via email

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

2 participants