Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #1869 Implements ChainRunner, which takes List[ChainRunnerStage] and runs the stages in sequence for each trial. High-level logic is as follows: * `ChainRunner.run` kicks off the first ChainRunnerStage in the list and records that stage's name in the trial's run_metadata. * `ChainRunner.poll_trial_status` polls the current stage's runner's status. If this is `TrialStatus.COMPLETED` and there are more stages left in the chain, ChainRunner kicks off the next stage in the chain, updating the run_metadata in the process. In the future this should be implemented such that this state management happens in the calling context (e.g., Scheduler, AxClient). Reviewed By: lena-kashtelyan Differential Revision: D47484883 fbshipit-source-id: 8959a7f340b4ea525070a5323a79dda9ec4b5329
- Loading branch information