code: def check_cuda():
      if not torch.cuda.is_available():
          raise RuntimeError("CUDA is not available")
      cur_device = torch.cuda.current_device()
      dprops = torch.cuda.get_device_properties(cur_device)
  
      is_sm75 = dprops.major == 7 and dprops.minor == 5
      is_sm8x = dprops.major == 8 and dprops.minor >= 0
      is_sm90 = dprops.major == 9 and dprops.minor >= 0
  
      return is_sm8x or is_sm75 or is_sm90
  
imports: import math
  from inspect import isfunction
  import torch
  import torch.nn.functional
  from apex.contrib.group_norm import GroupNorm
  from einops import rearrange
  from torch import einsum, nn
  from torch._dynamo import disable
  from nemo.collections.multimodal.modules.stable_diffusion.diffusionmodules.util import checkpoint
label_desc: Use image node_id 1 for calling a global function with example usage: check_cuda() and returns: unknown