code: def setup_torchbench_cwd():
      original_dir = abspath(os.getcwd())
  
      os.environ["KALDI_ROOT"] = "/tmp"  # avoids some spam
      for torchbench_dir in (
          "./torchbenchmark",
          "../torchbenchmark",
          "../torchbench",
          "../benchmark",
          "../../torchbenchmark",
          "../../torchbench",
          "../../benchmark",
      ):
          if exists(torchbench_dir):
              break
  
      if exists(torchbench_dir):
          torchbench_dir = abspath(torchbench_dir)
          os.chdir(torchbench_dir)
          sys.path.append(torchbench_dir)
  
      return original_dir
  
imports: import gc
  import importlib
  import logging
  import os
  import re
  import sys
  import warnings
  from os.path import abspath, exists
  import torch
  from torch._dynamo.testing import collect_results, reduce_to_scalar_loss
  from torch._dynamo.utils import clone_inputs
label_desc: Use image node_id 1 for calling a global function with example usage: setup_torchbench_cwd() and returns: original_dir