-
Notifications
You must be signed in to change notification settings - Fork 22
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
Implement benchmarks for Flash Attention #223
base: sycl-develop
Are you sure you want to change the base?
Implement benchmarks for Flash Attention #223
Conversation
9ba23eb
to
5796bd5
Compare
20ae95f
to
2dfafdf
Compare
cutlass_benchmark_add_executable( | ||
flash_attention_benchmark | ||
main.cpp | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of creating a new benchmark, could you integrate flash attention into the current benchmark framework alongside the existing benchmarks for GEMM and StreamK. This will allow us to add new benchmark cases without having to add each one independently in CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the Flash Attention benchmarks into the existing benchmark framework.
@@ -0,0 +1,65 @@ | |||
# BFloat16 benchmarks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add all these benchmark configurations into the existing input.in file so that they will all be included in the CI benchmark.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
8cbc20c
to
9514513
Compare
This PR adds benchmarks for Flash Attention v2.
Stacked changes on top of #204