code: def version():
      ver = torch._C._nccl_version()
      major = ver >> 32
      minor = (ver >> 16) & 65535
      patch = ver & 65535
      suffix = torch._C._nccl_version_suffix().decode("utf-8")
      if suffix == "":
          return (major, minor, patch)
      else:
          return (major, minor, patch, suffix)
  
file_path: pytorch/torch/cuda/nccl.py
imports: import collections
  import warnings
  from typing import Optional, Sequence, Union
  import torch.cuda
label_desc: Use image node_id 2 for calling a global function with example usage: version() and returns: major,  minor,  patch, major,  minor,  patch,  suffix