[Refactor] Clean up log once scope="local" (#40540)
Signed-off-by: yewentao256 <zhyanwentao@126.com> Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
parent
cfa49213d7
commit
8f87eb4622
@@ -369,7 +369,6 @@ class CudaPlatformBase(Platform):
|
||||
"Using %s attention backend out of potential backends: %s.",
|
||||
selected_backend.name,
|
||||
"[" + ", ".join(f"'{b[0].name}'" for b in valid_backends_priorities) + "]",
|
||||
scope="local",
|
||||
)
|
||||
|
||||
return selected_backend.get_path()
|
||||
@@ -423,7 +422,6 @@ class CudaPlatformBase(Platform):
|
||||
if is_backend_supported:
|
||||
logger.info_once(
|
||||
f"Using backend {vit_attn_backend} for vit attention",
|
||||
scope="local",
|
||||
)
|
||||
return vit_attn_backend
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user