code: def local_torserve_start():
      click.secho(
          "*Terminating any existing Torchserve instance ...",
          fg="green",
      )
      execute("torchserve --stop", wait=True)
      click.secho("*Setting up model store...", fg="green")
      prepare_local_dependency()
      click.secho("*Starting local Torchserve instance...", fg="green")
  
      execute(
          f"torchserve --start --model-store {execution_params['tmp_dir']}/model_store "
          f"--workflow-store {execution_params['tmp_dir']}/wf_store "
          f"--ts-config {execution_params['tmp_dir']}/benchmark/conf/{execution_params['config_properties_name']} "
          f"> {execution_params['tmp_dir']}/benchmark/logs/model_metrics.log"
      )
  
      time.sleep(3)
  
imports: import csv
  import json
  import os
  import re
  import shutil
  import sys
  import tempfile
  import time
  from subprocess import PIPE, Popen
  from urllib.parse import urlparse
  import click
  import click_config_file
  import matplotlib.pyplot
  import numpy
  import pandas
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: local_torserve_start() without return types