code: def main():
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--input",
          action="store",
          help="benchmark config yaml file path",
      )
      parser.add_argument(
          "--skip",
          action="store",
          help="true: skip torchserve installation. default: true",
      )
      parser.add_argument(
          "--skip_upload",
          help="true: skip uploading commands. default: false",
      )
      parser.add_argument(
          "--nightly",
          help="true: install nightly version of torch package. default: false",
      )
      arguments = parser.parse_args()
      skip_ts_config = (
          False
          if arguments.skip is not None
          and arguments.skip.lower() == "false"
          else True
      )
      skip_upload = (
          True
          if arguments.skip_upload is not None
          and arguments.skip_upload.lower() == "true"
          else False
      )
      nightly = (
          True
          if arguments.nightly is not None
          and arguments.nightly.lower() == "true"
          else False
      )
      bm_config = load_benchmark_config(
          arguments.input, skip_ts_config, skip_upload
      )
      benchmark_env_setup(bm_config, skip_ts_config, nightly)
      run_benchmark(bm_config)
      clean_up_benchmark_env(bm_config)
      print("benchmark_serving.sh finished successfully.")
  
imports: import argparse
  import datetime
  import os
  import shutil
  from subprocess import Popen
  import ruamel.yaml
  from utils import gen_md_report, gen_metrics_json, gen_model_config_json
label_desc: Use image node_id 11 for calling a global function with example usage: main() without return types