code: def create_symlinks() -> None:
      """Creates symlinks from build/lib to torch/lib"""
      if not TORCH_LIB_DIR.exists():
          raise RuntimeError(
              f"Can't create symlinks as {TORCH_LIB_DIR} does not exist"
          )
      if not BUILD_LIB_DIR.exists():
          raise RuntimeError(
              f"Can't create symlinks as {BUILD_LIB_DIR} does not exist"
          )
      for torch_lib in TORCH_LIB_DIR.glob(f"*.{get_lib_extension()}"):
          if torch_lib.is_symlink():
              continue
          build_lib = BUILD_LIB_DIR / torch_lib.name
          if not build_lib.exists():
              raise RuntimeError(
                  f"Can't find {build_lib} corresponding to {torch_lib}"
              )
          torch_lib.unlink()
          torch_lib.symlink_to(build_lib)
  
file_path: pytorch/tools/build_with_debinfo.py
imports: import subprocess
  import sys
  from pathlib import Path
  from typing import Any, List, Optional, Tuple
label_desc: Use image node_id 4 for calling a global function with example usage: create_symlinks() without return types