[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
@@ -45,7 +45,7 @@ def monitor_torch_compile(
|
||||
else:
|
||||
total_compile_time = time.perf_counter() - torch_compile_start_time
|
||||
if compilation_config.mode == CompilationMode.VLLM_COMPILE:
|
||||
logger.info_once(message, total_compile_time, scope="local")
|
||||
logger.info_once(message, total_compile_time)
|
||||
finally:
|
||||
if depyf_cm is not None:
|
||||
try:
|
||||
@@ -76,7 +76,6 @@ def monitor_profiling_run() -> Generator[None, None, None]:
|
||||
logger.info_once(
|
||||
"Initial profiling/warmup run took %.2f s",
|
||||
elapsed,
|
||||
scope="local",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user