code: def get_available_devices():
      from openvino.runtime import Core
  
      core = Core()
      devices = core.available_devices
      avail_devices = devices
      if len(devices) == 1:
          return avail_devices
      elif len(devices) == 2:
          if devices[1] == "GPU":
              # judge iGPU or dGPU
              device_type = core.get_property(devices[1], "DEVICE_TYPE")
              if str(device_type) == "Type.INTEGRATED":
                  avail_devices[1] = "iGPU"
              else:
                  avail_devices[1] = "dGPU"
      elif len(devices) == 3:
          if devices[1] == "GPU.0" and devices[2] == "GPU.1":
              avail_devices[1] = "iGPU"
              avail_devices[2] = "dGPU"
      return avail_devices
  
imports: import os
  import time
  import torch
  import shutil
  from collections import OrderedDict
  from diffusers.models import ControlNetModel
  from huggingface_hub import snapshot_download
  from ..common.load import *
  from ..utils.paths import *
  from bigdl.nano.pytorch import InferenceOptimizer
  from bigdl.nano.utils.common import invalidInputError
label_desc: Use image node_id 11 for calling a global function with example usage: get_available_devices() and returns: avail_devices, avail_devices