Skip to content

Commit 609b258

Browse files
authored
Fix typo 'wether' (#15710)
1 parent b40ca0e commit 609b258

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source-pytorch/starter/lightning_lite.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ You can also easily use distributed collectives if required.
169169
# The index of the current node.
170170
lite.node_rank
171171
172-
# Wether this global rank is rank zero.
172+
# Whether this global rank is rank zero.
173173
if lite.is_global_zero:
174174
# do something on rank 0
175175
...

src/lightning_lite/lite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def world_size(self) -> int:
135135

136136
@property
137137
def is_global_zero(self) -> bool:
138-
"""Wether this rank is rank zero."""
138+
"""Whether this rank is rank zero."""
139139
return self._strategy.is_global_zero
140140

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

0 commit comments

Comments
 (0)