Skip to content

Commit 76ddc7f

Browse files
committed
Fixed placeholder comment.
1 parent 8e4d7e1 commit 76ddc7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nvidia_resiliency_ext/fault_tolerance/_ft_rendezvous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def _add_to_participants(self) -> None:
795795

796796
# The ranks of the participants will be set once the rendezvous is
797797
# complete. If use_infra_group_rank is enabled, store the infrastructure
798-
# rank (SLURM_PROCID or GROUP_RANK) here; otherwise, use placeholder 0.
798+
# rank (SLURM_PROCID or GROUP_RANK) here; otherwise, use placeholder -1.
799799
if self._settings.use_infra_group_rank:
800800
# Try SLURM_PROCID first (set by SLURM), then fall back to GROUP_RANK (set by launcher)
801801
infra_rank_str = os.getenv('SLURM_PROCID', os.getenv('GROUP_RANK', '-1'))

0 commit comments

Comments
 (0)