We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef11bd1 commit 5951c9aCopy full SHA for 5951c9a
1 file changed
tuning/trainercontroller/controllermetrics/per_process_state.py
@@ -74,4 +74,4 @@ def compute(self, _: TrainerState = None, **kwargs) -> Any:
74
"""
75
if torch.distributed.is_available() and torch.distributed.is_initialized():
76
return {"rank": torch.distributed.get_rank()}
77
- return {"rank": None}
+ return {"rank": 0}
0 commit comments