Skip to content

Commit

Permalink
Remove exp_save_path on the LightningModule (#7266)
Browse files Browse the repository at this point in the history
* deprecate-exp-save-path

* Update lightning.py

* Update CHANGELOG.md

* remove-not-deprecate
  • Loading branch information
ananthsub authored Apr 29, 2021
1 parent b670647 commit 338f5a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

### Deprecated


- Deprecated the `save_function` property from the `ModelCheckpoint` callback ([#7201](https://github.com/PyTorchLightning/pytorch-lightning/pull/7201))


Expand Down Expand Up @@ -228,6 +229,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
### Removed


- Removed the `exp_save_path` property from the `LightningModule` ([#7266](https://github.com/PyTorchLightning/pytorch-lightning/pull/7266))


- Removed training loop explicitly calling `EarlyStopping.on_validation_end` if no validation is run ([#7069](https://github.com/PyTorchLightning/pytorch-lightning/pull/7069))


Expand Down
2 changes: 0 additions & 2 deletions pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
# torch/nn/modules/module.py#L227)
torch._C._log_api_usage_once(f"lightning.module.{self.__class__.__name__}")

self.exp_save_path = None

self.loaded_optimizer_states_dict = {}

#: Pointer to the trainer object
Expand Down

0 comments on commit 338f5a3

Please sign in to comment.