-
Notifications
You must be signed in to change notification settings - Fork 833
feat(attention): cuDNN FROST attention backend for head_dim in (256, 512], with context parallelism #3527
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
Open
nvegesna-netizen
wants to merge
35
commits into
NVIDIA:main
Choose a base branch
from
nvegesna-netizen:nvegesna/te-frost-d512-cp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat(attention): cuDNN FROST attention backend for head_dim in (256, 512], with context parallelism #3527
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
cdab664
feat(attention): cuDNN FROST kernel wrapper for head_dim in (256, 512]
nvegesna-netizen cf97f19
feat(attention): select and dispatch FrostAttention from DotProductAt…
nvegesna-netizen 9b79991
feat(attention): context parallelism for FROST across p2p, all_gather…
nvegesna-netizen 24713e1
test(attention): CP coverage for FrostAttention at head_dim 512
nvegesna-netizen bc15d3a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6631fcd
test(attention): run the FrostAttention CP configs from pytest
nvegesna-netizen 4381310
fix(attention): gate FROST on the cuDNN Frontend version and key plan…
nvegesna-netizen 4069bfa
fix(attention): repair the FROST plan-cache key arity and harden the …
nvegesna-netizen 3706931
fix(attention): reject a v that does not match k, and refine the vers…
nvegesna-netizen 02ac9c7
fix(attention): update the mixed-THD backend unpack for the new retur…
nvegesna-netizen 7755a05
fix(attention): bind a cuDNN stream and close the remaining silent-wr…
nvegesna-netizen 69d1741
fix(attention): JIT-compile FROST plans under the device their handle…
nvegesna-netizen 012a692
test(attention): anchor FROST numerics to an fp32 reference, not to i…
nvegesna-netizen f36a021
feat(attention): honour deterministic on the FROST path, and document…
nvegesna-netizen c47a0e5
docs(attention): scope the FROST exclusivity claim to context paralle…
nvegesna-netizen a82a74b
fix(attention): drop a duplicate deterministic parameter on the fused…
nvegesna-netizen f5f9593
fix(attention): decline FROST when determinism is required
nvegesna-netizen 685d190
test(attention): make the FROST oracle float64, since an fp32 one is …
nvegesna-netizen 0ef2fe6
feat(attention): express FROST masking as a diagonal band, adding sli…
nvegesna-netizen 839326c
fix(attention): carry the sliding window through a2a, and decline it …
nvegesna-netizen 99c0c1e
test(attention): cover the sliding window in backward, at its boundar…
nvegesna-netizen 8a0b2e2
fix(attention): let the CP sliding-window asserts know FROST exists
nvegesna-netizen f7de29a
docs(attention): correct the claimed cuDNN import-ordering hazard
nvegesna-netizen 74b31a9
test(attention): apply the window for every mask type in the reference
nvegesna-netizen 0133263
docs(attention): justify the p2p sliding-window decline from the ring…
nvegesna-netizen e7af980
fix(attention): bind the FROST flag on the ONNX path, decline what wa…
nvegesna-netizen d94220f
fix(attention): read qkv_type from attention_params, not the rebound …
nvegesna-netizen e5071de
test(attention): cover the ONNX-export branch on hardware that can ru…
nvegesna-netizen bcbad7c
feat(attention): allow FrostAttention with cp_comm_type=a2a+p2p
nvegesna-netizen edd82de
fix(attention): handle a list-valued cp_group in FrostAttention.forward
nvegesna-netizen 3429a6f
test(attention): cover fp16 in the backward and under context paralle…
nvegesna-netizen 9bb63c3
docs(attention): narrow the FrostAttention availability claim
nvegesna-netizen 3029dc5
docs(attention): mark FrostAttention experimental and trim review com…
nvegesna-netizen d260f11
docs(attention): mark the FrostAttention backend experimental in envvars
nvegesna-netizen 4d10f2d
Merge branch 'main' into nvegesna/te-frost-d512-cp
nvegesna-netizen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.