diff --git a/CHANGELOG.md b/CHANGELOG.md index d38201f5103b9..9776d5fa85bf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [1.5.9] - 2022-01-11 + +### Fixed + +- Pin sphinx-autodoc-typehints with bool: self.last_momentum_values = {name + "-momentum": None for name in names_flatten} def on_train_batch_start(self, trainer: "pl.Trainer", *args: Any, **kwargs: Any) -> None: + assert trainer.logger is not None if not trainer.logger_connector.should_update_logs: return @@ -158,6 +159,7 @@ def on_train_batch_start(self, trainer: "pl.Trainer", *args: Any, **kwargs: Any) trainer.logger.log_metrics(latest_stat, step=trainer.global_step) def on_train_epoch_start(self, trainer: "pl.Trainer", *args: Any, **kwargs: Any) -> None: + assert trainer.logger is not None if self.logging_interval != "step": interval = "epoch" if self.logging_interval is None else "any" latest_stat = self._extract_stats(trainer, interval) diff --git a/requirements.txt b/requirements.txt index 34879d9290acb..dd34e9273c31e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,4 @@ torchmetrics>=0.4.1 pyDeprecate==0.3.1 packaging>=17.0 typing-extensions +setuptools==59.5.0 # required for https://github.com/pytorch/pytorch/pull/69904