Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
de253d63
Unverified
Commit
de253d63
authored
Oct 09, 2025
by
Matt
Committed by
GitHub
Oct 09, 2025
Browse files
[Hardware][AMD] Enable FlexAttention backend on ROCm (#26439)
Signed-off-by:
Matthew Wong
<
Matthew.Wong2@amd.com
>
parent
8bd696fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/platforms/rocm.py
vllm/platforms/rocm.py
+3
-0
No files found.
vllm/platforms/rocm.py
View file @
de253d63
...
...
@@ -276,6 +276,9 @@ class RocmPlatform(Platform):
)
if
envs
.
VLLM_USE_V1
:
if
selected_backend
==
_Backend
.
FLEX_ATTENTION
:
logger
.
info
(
"Using FlexAttention backend on V1 engine."
)
return
"vllm.v1.attention.backends.flex_attention.FlexAttentionBackend"
if
(
envs
.
VLLM_ROCM_USE_AITER
and
envs
.
VLLM_ROCM_USE_AITER_MHA
and
on_gfx9
()
)
or
selected_backend
==
_Backend
.
ROCM_AITER_FA
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment