Skip to content

Conversation

@DN6
Copy link
Collaborator

@DN6 DN6 commented Nov 7, 2023

What does this PR do?

Change in the BasicTransformer block is breaking AnimateDiff generations, by failing to apply the second set of position embeddings required for generation.

This PR introduces a fix for this issue.

Fixes # (issue)

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 7, 2023

The documentation is not available anymore as the PR was closed or merged.

@patrickvonplaten patrickvonplaten merged commit 414d7c4 into main Nov 7, 2023
patrickvonplaten added a commit that referenced this pull request Nov 7, 2023
* fix

* Update src/diffusers/models/attention.py

Co-authored-by: Patrick von Platen <[email protected]>

---------

Co-authored-by: Patrick von Platen <[email protected]>
kashif pushed a commit to kashif/diffusers that referenced this pull request Nov 11, 2023
* fix

* Update src/diffusers/models/attention.py

Co-authored-by: Patrick von Platen <[email protected]>

---------

Co-authored-by: Patrick von Platen <[email protected]>
@kashif kashif deleted the basic-transformer-fix branch December 5, 2023 09:00
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* fix

* Update src/diffusers/models/attention.py

Co-authored-by: Patrick von Platen <[email protected]>

---------

Co-authored-by: Patrick von Platen <[email protected]>
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* fix

* Update src/diffusers/models/attention.py

Co-authored-by: Patrick von Platen <[email protected]>

---------

Co-authored-by: Patrick von Platen <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants