Skip to content

Commit dbc3d99

Browse files
authored
[UX] Put CUDA attention backend selection log into one line (#29337)
Signed-off-by: mgoin <[email protected]>
1 parent 794029f commit dbc3d99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

vllm/platforms/cuda.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,18 +407,16 @@ def get_attn_backend_cls(
407407

408408
# We have found some valid backends. Select the one with the
409409
# highest priority.
410-
logger.info(
411-
"Valid backends: %s", [b[0].name for b in valid_backends_priorities]
412-
)
413410
sorted_indices = sorted(
414411
range(len(valid_backends_priorities)),
415412
key=lambda i: valid_backends_priorities[i][1],
416413
)
417414
selected_index = sorted_indices[0]
418415
selected_backend = valid_backends_priorities[selected_index][0]
419416
logger.info(
420-
"Using %s backend.",
417+
"Using %s attention backend out of potential backends: %s",
421418
selected_backend.name,
419+
[b[0].name for b in valid_backends_priorities],
422420
)
423421

424422
return selected_backend.get_path()

0 commit comments

Comments
 (0)