code: def launch_benchmark_suite_scheduler(config_file):
      assert g_pathmgr.exists(
          config_file
      ), "Slurm evaluator config file must exist"
  
      user_config = load_file(config_file)
      config = _DEFAULT_CONFIG.copy()
      recursive_dict_merge(config, user_config)
  
      benchmark_suite_scheduler = BenchmarkSuiteScheduler(
          **config["params"]
      )
      benchmark_suite_scheduler_job = SlurmEvaluatorJob(
          benchmark_suite_scheduler=benchmark_suite_scheduler
      )
      executor = submitit.AutoExecutor(
          folder=benchmark_suite_scheduler.evaluation_dir()
      )
  
      assert (
          "slurm_options" in config
      ), "slurm_options must be specified"
      assert (
          "PARTITION" in config["slurm_options"]
      ), "slurm_options.PARTITION is a required field to launch the benchmark suite on slurm"
  
      slurm_options = AttrDict(config["slurm_options"])
      executor.update_parameters(
          name=slurm_options.NAME,
          slurm_comment=slurm_options.COMMENT,
          slurm_partition=slurm_options.PARTITION,
          slurm_constraint=slurm_options.CONSTRAINT,
          timeout_min=slurm_options.TIMEOUT_MIN,
          nodes=1,
          cpus_per_task=slurm_options.CPUS_PER_TASK,
          tasks_per_node=1,
          mem_gb=slurm_options.MEM_GB,
          slurm_additional_parameters=slurm_options.ADDITIONAL_PARAMETERS,
      )
  
      job = executor.submit(benchmark_suite_scheduler_job)
      print(f"SUBMITTED EVALUATION JOB: {job.job_id}")
  
file_path: vissl/tools/launch_benchmark_suite_scheduler_slurm.py
imports: import sys
  import pkg_resources
  import submitit
  from iopath.common.file_io import g_pathmgr
  from vissl.config.attr_dict import AttrDict
  from vissl.utils.benchmark_suite_scheduler import BenchmarkSuiteScheduler
  from vissl.utils.hydra_config import assert_hydra_dependency
  from vissl.utils.io import load_file
  from vissl.utils.misc import recursive_dict_merge
  from vissl.utils.slurm import is_submitit_available
label_desc: Use image node_id 1 for calling a global function with example usage: launch_benchmark_suite_scheduler(config_file) without return types