[Log] Optimize duplicate startup log (#33944)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-02-06 12:49:56 -05:00
committed by GitHub
parent 7bec435130
commit 67a746e87f
3 changed files with 10 additions and 7 deletions

View File

@@ -263,11 +263,12 @@ class CompilerManager:
now = time.time()
elapsed = now - compilation_start_time
compilation_config.compilation_time += elapsed
logger.info(
logger.info_once(
"Directly load the compiled graph(s) for compile range %s "
"from the cache, took %.3f s",
str(compile_range),
elapsed,
scope="local",
)
return compiled_graph