Skip to content

Commit

Permalink
add diloco rank
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Sep 30, 2024
1 parent e080641 commit 1c098b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeroband/utils/world_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __repr__(self):

@property
def diloco_rank(self):
return self.rank // self.local_world_size
return self.global_rank


def get_world_info() -> WorldInfo:
Expand Down

0 comments on commit 1c098b2

Please sign in to comment.