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

Updated it to PyTorch2.0 and replaced Attention with PyTorch's Multihead attention #46

Open
Mut1nyJD opened this issue Aug 21, 2023 · 1 comment

Comments

@Mut1nyJD
Copy link

I've upgraded the code to be compatible with PyTorch2.0 and also replaced the attention/crossattention node to use PyTorch's build-in Multihead Attention which also of course supports flash attention out of the box.

Is there any interest in these updates?

@VeinVevive
Copy link

I am interested in it, could you send me the code?Thank you!

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