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

simplyfy AttentionBlock #1492

Merged
merged 1 commit into from Dec 1, 2022
Merged

simplyfy AttentionBlock #1492

merged 1 commit into from Dec 1, 2022

Conversation

patil-suraj
Copy link
Contributor

This simplifies AttentionBlock by always making q,k,v a 3D tensors like we do in CrossAttention. This way we can also leverage sliced attention and xformers attention in this block.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Nov 30, 2022

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

@patrickvonplaten
Copy link
Contributor

I assume all the model slow tests are passing? Merging and will check then

@patrickvonplaten patrickvonplaten merged commit 2bbf8b6 into main Dec 1, 2022
@patrickvonplaten patrickvonplaten deleted the refact-attnblock branch December 1, 2022 15:41
tcapelle pushed a commit to tcapelle/diffusers that referenced this pull request Dec 12, 2022
sliard pushed a commit to sliard/diffusers that referenced this pull request Dec 21, 2022
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
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.

None yet

3 participants