Skip to content

Commit 843cdb8

Browse files
authored
Update automatic.py
1 parent 1ffd1ae commit 843cdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/loops/optimization/automatic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def _training_step(self, kwargs: OrderedDict) -> ClosureResult:
324324
rank_zero_warn(
325325
"Skipping the `training_step` by returning None in distributed training is not supported."
326326
" It is recommended that you rewrite your training logic to avoid having to skip the step in the first"
327-
" place."
327+
" place.",
328328
category=PossibleUserWarning,
329329
)
330330

0 commit comments

Comments
 (0)