Skip to content

Commit 351bec7

Browse files
authored
Fix typo on estimated_stepping_batches property (#19847)
1 parent 785f15d commit 351bec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightning/pytorch/trainer/trainer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,8 +1654,8 @@ def _results(self) -> Optional[_ResultCollection]:
16541654
def estimated_stepping_batches(self) -> Union[int, float]:
16551655
r"""The estimated number of batches that will ``optimizer.step()`` during training.
16561656
1657-
This accounts for gradient accumulation and the current trainer configuration. This might sets up your training
1658-
dataloader if hadn't been set up already.
1657+
This accounts for gradient accumulation and the current trainer configuration. This might be used when setting
1658+
up your training dataloader, if it hasn't been set up already.
16591659
16601660
.. code-block:: python
16611661

0 commit comments

Comments
 (0)