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]: AnimateDiff is not running correctly. einops.EinopsError: Error while processing rearrange-reduction pattern #532

Open
2 tasks done
jihyangyu00000 opened this issue May 29, 2024 · 3 comments

Comments

@jihyangyu00000
Copy link

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?

einops.EinopsError: Error while processing rearrange-reduction pattern "(b f) d c -> (b d) f c".

 Input tensor shape: torch.Size([2, 1369, 320]). Additional info: {'f': 8}.

 Shape mismatch, can't divide axis of length 2 in chunks of 8

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

AnimateDiff is not running correctly.

캡처

First image created without AnimateDiff enabled > Enable AnimateDiff > Error > Disable AnimateDiff > Continued Error
If anyone has a workaround, please share.

WEB UI version is 1.6.0

Python 3.10.6

Steps to reproduce the problem

  1. Go to ....
  2. Press ....
  3. ...
    First image created without AnimateDiff enabled > Enable AnimateDiff > Error > Disable AnimateDiff > Continued Error

What should have happened?

There should be no errors.

Commit where the problem happens

webui:
extension: AnimateDiff

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

no

Console logs

no

Additional information

No response

@continue-revolution
Copy link
Owner

Please update your WebUI first.

@jihyangyu00000
Copy link
Author

@continue-revolution I tried with version 18, but I get the same error. :(

@MarcusWikstrand
Copy link

I've tried to get this to work, and have the problem with einops error.

"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"

I am only guessing it's the same as this, if not, I'm sorry, I don't know this stuff very well.

in any case, this problem then persists even if I no longer enable animatediff, and try to run regular prompts. Very strange behavior.

oh and I updated most things like twice, and I am trying out the various models available for animatediff to see if there's any difference, but nothing has been different so far.

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