Skip to content

Conversation

@drisspg
Copy link
Collaborator

@drisspg drisspg commented Jan 5, 2026

drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 5, 2026
Adds score_mod and mask_mod support to SM90 backward pass:
- score_mod, score_mod_bwd, mask_mod, has_aux_tensors parameters
- apply_score_mod() and apply_score_mod_bwd() methods
- fastdiv_mods and aux_tensors plumbing through kernel/mma
- mask_mod application in mask_fn for both block-sparse and dense paths
- Score modification in mma_one_m_block before softmax

stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 5, 2026
Adds score_mod and mask_mod support to SM90 backward pass:
- score_mod, score_mod_bwd, mask_mod, has_aux_tensors parameters
- apply_score_mod() and apply_score_mod_bwd() methods
- fastdiv_mods and aux_tensors plumbing through kernel/mma
- mask_mod application in mask_fn for both block-sparse and dense paths
- Score modification in mma_one_m_block before softmax

stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 5, 2026
Adds score_mod and mask_mod support to SM90 backward pass:
- score_mod, score_mod_bwd, mask_mod, has_aux_tensors parameters
- apply_score_mod() and apply_score_mod_bwd() methods
- fastdiv_mods and aux_tensors plumbing through kernel/mma
- mask_mod application in mask_fn for both block-sparse and dense paths
- Score modification in mma_one_m_block before softmax

stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
@drisspg drisspg marked this pull request as draft January 5, 2026 05:42
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 5, 2026 05:42
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 5, 2026 05:42
@drisspg drisspg marked this pull request as ready for review January 5, 2026 05:43
stack-info: PR: #2137, branch: drisspg/stack/8
@drisspg drisspg marked this pull request as draft January 5, 2026 17:04
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 5, 2026 17:04
drisspg added a commit that referenced this pull request Jan 5, 2026
stack-info: PR: #2137, branch: drisspg/stack/8
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 5, 2026 17:04
@drisspg drisspg marked this pull request as ready for review January 5, 2026 17:04
@drisspg drisspg marked this pull request as draft January 5, 2026 19:08
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 9, 2026 23:19
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 9, 2026 23:19
@drisspg drisspg marked this pull request as ready for review January 9, 2026 23:20
@drisspg drisspg marked this pull request as draft January 9, 2026 23:24
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 9, 2026 23:24
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 9, 2026 23:24
@drisspg drisspg marked this pull request as ready for review January 9, 2026 23:24
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 9, 2026
stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
@drisspg drisspg marked this pull request as draft January 9, 2026 23:39
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 9, 2026 23:39
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 9, 2026 23:39
@drisspg drisspg marked this pull request as ready for review January 9, 2026 23:39
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 10, 2026
stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
@drisspg drisspg marked this pull request as draft January 10, 2026 00:29
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 10, 2026 00:29
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 10, 2026 00:29
@drisspg drisspg marked this pull request as ready for review January 10, 2026 00:29
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 10, 2026
stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
@drisspg drisspg marked this pull request as draft January 10, 2026 00:50
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 10, 2026 00:50
@drisspg drisspg changed the base branch from main to drisspg/stack/7 January 10, 2026 00:50
@drisspg drisspg marked this pull request as ready for review January 10, 2026 00:50
@drisspg drisspg changed the base branch from drisspg/stack/7 to main January 10, 2026 00:54
drisspg added a commit to drisspg/flash-attention that referenced this pull request Jan 10, 2026
stack-info: PR: Dao-AILab#2137, branch: drisspg/stack/8
@drisspg drisspg merged commit 844b10f into main Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants