Open panahiparham opened 2 months ago
This class is responsible for preparing instances of an experiment for execution.
Inputs
Functionality
(part_name, config_id, seed)
Proposed interface
class Scheduler: def __init__(self, exp_name: str, seeds: List[int], version: Maybe[int] = None, base: Maybe[str] = None): pass ''' iterate over all instances to be run checking pre-existing results''' def enumerate_runs(self) -> Iterable[Tuple[str, int, int]]: pass
Assumes access to results_exist(name: str, config: str, seed: str)
results_exist(name: str, config: str, seed: str)
@andnp
Scheduler
Checking for existing results can be slow, we can parallelize reading from database.
The Scheduler
This class is responsible for preparing instances of an experiment for execution.
Inputs
Functionality
(part_name, config_id, seed)
that fully specifies an instance of an experimentProposed interface
Assumes access to
results_exist(name: str, config: str, seed: str)