Skip to content

Commit ad1a028

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 910a712 commit ad1a028

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lightning/pytorch/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,12 +601,12 @@ def _parse_ckpt_path(self) -> None:
601601
hparams.pop("_instantiator", None)
602602
if not hparams:
603603
return
604-
604+
605605
# Allow customization of checkpoint hyperparameters via adapt_checkpoint_hparams hook
606606
hparams = self.adapt_checkpoint_hparams(hparams)
607607
if not hparams:
608608
return
609-
609+
610610
if "_class_path" in hparams:
611611
hparams = {
612612
"class_path": hparams.pop("_class_path"),

0 commit comments

Comments
 (0)