From 5d1aef3004f0e666c613d7edb37b1998d712c18a Mon Sep 17 00:00:00 2001 From: Matthew Bonanni Date: Mon, 2 Feb 2026 13:57:12 -0500 Subject: [PATCH] [UX] Format attention backend log line (#33570) Signed-off-by: Matthew Bonanni --- vllm/platforms/cuda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/platforms/cuda.py b/vllm/platforms/cuda.py index dbbd0876e..fbe791f8a 100644 --- a/vllm/platforms/cuda.py +++ b/vllm/platforms/cuda.py @@ -362,9 +362,9 @@ class CudaPlatformBase(Platform): selected_index = sorted_indices[0] selected_backend = valid_backends_priorities[selected_index][0] logger.info_once( - "Using %s attention backend out of potential backends: %s", + "Using %s attention backend out of potential backends: %s.", selected_backend.name, - tuple(b[0].name for b in valid_backends_priorities), + "[" + ", ".join(f"'{b[0].name}'" for b in valid_backends_priorities) + "]", scope="local", )