Repository navigation
Add attn sink - #2892
Merged
Merged
Add attn sink#2892
Conversation
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: JL-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
DDEle
reviewed
Sep 29, 2025
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
Signed-off-by: LJ-underdog <[email protected]>
poyenc
reviewed
Nov 18, 2025
poyenc
approved these changes
Nov 18, 2025
asleepzzz
reviewed
Nov 20, 2025
asleepzzz
left a comment
Contributor
There was a problem hiding this comment.
aiter side is not ready
asleepzzz
added a commit
that referenced
this pull request
Nov 20, 2025
This reverts commit 9fa4e8d.
Merged
illsilin
pushed a commit
that referenced
this pull request
Nov 20, 2025
AviralGoelAMD
pushed a commit
that referenced
this pull request
Nov 28, 2025
* enable attn sink Signed-off-by: JL-underdog <[email protected]> * update attn_sink script Signed-off-by: JL-underdog <[email protected]> * fix some error Signed-off-by: JL-underdog <[email protected]> * clang-format Signed-off-by: JL-underdog <[email protected]> * update fmha_bwd mask Signed-off-by: JL-underdog <[email protected]> * update fmha_bwd_kernel'mask Signed-off-by: JL-underdog <[email protected]> * update block_fmha_pipeline_qr_ks_vs.hpp Signed-off-by: JL-underdog <[email protected]> * fix ci error Signed-off-by: LJ-underdog <[email protected]> * fix format error Signed-off-by: LJ-underdog <[email protected]> * Update block_fmha_bwd_pipeline_default_policy.hpp * Update fmha_fwd_runner.hpp * Update block_fmha_batch_prefill_pipeline_qr_ks_vs_async.hpp * Update fmha_fwd_runner.hpp * Update fmha_fwd_runner.hpp * Update fmha_fwd_runner.hpp * update splitkv_pipline Signed-off-by: LJ-underdog <[email protected]> * update splitkv&pagedkv pipeline Signed-off-by: LJ-underdog <[email protected]> * add sink test Signed-off-by: LJ-underdog <[email protected]> * update attn_sink result log Signed-off-by: LJ-underdog <[email protected]> * update smoke_test_fwd_sink.sh Signed-off-by: LJ-underdog <[email protected]> * update test file Signed-off-by: LJ-underdog <[email protected]> * update test script Signed-off-by: LJ-underdog <[email protected]> * Update block_fmha_fwd_splitkv_pipeline_qr_ks_vs.hpp * use constexpr kHasSink for sink in fmha pipeline Signed-off-by: Linjun-AMD <[email protected]> * update by pre-commit Signed-off-by: Linjun-AMD <[email protected]> * Update include/ck_tile/ops/fmha/pipeline/block_fmha_pipeline_qr_ks_vs.hpp Co-authored-by: Copilot <[email protected]> * Update include/ck_tile/ops/fmha/pipeline/block_fmha_pipeline_qr_ks_vs.hpp Co-authored-by: Copilot <[email protected]> * Update include/ck_tile/ops/fmha/kernel/fmha_fwd_pagedkv_kernel.hpp Co-authored-by: Copilot <[email protected]> * Update fmha_fwd.py * Update example/ck_tile/01_fmha/codegen/ops/fmha_fwd_splitkv.py Co-authored-by: Copilot <[email protected]> * Update include/ck_tile/ops/fmha/pipeline/block_fmha_fwd_splitkv_pipeline_nwarp_sshuffle_qr_ks_vs.hpp Co-authored-by: Copilot <[email protected]> * Remove causal mask setting logic from mask.hpp Removed the mask setting logic for causal masks. * fix ci error that some usage of lamada not support in c++17 Signed-off-by: LJ-underdog <[email protected]> * Update remod.py * add smoke sink test Signed-off-by: LJ-underdog <[email protected]> * Update fmha_pagedkv_prefill.py * Update FmhaFwdPipeline parameters in fmha_fwd.py * update block_fmha_pipeline_qr_ks_vs_async_trload.hpp Signed-off-by: LJ-underdog <[email protected]> * fix c++17 unsupprot error Signed-off-by: LJ-underdog <[email protected]> * Update block_fmha_fwd_pagedkv_pipeline_qr_ks_vs.hpp * Fix formatting of sink_seq_end assignment * Fix indentation for sink_seq_end assignment * Update block_fmha_fwd_pagedkv_pipeline_qr_ks_vs.hpp --------- Signed-off-by: JL-underdog <[email protected]> Signed-off-by: LJ-underdog <[email protected]> Signed-off-by: Linjun-AMD <[email protected]> Co-authored-by: Copilot <[email protected]>
AviralGoelAMD
pushed a commit
that referenced
this pull request
Nov 28, 2025
LJ-underdog
added a commit
that referenced
this pull request
Dec 8, 2025
7 tasks done
LJ-underdog
added a commit
that referenced
this pull request
Dec 15, 2025
* Revert "Revert "Add attn sink (#2892)" (#3250)" This reverts commit 5adaa20. * fix conflict Signed-off-by: Linjun-AMD <[email protected]> * Add F_sink parameter to FmhaFwdPipeline * Update tile_fmha_traits.hpp * Refactor pipeline creation in fmha_fwd.py Updated the pipeline creation logic to include 'sink' parameter in product combinations and adjusted the FmhaFwdPipeline calls accordingly. * Update fmha_fwd.py * Update fmha_fwd.py * Update example/ck_tile/01_fmha/script/correct_test_fwd_sink.sh Co-authored-by: Copilot <[email protected]> * update CHANGELOG.md Signed-off-by: Linjun-AMD <[email protected]> * Update CHANGELOG with new features and support * Update fmha_fwd.hpp * Update CHANGELOG.md * Update smoke_test_fwd_sink.sh * Update correct_test_fwd_sink.sh * Update smoke_test_fwd_sink.sh --------- Signed-off-by: Linjun-AMD <[email protected]> Co-authored-by: Copilot <[email protected]>
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.
Proposed changes
Please describe the motivation behind the pull request, whether it enables a new feature or fixes a bug. If there are associated pull requests or issues, please link them to the pull request.
Checklist
Please put an
xinto the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.clang-formaton all changed filesDiscussion
If this is a relatively large or complex change, feel free to start a discussion by explaining why you chose the solution you did and what alternatives you considered