-
Notifications
You must be signed in to change notification settings - Fork 572
[Triton/Gluon] [ASM] [HIP] MHA v4: fixes, refactor, new kernel, perf tweaks #5335
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 all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
8dfd945
feat(mha_v4): add BF16 FP8 attention
jcaraban 8efb5d6
perf(mha_v4): refine BF16 kernel tails
jcaraban 5ef43b6
refresh bf16fp8 and mxfp8 binaries with minor perf/quality improvements
jcaraban 1794b2e
feat(mha_v4): integrate sorted sparse kernels
jcaraban 0055212
feat(mha_v4): add packed V layouts for fp6 probabilities
jcaraban 79d6b99
feat(mha_v4): add fp4 v packing for fp6 p
jcaraban eba8349
refactor(mha_v4): promote packed v pack option
jcaraban 8b5c5f0
perf(mha_v4): promote fp6 probabilities to f8f6
jcaraban f2742ec
refactor(bench): simplify SAGE attention benchmark
jcaraban 41fd172
perf(mha_v4): refresh FP8 and MXFP8 binaries
jcaraban 09a122d
test(mha_v4): compare sparse kernels numerically
jcaraban 4df45a5
refactor(mha_v4): separate quantization producers
jcaraban da341a5
perf(mha_v4): promote dense f4f4 to fp6 probabilities
jcaraban 202b02b
docs(mha_v4): simplify entrypoint reference
jcaraban 1e45b2e
fix(mha_v4): pad speculative MXFP4 scale reads
jcaraban 64a1a86
perf(mha_v4): promote dense f6f4 to fp6 probabilities
jcaraban 0e1025d
perf(mha_v4): refresh gfx950 kernel binaries
jcaraban 3be7104
feat(mha_v4): add dense f6666 recipe
jcaraban 1800aa6
refactor(mha_v4): align FP6 recipe names
jcaraban 37962c5
perf(mha_v4): update dense MXFP4 V kernel
jcaraban 92d3e22
refactor(mha_v4): centralize recipe planning
jcaraban 8a5de82
style(mha_v4): format Python sources
jcaraban 4225956
Merge remote-tracking branch 'origin/main' into mha_v4_bf16
jcaraban 4b73ed9
refactor(mha_v4): drop redundant torch fp6-p packer
jcaraban b8cf706
test(mha_v4): add benchmark entrypoint
jcaraban 6a71825
fix(mha_v4): back E8M0 scale tensors with the rows the ASM gathers
jcaraban 5011e50
docs(sparse): record the speculative LUT read contract
jcaraban 2ef3e83
test(mha_v4): require exact eager/compile parity for BF16 FP8
jcaraban c50e3ba
test(mha_v4): assert the FP6-P MXFP6 V trailing slack
jcaraban 76b579b
feat(mha_v4): restore mha_v4_mxfp8 as a deprecated alias
jcaraban 86b9591
fix(mha_v4): validate MX scale backing storage before launch
jcaraban c7c6811
fix(mha_v4): back MXFP4 V scales with the tiles the gather reads
jcaraban 7a5ab81
fix(mha_v4): give the sparse work table fake the caller's device
jcaraban 929e247
fix(mha_v4): reject kernarg strides that do not fit their 32-bit slots
jcaraban d50f127
Merge branch 'main' into mha_v4_bf16
Boss2002n 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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.