code: def unpatch_cuda():
      """
      unpatch_cuda is an reverse function to patch_cuda. It will change the application
      back to be available on cuda.
  
      e.g.
          >>> from bigdl.nano.pytorch.patching import unpatch_cuda
          >>> unpatch_cuda()  # be sure it is used after patch_cuda
          >>> # all other codes will be avilable for cuda
  
      :param disable_jit: bool, if to disable jit compile. This is a known issue
             for patch_cuda function. jit compile has not been supported for some
             of the patching. Users may change it to False to check if their application
             is affected by this issue.
      """
      global is_cuda_patched
      if not is_cuda_patched:
          return
  
      torch.jit._state.enable()
      for obj, name, torch_attr in attrs:
          setattr(obj, name, torch_attr)
  
      is_cuda_patched = False
  
imports: import os
  import torch
  from logging import warning
  from bigdl.nano.utils.pytorch import TORCH_VERSION_LESS_1_10
label_desc: Use image node_id 12 for calling a global function with example usage: unpatch_cuda() without return types