Skip to content

Commit a0306bd

Browse files
committed
remove parallel_devices
1 parent 8d5d156 commit a0306bd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
719719
- Removed `AcceleratorConnector.parallel_device_ids` property ([#12072](https://github.com/PyTorchLightning/pytorch-lightning/pull/12072))
720720

721721

722+
- Removed `AcceleratorConnector.parallel_devices` property ([#12075](https://github.com/PyTorchLightning/pytorch-lightning/pull/12075))
723+
724+
722725
### Fixed
723726

724727
- Fixed an issue where `ModelCheckpoint` could delete older checkpoints when `dirpath` has changed during resumed training ([#12045](https://github.com/PyTorchLightning/pytorch-lightning/pull/12045))

pytorch_lightning/trainer/connectors/accelerator_connector.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,6 @@ def _lazy_init_strategy(self) -> None:
780780
of accessing this information through the strategy/accelerator directly."""
781781
# TODO: deprecate all properties below
782782

783-
@property
784-
def parallel_devices(self) -> List[Union[torch.device, int]]:
785-
return self._parallel_devices
786-
787783
@property
788784
def num_processes(self) -> int:
789785
return self.devices if self.devices is not None else 1

0 commit comments

Comments
 (0)