Skip to content

Commit cfe7a81

Browse files
committed
update
1 parent ad3375e commit cfe7a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/models/test_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ def test_trainer_model_hook_system_fit_no_val_and_resume_max_epochs(tmp_path):
571571
expected = [
572572
{"name": "configure_callbacks"},
573573
{"name": "prepare_data"},
574-
{"name": "configure_model"},
575574
{"name": "Callback.setup", "args": (trainer, model), "kwargs": {"stage": "fit"}},
576575
{"name": "setup", "kwargs": {"stage": "fit"}},
576+
{"name": "configure_model"},
577577
{"name": "on_load_checkpoint", "args": (loaded_ckpt,)},
578578
{"name": "Callback.on_load_checkpoint", "args": (trainer, model, loaded_ckpt)},
579579
{"name": "Callback.load_state_dict", "args": ({"foo": True},)},

0 commit comments

Comments
 (0)