[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
@@ -92,9 +92,7 @@ class EPLBController:
|
||||
if not is_mixture_of_experts(model):
|
||||
return False
|
||||
|
||||
logger.info_once(
|
||||
"EPLB is enabled for model %s.", model_config.model, scope="local"
|
||||
)
|
||||
logger.info_once("EPLB is enabled for model %s.", model_config.model)
|
||||
assert self.state is not None
|
||||
self.state.add_model(model, model_config)
|
||||
self._has_registered_models = True
|
||||
|
||||
Reference in New Issue
Block a user