-
Notifications
You must be signed in to change notification settings - Fork 24.1k
[cuDNN][SDPA] cuDNN SDPA refactor/cleanup, nested tensor backward, test priority bump for sm90
, sm100
#149282
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/149282
Note: Links to docs will display an error until the docs builds have been completed. ❌ 15 New Failures, 1 Unrelated FailureAs of commit 7b6fd2d with merge base b027cb8 ( NEW FAILURES - The following jobs have failed:
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@pytorchmergebot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
@pytorchmergebot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
ac66884
to
f7c76b8
Compare
|
} | ||
auto workspace_size = mha_graph->get_workspace_size(); | ||
auto workspace_ptr = | ||
c10::cuda::CUDACachingAllocator::get()->allocate(workspace_size); | ||
TORCH_CHECK( | ||
mha_graph->execute(handle, variant_pack, workspace_ptr.get()).is_good()); | ||
mhagraphcache.update(key, graph_and_tensors_values); | ||
mhagraphcache.update(key, mha_graph); |
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.
The update method for mhagraphcache should probably use perfect forward up where the update method is defined instead of an lref. And throughout the file should be to remove extra copies.
mhagraphcache.update(key, mha_graph); | |
mhagraphcache.update(key, std::move(mha_graph)); |
sm90
, sm100
cleanup tuple/tensor boilerplate in cuDNN SDPA, preparation for nested/ragged tensor backward