Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitgr7 committed Jul 19, 2022
1 parent 31f1607 commit 0c73b63
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def test_loops_restore(tmpdir):
ckpt_path = str(tmpdir / "last.ckpt")

trainer = Trainer(**trainer_args)
trainer.strategy.connect(model)

for fn in TrainerFn:
if fn != TrainerFn.TUNING:
trainer_fn = getattr(trainer, f"{fn}_loop")
Expand Down

0 comments on commit 0c73b63

Please sign in to comment.