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
49d96538
Unverified
Commit
49d96538
authored
Jan 21, 2026
by
Divakar Verma
Committed by
GitHub
Jan 22, 2026
Browse files
[ROCm][CI] fix get_valid_backends (#32787)
Signed-off-by:
Divakar Verma
<
divakar.verma@amd.com
>
parent
a1d82466
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
tests/v1/spec_decode/test_acceptance_length.py
tests/v1/spec_decode/test_acceptance_length.py
+8
-2
No files found.
tests/v1/spec_decode/test_acceptance_length.py
View file @
49d96538
...
...
@@ -83,8 +83,14 @@ EXCLUDED_BACKENDS = {AttentionBackendEnum.FLEX_ATTENTION}
def
get_available_attention_backends
()
->
list
[
str
]:
if
not
hasattr
(
current_platform
,
"get_valid_backends"
):
return
[
"FLASH_ATTN"
]
# Check if get_valid_backends is actually defined in the platform class
# (not just returning None from __getattr__)
get_valid_backends
=
getattr
(
current_platform
.
__class__
,
"get_valid_backends"
,
None
)
if
get_valid_backends
is
None
:
if
current_platform
.
is_rocm
():
return
[
"TRITON_ATTN"
]
else
:
return
[
"FLASH_ATTN"
]
device_capability
=
current_platform
.
get_device_capability
()
if
device_capability
is
None
:
...
...
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