Repository navigation
Conversation
This was referenced Jun 6, 2026
Author
|
Downstream tracking issue: SandAI-org/MagiAttention#321 SM120 implementation-reference follow-up: NVIDIA/cutlass#3030 (comment) |
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.
Summary
Add an initial inference-only forward path for NVIDIA Blackwell GeForce / GB10
(
sm120/sm121) toflash_attn_cute.The current SM100 path uses tcgen05 instructions, which are not available on
GB10. This draft instead reuses the existing SM80-style CpAsync + warp-level
mma.syncforward implementation, matching the instruction strategy validatedby NVIDIA/cutlass#3030.
Initial scope
Not supported yet
sequsedChanges
FlashAttentionForwardSm120, selecting the CpAsync / warp MMA implementationValidation
python -m compileall -q flash_attn/cute tests/cute/test_flash_attn_sm120.pygit diff --checkThe SM120/SM121 tests require real hardware and have not been executed in the
Windows authoring environment. I have access to a GB10 system for follow-up
validation. This is intentionally a draft until it compiles and passes
correctness tests on GB10.
Related implementation reference: NVIDIA/cutlass#3030
Related downstream: SandAI-org/MagiAttention FFA_FA4 and NVIDIA LocateAnything-3B inference