[UX] Format attention backend log line (#33570)

Signed-off-by: Matthew Bonanni <mbonanni@redhat.com>
This commit is contained in:
Matthew Bonanni
2026-02-02 13:57:12 -05:00
committed by GitHub
parent ffe1fc7a28
commit 5d1aef3004

View File

@@ -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",
)