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
3b5567a2
Unverified
Commit
3b5567a2
authored
Feb 28, 2025
by
Woosuk Kwon
Committed by
GitHub
Mar 01, 2025
Browse files
[V1][Minor] Do not print attn backend twice (#13985)
Signed-off-by:
Woosuk Kwon
<
woosuk.kwon@berkeley.edu
>
parent
fdcc4053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
vllm/platforms/cuda.py
vllm/platforms/cuda.py
+4
-3
No files found.
vllm/platforms/cuda.py
View file @
3b5567a2
...
...
@@ -178,7 +178,8 @@ class CudaPlatformBase(Platform):
block_size
)
else
:
if
use_v1
:
logger
.
info
(
"Using FlashMLA backend on V1 engine."
)
logger
.
info_once
(
"Using FlashMLA backend on V1 engine."
)
return
(
"vllm.v1.attention.backends.mla."
"flashmla.FlashMLABackend"
)
else
:
...
...
@@ -187,14 +188,14 @@ class CudaPlatformBase(Platform):
"flashmla.FlashMLABackend"
)
if
use_v1
:
logger
.
info
(
"Using Triton MLA backend on V1 engine."
)
logger
.
info
_once
(
"Using Triton MLA backend on V1 engine."
)
return
(
"vllm.v1.attention.backends.mla."
"triton_mla.TritonMLABackend"
)
else
:
logger
.
info
(
"Using Triton MLA backend."
)
return
"vllm.attention.backends.triton_mla.TritonMLABackend"
if
use_v1
:
logger
.
info
(
"Using Flash Attention backend on V1 engine."
)
logger
.
info
_once
(
"Using Flash Attention backend on V1 engine."
)
return
(
"vllm.v1.attention.backends.flash_attn."
"FlashAttentionBackend"
)
if
selected_backend
==
_Backend
.
FLASHINFER
:
...
...
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