code: def main(core_context: det.core.Context) -> None:
      with pathlib.Path(_defaults.ARGS_PKL_PATH).open("rb") as f:
          args = pickle.load(f)
      # On-cluster, the relative paths to the below files just come from the base names.
      args.config_path = os.path.basename(args.config_path)
      args.model_dir = os.path.basename(args.model_dir)
      args.include = (
          [os.path.basename(p) for p in args.include]
          if args.include is not None
          else []
      )
      cluster_info = det.get_cluster_info()
      assert (
          cluster_info and cluster_info._trial_info
      ), "Could not find `cluster_info`, the DSAT module must be run on a Determined Cluster"
      args.experiment_id = cluster_info._trial_info.experiment_id
  
      exp_config = get_custom_dsat_exp_conf_from_args(args)
  
      search_method_class = get_search_method_class(args.search_method)
      search_method = search_method_class(
          args=args, exp_config=exp_config
      )
  
      search_runner = searcher.RemoteSearchRunner(
          search_method, context=core_context
      )
  
      search_runner.run(
          exp_config=exp_config,
          model_dir=args.model_dir,
          includes=args.include,
      )
  
file_path: determined/harness/determined/pytorch/dsat/_run_dsat.py
imports: import argparse
  import logging
  import os
  import pathlib
  import pickle
  from typing import Any, Dict, Type
  import determined
  from determined import searcher
  from determined.pytorch.dsat import ASHADSATSearchMethod, BaseDSATSearchMethod, BinarySearchDSATSearchMethod, RandomDSATSearchMethod, _defaults, _TestDSATSearchMethod, _utils
  from determined.util import merge_dicts
label_desc: Use image node_id 3 for calling a global function with example usage: main(core_context) without return types