Repository navigation
[Triton/Gluon] [CI] [gfx942] Tuned sparse MLA prefill for DSv4.1-Flash TP4; fix attn_sink in Triton fallback #6002
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
c69f539
[Triton][gfx942] Faster sparse MLA prefill at <=16 heads; fix attn_si…
juuso-oskari 99004d7
Address review: scope gfx942 config, keep shared kernel guards, bound…
juuso-oskari 8af778b
Address auto-review: tuned-config JSON, empty pool, scale and out= ch…
juuso-oskari fdf34e9
Drop HAS_INVALID from the Triton kernel; out= test on every branch; b…
juuso-oskari 622d57a
Test out-of-pool slots, not only -1
juuso-oskari fd133e3
Merge remote-tracking branch 'origin/main' into jukorhon/gfx942-spars…
juuso-oskari b8e869b
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari a417225
Require a contiguous out= buffer
juuso-oskari 35c742e
Benchmark: give pa_prefill_sparse an empty extend source on gfx1250
juuso-oskari d96e50c
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 438a0c5
Validity check without a num_kv range assumption; keep int64 indices
juuso-oskari 69c3eeb
Do not load invalid KV rows; correct gfx950 slot-handling docs
juuso-oskari b95d0ac
Test the huge-pool validity check through the public wrapper
juuso-oskari 7e06aa7
Fix stale gather comments; vectorize bench CSR setup; update CI shard…
juuso-oskari c60b2ce
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari ee4390f
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 04db87b
Keep the existing (non-pinned) path on the original loop code
juuso-oskari c77568c
Find and remove the shared-loop regression instead of gating it
juuso-oskari 6258917
Triton branch: reject non-fp16/bf16 q and KV dtype mismatch; prefill-…
juuso-oskari 72cbb65
Merge remote-tracking branch 'origin/main' into jukorhon/gfx942-spars…
juuso-oskari 1b39eaf
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 69a74c4
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 9285b18
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 2def823
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 4f030c6
test(pa_prefill_sparse): single torch reference for one- and two-sour…
c78d7b0
Merge branch 'main' into jukorhon/gfx942-sparse-prefill
juuso-oskari 6adedeb
pa_prefill_sparse: address review (EVEN_H/EVEN_D split, quiet arch-ag…
juuso-oskari bbac59f
Merge remote-tracking branch 'origin/main' into jukorhon/gfx942-spars…
juuso-oskari 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
20 changes: 20 additions & 0 deletions
20
aiter/ops/triton/configs/gfx942/triton/attention/sparse_attention_dsv4/DEFAULT.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "_sparse_attn_prefill_kernel_H8_D512": { | ||
| "BLOCK_H": 16, | ||
| "BLOCK_K": 16, | ||
| "waves_per_eu": 1, | ||
| "matrix_instr_nonkdim": 16, | ||
| "kpack": 2, | ||
| "num_warps": 1, | ||
| "num_stages": 2 | ||
| }, | ||
| "_sparse_attn_prefill_kernel_H16_D512": { | ||
| "BLOCK_H": 16, | ||
| "BLOCK_K": 16, | ||
| "waves_per_eu": 1, | ||
| "matrix_instr_nonkdim": 16, | ||
| "kpack": 2, | ||
| "num_warps": 1, | ||
| "num_stages": 2 | ||
| } | ||
| } |
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.