Skip to content

Commit 94e6d52

Browse files
docs: fix order of on_fit_start() hook (#16180)
Fixes #16170
1 parent f08bc67 commit 94e6d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-pytorch/common/lightning_module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,9 +1295,9 @@ for more information.
12951295
12961296
def train_on_device(model):
12971297
# called PER DEVICE
1298-
on_fit_start()
12991298
setup("fit")
13001299
configure_optimizers()
1300+
on_fit_start()
13011301
13021302
# the sanity check runs here
13031303

0 commit comments

Comments
 (0)