We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b40ca0e commit 609b258Copy full SHA for 609b258
docs/source-pytorch/starter/lightning_lite.rst
@@ -169,7 +169,7 @@ You can also easily use distributed collectives if required.
169
# The index of the current node.
170
lite.node_rank
171
172
- # Wether this global rank is rank zero.
+ # Whether this global rank is rank zero.
173
if lite.is_global_zero:
174
# do something on rank 0
175
...
src/lightning_lite/lite.py
@@ -135,7 +135,7 @@ def world_size(self) -> int:
135
136
@property
137
def is_global_zero(self) -> bool:
138
- """Wether this rank is rank zero."""
+ """Whether this rank is rank zero."""
139
return self._strategy.is_global_zero
140
141
def run(self, *args: Any, **kwargs: Any) -> Any:
0 commit comments