code: def setup_module(module):
      test_utils.torchserve_cleanup()
  
      model_archiver_cmd = test_utils.model_archiver_command_builder(
          model_name="mnist_custom_metrics",
          version="1.0",
          model_file=os.path.join(
              test_utils.REPO_ROOT,
              "examples",
              "image_classifier",
              "mnist",
              "mnist.py",
          ),
          serialized_file=os.path.join(
              test_utils.REPO_ROOT,
              "examples",
              "image_classifier",
              "mnist",
              "mnist_cnn.pt",
          ),
          handler=os.path.join(
              test_utils.REPO_ROOT,
              "examples",
              "custom_metrics",
              "mnist_handler.py",
          ),
          export_path=test_utils.MODEL_STORE,
      )
      model_archiver_cmd = model_archiver_cmd.split(" ")
      subprocess.run(model_archiver_cmd)
  
imports: import glob
  import os
  import platform
  import re
  import shutil
  import subprocess
  import time
  from os import path
  import requests
  import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: setup_module(module) without return types