mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 08:04:58 +08:00
[UX] Put CUDA attention backend selection log into one line (#29337)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
794029f012
commit
dbc3d9991a
@ -407,9 +407,6 @@ class CudaPlatformBase(Platform):
|
||||
|
||||
# We have found some valid backends. Select the one with the
|
||||
# highest priority.
|
||||
logger.info(
|
||||
"Valid backends: %s", [b[0].name for b in valid_backends_priorities]
|
||||
)
|
||||
sorted_indices = sorted(
|
||||
range(len(valid_backends_priorities)),
|
||||
key=lambda i: valid_backends_priorities[i][1],
|
||||
@ -417,8 +414,9 @@ class CudaPlatformBase(Platform):
|
||||
selected_index = sorted_indices[0]
|
||||
selected_backend = valid_backends_priorities[selected_index][0]
|
||||
logger.info(
|
||||
"Using %s backend.",
|
||||
"Using %s attention backend out of potential backends: %s",
|
||||
selected_backend.name,
|
||||
[b[0].name for b in valid_backends_priorities],
|
||||
)
|
||||
|
||||
return selected_backend.get_path()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user