Repository navigation
Add some AITER kernel routing for ROCm - #46268
Merged
Merged
Conversation
Abdennacer-Badaoui
marked this pull request as draft
May 28, 2026 17:15
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Abdennacer-Badaoui
force-pushed
the
some-rocm-kernels
branch
from
June 2, 2026 17:25
15efed5 to
a43d58f
Compare
Abdennacer-Badaoui
marked this pull request as ready for review
June 4, 2026 15:21
vasqu
reviewed
Jun 4, 2026
vasqu
left a comment
Collaborator
There was a problem hiding this comment.
Very nice work! I just have a few smaller questions / suggestions
Abdennacer-Badaoui
force-pushed
the
some-rocm-kernels
branch
from
June 4, 2026 16:15
b8bf8f1 to
857dae5
Compare
Contributor
|
View the CircleCI Test Summary for this PR: https://huggingface.co/spaces/transformers-community/circle-ci-viz?pr=46268&sha=5ba56a |
Collaborator
|
@Abdennacer-Badaoui time to sync with main. Can you readjust? Then I would merge afterwards 🫡 |
Abdennacer-Badaoui
force-pushed
the
some-rocm-kernels
branch
from
June 17, 2026 17:19
5ba56ad to
8ad82c8
Compare
Member
Author
|
Yes, I’m done. If you don't have any additional comments or concerns, we can merge it. |
vasqu
enabled auto-merge
June 17, 2026 17:25
Collaborator
|
Nope looks good, adding it to the queue |
Merged
stevhliu
pushed a commit
to stevhliu/transformers
that referenced
this pull request
Jul 30, 2026
* use kernels-community/megablocks for rocm * add aiter-rope rocm mapping * add aiter-flash-attn rocm fallback for FA3 * resolve_kernel_device_type for rocm
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.
Routes ROCm to AITER Triton kernels on AMD GPUs:
flash_attention_3→kernels-community/aiter-flash-attnmegablocks→kernels-community/megablocksnow has rocm builds.rotary_pos_emb→kernels-community/aiter-ropeLonger-term goal: ship the full AITER in Kernels (same model as
liger-kernels) rather than one repo per kernel. We're starting withaiter-ropeandaiter-flash-attnbecause those are the two we need in transformers right now.