diff --git a/CHANGELOG.md b/CHANGELOG.md index f63e1f5876197..cba3b7a4f7854 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -107,7 +107,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Fixed issue with pickling `CSVLogger` after a call to `CSVLogger.save` ([#10388](https://github.com/PyTorchLightning/pytorch-lightning/pull/10388)) -- Fixed `extract_batch_size` call only when its required ([#10408](https://github.com/PyTorchLightning/pytorch-lightning/pull/10408)) +- Fixed the call to `extract_batch_size` only when its required ([#10408](https://github.com/PyTorchLightning/pytorch-lightning/pull/10408)) diff --git a/pytorch_lightning/core/lightning.py b/pytorch_lightning/core/lightning.py index c621b61f01cc9..e4c2613c000eb 100644 --- a/pytorch_lightning/core/lightning.py +++ b/pytorch_lightning/core/lightning.py @@ -1651,7 +1651,7 @@ def optimizer_step( pg["lr"] = lr_scale * self.learning_rate # update params - optimizer.step(clo, batch_sizesure=optimizer_closure) + optimizer.step(closure=optimizer_closure) """ optimizer.step(closure=optimizer_closure)