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
23f39c5b
Commit
23f39c5b
authored
Nov 14, 2025
by
zhuwenwen
Browse files
add use_sparse
parent
70764a8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vllm/platforms/rocm.py
vllm/platforms/rocm.py
+3
-3
No files found.
vllm/platforms/rocm.py
View file @
23f39c5b
...
...
@@ -215,9 +215,9 @@ class RocmPlatform(Platform):
def
get_attn_backend_cls
(
cls
,
selected_backend
,
head_size
,
dtype
,
kv_cache_dtype
,
block_size
,
use_v1
,
use_mla
,
has_sink
,
use_sparse
)
->
str
:
if
use_sparse
:
raise
NotImplementedError
(
"Sparse Attention is not supported on ROCm."
)
#
if use_sparse:
#
raise NotImplementedError(
#
"Sparse Attention is not supported on ROCm.")
if
use_mla
:
if
not
use_v1
:
raise
RuntimeError
(
...
...
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