Skip to content

Commit 757f60e

Browse files
authored
Merge branch 'release/1.3.x' into v1.3.4
2 parents 8593db7 + e0850b3 commit 757f60e

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
172172

173173
## [1.3.4] - 2021-06-01
174174

175-
### Changed
176-
177175
### Fixed
178176

179177
- Update pre-commit and add new hooks ([#7781](https://github.com/PyTorchLightning/pytorch-lightning/pull/7781))
180178
- fix info message when max training time reached ([#7780](https://github.com/PyTorchLightning/pytorch-lightning/pull/7780))
181179
- Fixed missing __len__ method to IndexBatchSamplerWrapper ([#7681](https://github.com/PyTorchLightning/pytorch-lightning/pull/7681))
182180

183-
184-
185-
186181
## [1.3.3] - 2021-05-27
187182

188183
### Changed
189184

190-
191185
- Move parameter validation specific to TPU Training plugins ([#7415](https://github.com/PyTorchLightning/pytorch-lightning/pull/7415))
192186

193187
### Fixed
@@ -216,6 +210,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
216210

217211
## [1.3.1] - 2021-05-11
218212

213+
219214
### Fixed
220215

221216
- Fixed DeepSpeed with IterableDatasets ([#7362](https://github.com/PyTorchLightning/pytorch-lightning/pull/7362))

pytorch_lightning/utilities/types.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
from typing import Any, Dict, Iterator, List, Union
2-
3-
import torch
4-
from torchmetrics import Metric
51
"""
62
Convention:
73
- Do not include any `_TYPE` suffix
84
- Types used in public hooks (as those in the `LightningModule` and `Callback`) should be public (no trailing `_`)
95
"""
6+
7+
from typing import Any, Dict, Iterator, List, Union
8+
9+
import torch
10+
from torchmetrics import Metric
11+
1012
_METRIC = Union[Metric, torch.Tensor, int, float]
1113
STEP_OUTPUT = Union[torch.Tensor, Dict[str, Any]]
1214
EPOCH_OUTPUT = List[STEP_OUTPUT]

0 commit comments

Comments
 (0)