class_docstr: Intel Habana(HPU) accelerators.
class_docstr_tok: ["Intel","Habana","(","HPU",")","accelerators","."]
code: def get_current_process_visible_accelerator_ids() -> (
      Optional[List[str]]
  ):
      hpu_visible_devices = os.environ.get(
          HPUAcceleratorManager.get_visible_accelerator_ids_env_var(),
          None,
      )
  
      if hpu_visible_devices is None:
          return None
  
      if hpu_visible_devices == "":
          return []
  
      return list(hpu_visible_devices.split(","))
  
file_path: ray/python/ray/_private/accelerators/hpu.py
imports: import os
  import logging
  from typing import Optional, List, Tuple
  from functools import lru_cache
  from importlib.util import find_spec
  from ray._private.accelerators.accelerator import AcceleratorManager
label_desc: Use image node_id 3 for calling the HPUAcceleratorManager obj's underlying member method code with example usage: obj.get_current_process_visible_accelerator_ids() and returns: list, None, list