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

[attention] Investigate overlapping matmul and softmax #91

Open
antiagainst opened this issue Aug 5, 2024 · 0 comments
Open

[attention] Investigate overlapping matmul and softmax #91

antiagainst opened this issue Aug 5, 2024 · 0 comments
Assignees
Milestone

Comments

@antiagainst
Copy link
Contributor

antiagainst commented Aug 5, 2024

In Flash Attention 3 we see a technique to overlap matmul and softmax from different waves to maximize mfma utilization. We should consider how to use it for current attention. Need to understand hardware scheduler and see how to work with/around it, like using s_setprio instructions.

@antiagainst antiagainst converted this from a draft issue Aug 5, 2024
@antiagainst antiagainst added this to the SDXL-MLPerf milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants