code: def run_benchmarking(
      run_specs: List[RunSpec],
      auth: Authentication,
      url: str,
      local: bool,
      local_path: str,
      num_threads: int,
      output_path: str,
      suite: str,
      dry_run: bool,
      skip_instances: bool,
      cache_instances: bool,
      cache_instances_only: bool,
      skip_completed_runs: bool,
      exit_on_error: bool,
      mongo_uri: str = "",
  ) -> List[RunSpec]:
      """Runs RunSpecs given a list of RunSpec descriptions."""
      execution_spec = ExecutionSpec(
          auth=auth,
          url=url,
          local=local,
          local_path=local_path,
          parallelism=num_threads,
          dry_run=dry_run,
          mongo_uri=mongo_uri,
      )
      with htrack_block("run_specs"):
          for run_spec in run_specs:
              hlog(run_spec)
  
      runner = Runner(
          execution_spec,
          output_path,
          suite,
          skip_instances,
          cache_instances,
          cache_instances_only,
          skip_completed_runs,
          exit_on_error,
      )
      runner.run_all(run_specs)
      return run_specs
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/run.py
imports: import argparse
  from dataclasses import replace
  from typing import List, Optional
  from helm.benchmark.presentation.run_entry import RunEntry, read_run_entries
  from helm.common.hierarchical_logger import hlog, htrack, htrack_block
  from helm.common.authentication import Authentication
  from helm.common.object_spec import parse_object_spec
  from helm.proxy.clients.huggingface_model_registry import register_huggingface_model_config
  from helm.proxy.clients.remote_model_registry import check_and_register_remote_model
  from helm.proxy.services.remote_service import create_authentication, add_service_args
  from helm.benchmark.adaptation.adapter_spec import AdapterSpec
  from .executor import ExecutionSpec
  from .runner import Runner, RunSpec, LATEST_SYMLINK
  from .run_specs import construct_run_specs
label_desc: Use image node_id 2 for calling a global function with example usage: run_benchmarking(run_specs, auth, url, local, local_path, num_threads, output_path, suite, dry_run, skip_instances, cache_instances, cache_instances_only, skip_completed_runs, exit_on_error, mongo_uri) and returns: run_specs