[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
@@ -29,7 +29,6 @@ def _get_device_and_group(parallel_config: ParallelConfig):
|
||||
if parallel_config.disable_nccl_for_dp_synchronization:
|
||||
logger.info_once(
|
||||
"Using CPU all reduce to synchronize DP padding between ranks.",
|
||||
scope="local",
|
||||
)
|
||||
device = "cpu"
|
||||
group = get_dp_group().cpu_group
|
||||
|
||||
Reference in New Issue
Block a user