code: def install_torch_tensor_rt():
      """Helper function for installing Torch-TensorRT.
  
      The function will install the software only if a cuda driver is available.
      """
      if not gpu_is_available():
          raise RuntimeError(
              "Torch-TensorRT can run just on Nvidia machines. "
              "No available cuda driver has been found."
          )
      elif not check_module_version(
          torch, min_version="1.12.0", max_version="1.13.1+cu117"
      ):
          logger.warning(
              "Torch-TensorRT can be installed only for "
              "'PyTorch>=1.12, <=1.13.1'. Please update your Pytorch "
              "version accordingly if you want to use Torch-TensorRT."
          )
          return False
  
      # Verify that TensorRT is installed, otherwise install it
      try:
          import tensorrt  # noqa F401
      except ImportError:
          install_tensor_rt()
  
      cmd = [
          "pip3",
          "install",
          "torch-tensorrt",
          "--find-links",
          "https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.3.0",
      ]
      subprocess.run(cmd)
      cuda_version = subprocess.check_output(["nvidia-smi"])
      cuda_version = int(
          cuda_version.decode("utf-8")
          .split("\n")[2]
          .split("|")[-2]
          .split(":")[-1]
          .strip()
          .split(".")[0]
      )
      if cuda_version >= 12:
          cmd = [
              "pip3",
              "install",
              "tensorrt>=8.6.0,<=8.6.1",
          ]
          subprocess.run(cmd)
  
      try:
          import torch_tensorrt  # noqa F401
      except ImportError:
          return False
  
      return True
  
imports: import os
  import platform
  import subprocess
  import sys
  from abc import ABC
  from pathlib import Path
  from typing import List
  import cpuinfo
  from loguru import logger
  from nebullvm.config import LIBRARIES_GPU
  from nebullvm.operations.optimizations.compilers.utils import deepsparse_is_available, get_faster_transformer_repo_path, intel_neural_compressor_is_available, openvino_is_available, tensorrt_is_available, torch_tensorrt_is_available
  from nebullvm.optional_modules.torch import torch
  from nebullvm.tools.utils import check_module_version, gpu_is_available
label_desc: Use image node_id 5 for calling a global function with example usage: install_torch_tensor_rt() and returns: True, False, False