Skip to content

Conversation

@patil-suraj
Copy link
Contributor

This PR use torch.matmul for attention comupation instead of einsum to allow exporting to coreML

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 9, 2022

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

Copy link
Member

@anton-l anton-l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, much more portable now ❤️

@patil-suraj patil-suraj merged commit 5adb0a7 into main Sep 9, 2022
@patil-suraj patil-suraj deleted the remove-einsum branch September 9, 2022 11:46
PhaneeshB added a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* use torch.matmul instead of einsum

* fix softmax
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