[Log] Optimize startup log (#28948)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
Co-authored-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Wentao Ye
2025-11-21 11:46:20 -05:00
committed by GitHub
parent b7f1f490a6
commit a42ab317ac
4 changed files with 26 additions and 18 deletions

View File

@@ -872,8 +872,10 @@ def get_moe_configs(
for config_file_path in config_file_paths:
if os.path.exists(config_file_path):
with open(config_file_path) as f:
logger.info(
"Using configuration from %s for MoE layer.", config_file_path
logger.info_once(
"Using configuration from %s for MoE layer.",
config_file_path,
scope="global",
)
# If a configuration has been found, return it
tuned_config = json.load(f)