Repository navigation
[Attention] Use multiple subgroups for memory bound attention - #21363
Merged
Groverkss merged 2 commits intoJul 17, 2025
Merged
Conversation
41 of 45 tasks
Groverkss
marked this pull request as ready for review
July 14, 2025 17:01
Groverkss
requested review from
MaheshRavishankar,
kuhar and
qedawkins
as code owners
July 14, 2025 17:01
MaheshRavishankar
approved these changes
Jul 16, 2025
MaheshRavishankar
left a comment
Collaborator
There was a problem hiding this comment.
Stamping for now (cause I dont have context on the heuristics really, and it is a heuristic). Fine with addressing any feedback after the fact.
Groverkss
force-pushed
the
paged-attention-multi-subgroup
branch
from
July 17, 2025 13:51
257ba74 to
467acee
Compare
Groverkss
enabled auto-merge (squash)
July 17, 2025 13:52
IanWood1
pushed a commit
to IanWood1/iree
that referenced
this pull request
Jul 18, 2025
…rg#21363) Now that we properly support unaligned/dynamic shapes in vector distribute pipeline, add a configuration for attention to use multiple subgroups for memory bound attention. Verified on MI300-X for accuracy and a speedup of 2x for sequence length ~4096 (unaligned, dynamic).
AWoloszyn
pushed a commit
that referenced
this pull request
Dec 1, 2025
Now that we properly support unaligned/dynamic shapes in vector distribute pipeline, add a configuration for attention to use multiple subgroups for memory bound attention. Verified on MI300-X for accuracy and a speedup of 2x for sequence length ~4096 (unaligned, dynamic).
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.
Now that we properly support unaligned/dynamic shapes in vector distribute pipeline, add a configuration for attention to use multiple subgroups for memory bound attention.
Verified on MI300-X for accuracy and a speedup of 2x for sequence length ~4096 (unaligned, dynamic).