code: def get_compute_capabilities():
      ccs = []
      for i in range(torch.cuda.device_count()):
          cc_major, cc_minor = torch.cuda.get_device_capability(
              torch.cuda.device(i)
          )
          ccs.append(f"{cc_major}.{cc_minor}")
  
      return ccs
  
imports: import ctypes
  import os
  import errno
  import torch
  from warnings import warn
  from itertools import product
  from pathlib import Path
  from typing import Set, Union
  from .env_vars import get_potentially_lib_path_containing_env_vars
label_desc: Use image node_id 10 for calling a global function with example usage: get_compute_capabilities() and returns: ccs