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
39d82005
Unverified
Commit
39d82005
authored
Jan 08, 2026
by
Rabi Mishra
Committed by
GitHub
Jan 08, 2026
Browse files
fix(rocm): add early return in get_flash_attn_version for ROCm (#31286)
Signed-off-by:
rabi
<
ramishra@redhat.com
>
parent
25eef3dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/attention/utils/fa_utils.py
vllm/attention/utils/fa_utils.py
+3
-0
No files found.
vllm/attention/utils/fa_utils.py
View file @
39d82005
...
@@ -40,6 +40,9 @@ def get_flash_attn_version(requires_alibi: bool = False) -> int | None:
...
@@ -40,6 +40,9 @@ def get_flash_attn_version(requires_alibi: bool = False) -> int | None:
if
current_platform
.
is_xpu
():
if
current_platform
.
is_xpu
():
return
2
return
2
if
current_platform
.
is_rocm
():
# ROCm doesn't use vllm_flash_attn; return None to skip fa_version arg
return
None
try
:
try
:
from
vllm.vllm_flash_attn.flash_attn_interface
import
(
from
vllm.vllm_flash_attn.flash_attn_interface
import
(
fa_version_unsupported_reason
,
fa_version_unsupported_reason
,
...
...
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