Skip to content

Commit 90ff8f0

Browse files
Alan ChuAlan Chu
authored andcommitted
remove bad fix
1 parent faef707 commit 90ff8f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lightning/pytorch/callbacks/finetuning.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,6 @@ def unfreeze_and_add_param_group(
274274

275275
@override
276276
def setup(self, trainer: "pl.Trainer", pl_module: "pl.LightningModule", stage: str) -> None:
277-
if hasattr(pl_module, "configure_model"):
278-
pl_module.configure_model()
279-
280277
self.freeze_before_training(pl_module)
281278

282279
from lightning.pytorch.strategies import DeepSpeedStrategy

0 commit comments

Comments
 (0)