code: def log_pytorch_version_info():
      import torch
  
      logger.info("Pytorch version: %s", torch.__version__)
  
file_path: magnitude/pymagnitude/third_party/allennlp/common/checks.py
imports: from __future__ import absolute_import
  import logging
  from torch import cuda
label_desc: Use image node_id 1 for calling a global function with example usage: log_pytorch_version_info() without return types