code: def test_copy():
      if os.path.isdir(TEST_OUTPUT_NAME):
          shutil.rmtree(TEST_OUTPUT_NAME)
      os.makedirs(TEST_OUTPUT_NAME, exist_ok=False)
      do_copy(TEST_OUTPUT_NAME)
      shutil.copy("src/export_hf_checkpoint.py", TEST_OUTPUT_NAME)
      os.environ["DO_COPY_TEST"] = "1"
      os.chdir(TEST_OUTPUT_NAME)
      output = subprocess.check_output(
          ["python", "export_hf_checkpoint.py"]
      )
      print(output)
  
file_path: h2ogpt/src/export_hf_checkpoint.py
imports: import os
  import json
  import shutil
  import subprocess
  import torch
  from accelerate import infer_auto_device_map, dispatch_model
  from accelerate.utils import get_balanced_memory
  from peft import PeftModel
  from transformers import PreTrainedModel
label_desc: Use image node_id 3 for calling a global function with example usage: test_copy() without return types