code: def _get_version():
      try:
          cmd = ["git", "rev-parse", "HEAD"]
          sha = (
              subprocess.check_output(cmd, cwd=str(ROOT_DIR))
              .decode("ascii")
              .strip()
          )
      except Exception:
          sha = None
  
      if "BUILD_VERSION" in os.environ:
          version = os.environ["BUILD_VERSION"]
      else:
          with open(os.path.join(ROOT_DIR, "version.txt"), "r") as f:
              version = f.readline().strip()
          if sha is not None:
              version += "+" + sha[:7]
  
      if sha is None:
          sha = "Unknown"
      return version, sha
  
file_path: torchrec/setup.py
imports: import argparse
  import os
  import subprocess
  import sys
  from pathlib import Path
  from typing import List
  from setuptools import find_packages, setup
label_desc: Use image node_id 1 for calling a global function with example usage: _get_version() and returns: version,  sha