-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Reimplement cc_attention using einops. #1186
Conversation
Hi @Leojc ,
|
Hi @ZwwWayne , |
Can it be implemented with |
Yes, but that will decrease the readability greatly. Is that OK? |
Wait... Maybe that won't decrease too much. I'll try implementing it. |
Think I should open a new PR. |
Looks great! |
Motivation
Reimplement a faster and more readable cc_attention using einops.
Modification
cc_attention.py
requirement.txt