Skip to content

Commit

Permalink
Add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-alvarez committed Jul 25, 2024
1 parent 62e16d4 commit 8f62cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hi-ml-azure/src/health_azure/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ def torch_rank() -> Optional[int]:
return None
if distributed.is_available() and distributed.is_initialized():
return distributed.get_rank()

return None

def is_local_rank_zero() -> bool:
"""
Expand Down

0 comments on commit 8f62cb5

Please sign in to comment.