From 7a6efb38b25d6d4de75a09199809f70e0b930488 Mon Sep 17 00:00:00 2001 From: DuYicong515 Date: Wed, 23 Mar 2022 11:17:17 -0700 Subject: [PATCH] fix merge issue (#12420) --- .../trainer/connectors/accelerator_connector.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pytorch_lightning/trainer/connectors/accelerator_connector.py b/pytorch_lightning/trainer/connectors/accelerator_connector.py index 63c975bc8e..aec44e4989 100644 --- a/pytorch_lightning/trainer/connectors/accelerator_connector.py +++ b/pytorch_lightning/trainer/connectors/accelerator_connector.py @@ -798,19 +798,6 @@ class AcceleratorConnector: return self._tpu_cores # type: ignore return 0 - @property - def tpu_id(self) -> Optional[int]: - if isinstance(self.accelerator, TPUAccelerator): - if isinstance(self._tpu_cores, list): - return self._tpu_cores[0] - return None - - @property - def num_ipus(self) -> int: - if isinstance(self.accelerator, IPUAccelerator): - return self.devices - return 0 - @property def gpus(self) -> Optional[Union[List[int], str, int]]: return self._gpus