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
dbc3d999
Unverified
Commit
dbc3d999
authored
Nov 25, 2025
by
Michael Goin
Committed by
GitHub
Nov 25, 2025
Browse files
[UX] Put CUDA attention backend selection log into one line (#29337)
Signed-off-by:
mgoin
<
mgoin64@gmail.com
>
parent
794029f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vllm/platforms/cuda.py
vllm/platforms/cuda.py
+2
-4
No files found.
vllm/platforms/cuda.py
View file @
dbc3d999
...
@@ -407,9 +407,6 @@ class CudaPlatformBase(Platform):
...
@@ -407,9 +407,6 @@ class CudaPlatformBase(Platform):
# We have found some valid backends. Select the one with the
# We have found some valid backends. Select the one with the
# highest priority.
# highest priority.
logger
.
info
(
"Valid backends: %s"
,
[
b
[
0
].
name
for
b
in
valid_backends_priorities
]
)
sorted_indices
=
sorted
(
sorted_indices
=
sorted
(
range
(
len
(
valid_backends_priorities
)),
range
(
len
(
valid_backends_priorities
)),
key
=
lambda
i
:
valid_backends_priorities
[
i
][
1
],
key
=
lambda
i
:
valid_backends_priorities
[
i
][
1
],
...
@@ -417,8 +414,9 @@ class CudaPlatformBase(Platform):
...
@@ -417,8 +414,9 @@ class CudaPlatformBase(Platform):
selected_index
=
sorted_indices
[
0
]
selected_index
=
sorted_indices
[
0
]
selected_backend
=
valid_backends_priorities
[
selected_index
][
0
]
selected_backend
=
valid_backends_priorities
[
selected_index
][
0
]
logger
.
info
(
logger
.
info
(
"Using %s
backend.
"
,
"Using %s
attention backend out of potential backends: %s
"
,
selected_backend
.
name
,
selected_backend
.
name
,
[
b
[
0
].
name
for
b
in
valid_backends_priorities
],
)
)
return
selected_backend
.
get_path
()
return
selected_backend
.
get_path
()
...
...
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