Skip to content

Commit 7a6efb3

Browse files
authored
fix merge issue (#12420)
1 parent 1c18d5e commit 7a6efb3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pytorch_lightning/trainer/connectors/accelerator_connector.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -798,19 +798,6 @@ def tpu_cores(self) -> Optional[Union[List[int], int]]:
798798
return self._tpu_cores # type: ignore
799799
return 0
800800

801-
@property
802-
def tpu_id(self) -> Optional[int]:
803-
if isinstance(self.accelerator, TPUAccelerator):
804-
if isinstance(self._tpu_cores, list):
805-
return self._tpu_cores[0]
806-
return None
807-
808-
@property
809-
def num_ipus(self) -> int:
810-
if isinstance(self.accelerator, IPUAccelerator):
811-
return self.devices
812-
return 0
813-
814801
@property
815802
def gpus(self) -> Optional[Union[List[int], str, int]]:
816803
return self._gpus

0 commit comments

Comments
 (0)