Skip to content

Commit ab619cd

Browse files
authored
Fix Typo in TBPTT Documentation and Improve Trainer Docstring (#20897)
1 parent aebf3f4 commit ab619cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source-pytorch/common/tbptt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Truncated Backpropagation Through Time (TBPTT)
33
##############################################
44

5-
Truncated Backpropagation Through Time (TBPTT) performs backpropogation every k steps of
5+
Truncated Backpropagation Through Time (TBPTT) performs backpropagation every k steps of
66
a much longer sequence. This is made possible by passing training batches
77
split along the time-dimensions into splits of size k to the
88
``training_step``. In order to keep the same forward propagation behavior, all

examples/fabric/build_your_own_trainer/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
checkpoint_dir: str = "./checkpoints",
3636
checkpoint_frequency: int = 1,
3737
) -> None:
38-
"""Exemplary Trainer with Fabric. This is a very simple trainer focused on readablity but with reduced
38+
"""Exemplary Trainer with Fabric. This is a very simple trainer focused on readability but with reduced
3939
featureset. As a trainer with more included features, we recommend using the
4040
:class:`lightning.pytorch.Trainer`.
4141

0 commit comments

Comments
 (0)