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
794ae1f5
Unverified
Commit
794ae1f5
authored
May 28, 2025
by
fxmarty-amd
Committed by
GitHub
May 27, 2025
Browse files
[rocm] Fix wrong attention log (#18764)
Signed-off-by:
Felix Marty
<
felmarty@amd.com
>
parent
d73a9457
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vllm/platforms/rocm.py
vllm/platforms/rocm.py
+3
-2
No files found.
vllm/platforms/rocm.py
View file @
794ae1f5
...
...
@@ -194,8 +194,9 @@ class RocmPlatform(Platform):
f
" The selected backend,
{
selected_backend
.
name
}
,"
f
"is not MLA type while requested for MLA backend."
)
selected_backend
=
(
_Backend
.
ROCM_FLASH
if
selected_backend
==
_Backend
.
FLASH_ATTN
else
selected_backend
)
if
selected_backend
is
None
or
selected_backend
==
_Backend
.
FLASH_ATTN
:
selected_backend
=
_Backend
.
ROCM_FLASH
if
envs
.
VLLM_USE_V1
:
logger
.
info
(
"Using Triton Attention backend on V1 engine."
)
return
(
"vllm.v1.attention.backends."
...
...
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