Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
dyollb committed Nov 3, 2022
1 parent 1534747 commit 9a1e2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytorch_lightning/core/saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
# the older shall be on the top
CHECKPOINT_PAST_HPARAMS_KEYS = ("hparams", "module_arguments") # used in 0.7.6

LM = TypeVar("LM", bound=pl.LightningModule)
LDM = TypeVar("LDM", bound=pl.LightningDataModule)
LM = TypeVar("LM", bound="pl.LightningModule")
LDM = TypeVar("LDM", bound="pl.LightningDataModule")


class ModelIO:
Expand Down

0 comments on commit 9a1e2ee

Please sign in to comment.