Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Sep 6, 2023
1 parent 48b393f commit e4d19cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning/pytorch/loops/fit_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def advance(self) -> None:
f" The available modes are: {[m for m in _SUPPORTED_MODES if m != 'sequential']}"
)
data_fetcher = self._data_fetcher
assert self._data_fetcher is not None
assert data_fetcher is not None
data_fetcher.setup(combined_loader)
with self.trainer.profiler.profile("run_training_epoch"):
self.epoch_loop.run(data_fetcher)
Expand Down

0 comments on commit e4d19cb

Please sign in to comment.