-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[ROCm] SDPA fix mem fault when dropout is enabled #154864
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
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/154864
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 22ff165 with merge base df55ec7 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
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.
Why did you add template <int Version = 2>
?
aten/src/ATen/native/transformers/hip/flash_attn/ck/fmha_bwd.hpp
Outdated
Show resolved
Hide resolved
6ca22cc
to
dd7dfe9
Compare
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.
approved, pending CI
ca719d8
to
9c02e37
Compare
9c02e37
to
22ff165
Compare
Fixes issue that exhibited a device side memory access fault due to incorrect tensor life management
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd