Unverified Commit 5d1aef30 authored by Matthew Bonanni's avatar Matthew Bonanni Committed by GitHub
Browse files

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


Signed-off-by: default avatarMatthew Bonanni <mbonanni@redhat.com>
parent ffe1fc7a
...@@ -362,9 +362,9 @@ class CudaPlatformBase(Platform): ...@@ -362,9 +362,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_once( logger.info_once(
"Using %s attention backend out of potential backends: %s", "Using %s attention backend out of potential backends: %s.",
selected_backend.name, 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", scope="local",
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment