code: def run_BingBertSquad_test(self, test_config, output):
      ds_flag = (
          " -d --deepspeed_config " + test_config["json"]
          if test_config["deepspeed"]
          else " "
      )
      other_args = (
          " " + test_config["other_args"]
          if "other_args" in test_config
          else " "
      )
  
      cmd = "./run_BingBertSquad_sanity.sh -e 1 -g {0} {1} {2}".format(
          test_config["gpus"], other_args, ds_flag
      )
  
      self.ensure_directory_exists(output)
      with open(output, "w") as f:
          print(cmd)
          subprocess.run(
              cmd,
              shell=True,
              check=False,
              executable="/bin/bash",
              stdout=f,
              stderr=f,
          )
  
file_path: deepspeed/tests/model/BingBertSquad/BingBertSquad_test_common.py
imports: import unittest
  import subprocess
  import os
  import time
label_desc: Use image node_id 5 for calling the BaseTestCase obj's underlying member method code with example usage: obj.run_BingBertSquad_test(test_config, output) without return types