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

Reshape propagation to enable broadcast(transpose) -> attention(q, kt, vt) fusion. #19661

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaheshRavishankar
Copy link
Contributor

Fixes some minor bugs and adds a missing pattern to enable reshape propagation that moves reshapes out of the transpose operation and attention operation to be fusable subsequently.

This doesnt necessarily fuse the the transpose and attention yet. That will be addressed subsequently.

…, vt) fusion.

Fixes some minor bugs and adds a missing pattern to enable reshape
propagation that moves reshapes out of the transpose operation and
attention operation to be fusable subsequently.

Signed-off-by: MaheshRavishankar <[email protected]>
@MaheshRavishankar MaheshRavishankar force-pushed the attention_v_transpose_fusion branch from b9df00f to 568e472 Compare January 10, 2025 06:10
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.

1 participant