File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1107,10 +1107,10 @@ def validate_args(args, defaults={}):
11071107 assert args .moe_token_dispatcher_type != "flex" , "Fake process group is not supported with flex token dispatcher."
11081108 # Disable nan check for fake process group
11091109 args .check_for_nan_in_loss_and_grad = False
1110- print ( 'Warning: check_for_nan_in_loss_and_grad is set to False for fake process group.' )
1110+ warn_rank_0 ( ' check_for_nan_in_loss_and_grad is set to False for fake process group.' )
11111111 # Disable gloo process groups for fake process group
11121112 args .enable_gloo_process_groups = False
1113- print ( 'Warning: enable_gloo_process_groups is set to False for fake process group.' )
1113+ warn_rank_0 ( ' enable_gloo_process_groups is set to False for fake process group.' )
11141114
11151115 # Checkpointing
11161116 if args .ckpt_fully_parallel_save_deprecated and args .rank == 0 :
You can’t perform that action at this time.
0 commit comments