Skip to content

Commit

Permalink
fix world size access
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Feb 11, 2021
1 parent 9e86ab8 commit 34f7a5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def master_port(self):
return default_port

def world_size(self):
return self._world_size
return None

def local_rank(self):
return int(os.environ['SLURM_LOCALID'])
Expand Down

0 comments on commit 34f7a5d

Please sign in to comment.