code: def _patch_sys_modules() -> None:
      self = sys.modules[__name__]
      sys.modules["lightning.pytorch.accelerators.ipu"] = self
      sys.modules["lightning.pytorch.strategies.ipu"] = self
      sys.modules["lightning.pytorch.plugins.precision.ipu"] = self
  
file_path: pytorch-lightning/src/lightning/pytorch/_graveyard/ipu.py
imports: import sys
  from typing import Any
  import lightning.pytorch
label_desc: Use image node_id 1 for calling a global function with example usage: _patch_sys_modules() without return types