Skip to content

Commit

Permalink
Fix typo 'wether' (#15710)
Browse files Browse the repository at this point in the history
  • Loading branch information
dymil committed Nov 17, 2022
1 parent b40ca0e commit 609b258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source-pytorch/starter/lightning_lite.rst
Expand Up @@ -169,7 +169,7 @@ You can also easily use distributed collectives if required.
# The index of the current node.
lite.node_rank
# Wether this global rank is rank zero.
# Whether this global rank is rank zero.
if lite.is_global_zero:
# do something on rank 0
...
Expand Down
2 changes: 1 addition & 1 deletion src/lightning_lite/lite.py
Expand Up @@ -135,7 +135,7 @@ def world_size(self) -> int:

@property
def is_global_zero(self) -> bool:
"""Wether this rank is rank zero."""
"""Whether this rank is rank zero."""
return self._strategy.is_global_zero

def run(self, *args: Any, **kwargs: Any) -> Any:
Expand Down

0 comments on commit 609b258

Please sign in to comment.