code: def select_compilers_from_hardware_onnx(device: Device):
      from nebullvm.optional_modules.utils import onnx_is_available
  
      compilers = []
      if onnx_is_available():
          if onnxruntime_is_available():
              compilers.append(ModelCompiler.ONNX_RUNTIME)
          if tvm_is_available():
              compilers.append(ModelCompiler.APACHE_TVM)
          if device.type is DeviceType.GPU and tensorrt_is_available():
              compilers.append(ModelCompiler.TENSOR_RT)
          if device.type is DeviceType.CPU and openvino_is_available():
              compilers.append(ModelCompiler.OPENVINO)
      return compilers
  
file_path: nebuly/optimization/nebullvm/nebullvm/operations/optimizations/compilers/utils.py
imports: from pathlib import Path
  import nebullvm
  from nebullvm.core.models import Device, ModelCompiler, DeviceType
label_desc: Use image node_id 13 for calling a global function with example usage: select_compilers_from_hardware_onnx(device) and returns: compilers