class_docstr: Abstract base class for custom runner classes
class_docstr_tok: ["Abstract","base","class","for","custom","runner","classes"]
docstr: Runs a single evaluation for each of the given trials. Useful when deploying
  multiple trials at once is more efficient than deploying them one-by-one.
  Used in Ax ``Scheduler``.
  
  NOTE: By default simply loops over `run_trial`. Should be overwritten
  if deploying multiple trials in batch is preferable.
  
  Args:
      trials: Iterable of trials to be deployed, each containing arms with
          parameterizations to be evaluated. Can be a `Trial`
          if contains only one arm or a `BatchTrial` if contains
          multiple arms.
  
  Returns:
      Dict of trial index to the run metadata of that trial from the deployment
      process.
docstr_tok: ["Runs","a","single","evaluation","for","each","of","the","given","trials",".","Useful","when","deploying","multiple","trials","at","once","is","more","efficient","than","deploying","them","one-by-one",".","Used","in","Ax","``","Scheduler","``",".","NOTE",":","By","default","simply","loops","over","`","run_trial","`",".","Should","be","overwritten","if","deploying","multiple","trials","in","batch","is","preferable",".","Args",":","trials",":","Iterable","of","trials","to","be","deployed",",","each","containing","arms","with","parameterizations","to","be","evaluated",".","Can","be","a","`","Trial","`","if","contains","only","one","arm","or","a","`","BatchTrial","`","if","contains","multiple","arms",".","Returns",":","Dict","of","trial","index","to","the","run","metadata","of","that","trial","from","the","deployment","process","."]
code: def run_multiple(
      self, trials: Iterable[core.base_trial.BaseTrial]
  ) -> Dict[int, Dict[str, Any]]:
      """Runs a single evaluation for each of the given trials. Useful when deploying
      multiple trials at once is more efficient than deploying them one-by-one.
      Used in Ax ``Scheduler``.
  
      NOTE: By default simply loops over `run_trial`. Should be overwritten
      if deploying multiple trials in batch is preferable.
  
      Args:
          trials: Iterable of trials to be deployed, each containing arms with
              parameterizations to be evaluated. Can be a `Trial`
              if contains only one arm or a `BatchTrial` if contains
              multiple arms.
  
      Returns:
          Dict of trial index to the run metadata of that trial from the deployment
          process.
      """
      return {trial.index: self.run(trial=trial) for trial in trials}
  
file_path: Ax/ax/core/runner.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any, Dict, Iterable, List, Optional, Set, TYPE_CHECKING
  from ax.utils.common.base import Base
  from ax.utils.common.serialization import SerializationMixin
label_desc: Use image node_id 4 for calling the Runner obj's underlying member method code with example usage: obj.run_multiple(trials) and returns: unknown