Skip to content

Commit

Permalink
Fix docstrings of on_fit_start/end Lightning-AI#12016
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellepintz authored Feb 21, 2022
1 parent f811284 commit d724465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytorch_lightning/trainer/callback_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def on_fit_start(self):
.. deprecated:: v1.6
`TrainerCallbackHookMixin.on_fit_start` was deprecated in v1.6 and will be removed in v1.8.
Called when the trainer initialization begins, model has not yet been set.
Called when fit begins.
"""
rank_zero_deprecation(
"`TrainerCallbackHookMixin.on_fit_start` was deprecated in v1.6 and will be removed in v1.8."
Expand All @@ -130,7 +130,7 @@ def on_fit_end(self):
.. deprecated:: v1.6
`TrainerCallbackHookMixin.on_fit_end` was deprecated in v1.6 and will be removed in v1.8.
Called when the trainer initialization begins, model has not yet been set.
Called when fit ends.
"""
rank_zero_deprecation(
"`TrainerCallbackHookMixin.on_fit_end` was deprecated in v1.6 and will be removed in v1.8."
Expand Down

0 comments on commit d724465

Please sign in to comment.