code: def required_maximum_torch_version(major_version, minor_version):
      TORCH_MAJOR = int(torch.__version__.split(".")[0])
      TORCH_MINOR = int(torch.__version__.split(".")[1])
  
      if TORCH_MAJOR > major_version:
          return False
  
      return TORCH_MAJOR < major_version or TORCH_MINOR <= minor_version
  
imports: import torch
  from deepspeed.git_version_info import torch_info
label_desc: Use image node_id 4 for calling a global function with example usage: required_maximum_torch_version(major_version, minor_version) and returns: unknown, False