class_docstr: Nvidia GPU accelerators.
class_docstr_tok: ["Nvidia","GPU","accelerators","."]
code: def get_current_process_visible_accelerator_ids() -> (
      Optional[List[str]]
  ):
      cuda_visible_devices = os.environ.get(
          NvidiaGPUAcceleratorManager.get_visible_accelerator_ids_env_var(),
          None,
      )
      if cuda_visible_devices is None:
          return None
  
      if cuda_visible_devices == "":
          return []
  
      if cuda_visible_devices == "NoDevFiles":
          return []
  
      return list(cuda_visible_devices.split(","))
  
file_path: ray/python/ray/_private/accelerators/nvidia_gpu.py
imports: import re
  import os
  import logging
  from typing import Optional, List, Tuple
  from ray._private.accelerators.accelerator import AcceleratorManager
label_desc: Use image node_id 3 for calling the NvidiaGPUAcceleratorManager obj's underlying member method code with example usage: obj.get_current_process_visible_accelerator_ids() and returns: list, None, list, list