We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41b1662 commit 57fd859Copy full SHA for 57fd859
aiu_fms_testing_utils/scripts/drive_paged_programs.py
@@ -1397,8 +1397,10 @@ def main() -> None:
1397
distributed_kwargs: Dict[str, Any] = _get_distributed_kwargs(
1398
is_distributed=args.distributed, dist_timeout=args.dist_timeout
1399
)
1400
+ # Only rank0 does the "save" ==> Set bool=1. All other ranks get bool=0.
1401
+ # In case of single AIU ==> Only rank0 exists ==> Set bool=1 for rank0.
1402
args.save_validation_info_outputs = args.save_validation_info_outputs and (
- dist.get_rank() == 0
1403
+ dist.get_rank() == 0 if dist.is_initialized() else 1
1404
1405
model_config: DPPRunnerConfig = DPPRunnerConfig()
1406
world_size = (
0 commit comments