code: def get_visible_devices():
      """
      Return a list of the CUDA_VISIBLE_DEVICES
      :return: list[int] visible devices
      """
      # TODO: Shouldn't have to split on every call
      return os.environ["CUDA_VISIBLE_DEVICES"].split(",")
  
imports: from threading import Lock
  from asyncio import InvalidStateError
  from cuml.internals.import_utils import check_min_dask_version
  from cuml.common import device_of_gpu_matrix
  from dask.distributed import default_client, wait
  import time
  import random
  import dask
  import logging
  import os
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: get_visible_devices() and returns: os