-
Notifications
You must be signed in to change notification settings - Fork 849
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
51
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
51 commits
Select commit
Hold shift + click to select a range
7765b76
feat(attention): cuDNN FROST kernel wrapper for head_dim in (256, 512]
nvegesna-netizen 3319826
feat(attention): select and dispatch FrostAttention from DotProductAt…
nvegesna-netizen d60b3fd
feat(attention): context parallelism for FROST across p2p, all_gather…
nvegesna-netizen 62ffe39
test(attention): CP coverage for FrostAttention at head_dim 512
nvegesna-netizen fe72e4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a8957ae
test(attention): run the FrostAttention CP configs from pytest
nvegesna-netizen bdbb36a
fix(attention): gate FROST on the cuDNN Frontend version and key plan…
nvegesna-netizen e30ea42
fix(attention): repair the FROST plan-cache key arity and harden the …
nvegesna-netizen 0957f71
fix(attention): reject a v that does not match k, and refine the vers…
nvegesna-netizen 438b4da
fix(attention): update the mixed-THD backend unpack for the new retur…
nvegesna-netizen c0d0713
fix(attention): bind a cuDNN stream and close the remaining silent-wr…
nvegesna-netizen 7504bff
fix(attention): JIT-compile FROST plans under the device their handle…
nvegesna-netizen 85a0f51
test(attention): anchor FROST numerics to an fp32 reference, not to i…
nvegesna-netizen c5f9cd2
feat(attention): honour deterministic on the FROST path, and document…
nvegesna-netizen a97496e
docs(attention): scope the FROST exclusivity claim to context paralle…
nvegesna-netizen 5a675c2
fix(attention): drop a duplicate deterministic parameter on the fused…
nvegesna-netizen e82981f
fix(attention): decline FROST when determinism is required
nvegesna-netizen 3edba85
test(attention): make the FROST oracle float64, since an fp32 one is …
nvegesna-netizen 064396e
feat(attention): express FROST masking as a diagonal band, adding sli…
nvegesna-netizen 441dee4
fix(attention): carry the sliding window through a2a, and decline it …
nvegesna-netizen 9770ca5
test(attention): cover the sliding window in backward, at its boundar…
nvegesna-netizen ad9dfdc
fix(attention): let the CP sliding-window asserts know FROST exists
nvegesna-netizen 3eea2f9
docs(attention): correct the claimed cuDNN import-ordering hazard
nvegesna-netizen e062e8d
test(attention): apply the window for every mask type in the reference
nvegesna-netizen dd0033c
docs(attention): justify the p2p sliding-window decline from the ring…
nvegesna-netizen a82903b
fix(attention): bind the FROST flag on the ONNX path, decline what wa…
nvegesna-netizen 591955d
fix(attention): read qkv_type from attention_params, not the rebound …
nvegesna-netizen 6832a9b
test(attention): cover the ONNX-export branch on hardware that can ru…
nvegesna-netizen ca6c95a
feat(attention): allow FrostAttention with cp_comm_type=a2a+p2p
nvegesna-netizen b4cdcb4
fix(attention): handle a list-valued cp_group in FrostAttention.forward
nvegesna-netizen 9a8b474
test(attention): cover fp16 in the backward and under context paralle…
nvegesna-netizen 9790575
docs(attention): narrow the FrostAttention availability claim
nvegesna-netizen 9a548fb
docs(attention): mark FrostAttention experimental and trim review com…
nvegesna-netizen fe34dcc
docs(attention): mark the FrostAttention backend experimental in envvars
nvegesna-netizen 9cc5a40
Merge branch 'main' into nvegesna/te-frost-d512-cp
nvegesna-netizen c5d8825
Merge remote-tracking branch 'origin/main' into nvegesna/te-frost-d51…
nvegesna-netizen 7bbccff
refactor(attention): extract the shared cuDNN pygraph plumbing
nvegesna-netizen 42fa333
feat(attention): let the flex cuDNN graphs carry a diagonal-band mask
nvegesna-netizen 084f528
fix(attention): stop preparing the FROST graphs twice
nvegesna-netizen 1f43e88
fix(attention): keep the flex builder call shape, and frost's cudnn h…
nvegesna-netizen 469bad9
fix(attention): enable the FROST engines whichever backend imports cu…
nvegesna-netizen 626bde2
test(attention): cover the flex mask_spec path on CPU
nvegesna-netizen 40b8a2a
fix(attention): say why a pinned cuDNN engine declined the graph
nvegesna-netizen 812d475
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c981a0d
test(attention): skip the new cuDNN-frontend tests when the package i…
nvegesna-netizen 73a205b
fix(attention): stop flex graphs running on a FROST engine
nvegesna-netizen c46dffc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2cfd6ff
test(attention): skip the FROST switch test where it cannot detect an…
nvegesna-netizen 636d7a6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8ae1663
Merge branch 'main' into nvegesna/te-frost-d512-cp
nvegesna-netizen 69a253b
fix(attention): index the FROST p2p results by the alternating slot
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
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.