Skip to content

Commit

Permalink
fix comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
four4fish committed Oct 12, 2021
1 parent c3a8c81 commit ed38903
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pytorch_lightning/accelerators/accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ def connect(self, model: "pl.LightningModule") -> None:
See deprecation warning below.
.. deprecated:: v1.5 This method is deprecated in v1.5 and will be removed in v1.6. Please call
`training_type_plugin.connect` directly.
.. deprecated:: v1.5
This method is deprecated in v1.5 and will be removed in v1.6.
Please call `training_type_plugin.on_train_batch_start` directly.
"""
rank_zero_deprecation(
"`Accelerator.connect` is deprecated in v1.5 and will be removed in v1.6. "
Expand Down

0 comments on commit ed38903

Please sign in to comment.