docs: update cuDNN sliding window attention support#2624
Open
sbhavani wants to merge 3 commits intoNVIDIA:mainfrom
Open
docs: update cuDNN sliding window attention support#2624sbhavani wants to merge 3 commits intoNVIDIA:mainfrom
sbhavani wants to merge 3 commits intoNVIDIA:mainfrom
Conversation
Update documentation to reflect that cuDNN now supports causal sliding window attention (SWA) starting from version 9.2+. Changes: - Updated backend support matrix table to show cuDNN supports SWA (cuDNN 9.2+, causal masks only) - Added SWA comparison between flash-attention and cuDNN in section 1.3 - Added clarifying note in cp_ag_thd_dpa_jax_deep_dive.ipynb that cuDNN supports SWA but not all striping patterns for context parallelism Technical details: - cuDNN 9.2+: Supports causal SWA with window_size=(left, 0) - cuDNN 9.6+: Enhanced support for asymmetric windows (left, right) - Constraints: Requires dropout=0.0 and bias_type="no_bias" - Only works with causal mask types Signed-off-by: Santosh Bhavani <santosh.bhavani@live.com>
Contributor
Greptile SummaryUpdated documentation to reflect cuDNN's sliding window attention (SWA) support added in version 9.2+. Changes Made
Review NotesThe documentation changes are accurate and well-aligned with the codebase. Test files confirm cuDNN 9.2.1+ requirement for SWA tests, and code comments validate the causal mask restriction for cuDNN SWA support. Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 251e6b2 |
cyanguwa
reviewed
Feb 24, 2026
cyanguwa
reviewed
Feb 24, 2026
cyanguwa
reviewed
Feb 24, 2026
cyanguwa
requested changes
Feb 24, 2026
Signed-off-by: Santosh Bhavani <santosh.bhavani@live.com>
edc84ae to
251e6b2
Compare
cyanguwa
approved these changes
Mar 3, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Update documentation to reflect that cuDNN now supports causal sliding window attention (SWA) starting from version 9.2+.
Type of change
Changes
Please list the changes introduced in this PR:
Changes:
Checklist: