Skip to content

Commit 136e59a

Browse files
committed
import callback to checkpoint test file
1 parent 0f73167 commit 136e59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests_pytorch/checkpointing/test_model_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import lightning.pytorch as pl
3636
from lightning.fabric.utilities.cloud_io import _load as pl_load
3737
from lightning.pytorch import Trainer, seed_everything
38-
from lightning.pytorch.callbacks import ModelCheckpoint
38+
from lightning.pytorch.callbacks import Callback, ModelCheckpoint
3939
from lightning.pytorch.demos.boring_classes import BoringModel, RandomIterableDataset
4040
from lightning.pytorch.loggers import CSVLogger, TensorBoardLogger
4141
from lightning.pytorch.utilities.exceptions import MisconfigurationException

0 commit comments

Comments
 (0)