(config: Config, train_step_time_list: List[int])
| 82 | |
| 83 | |
| 84 | def run_trainer(config: Config, train_step_time_list: List[int]) -> None: |
| 85 | ray.init(ignore_reinit_error=True, namespace=config.ray_namespace) |
| 86 | trainer_monkey_patch(train_step_time_list) |
| 87 | train(config) |
| 88 | ray.shutdown() |
| 89 | |
| 90 | |
| 91 | def run_explorer(config: Config, explore_step_time_list: List[int]) -> None: |
nothing calls this directly
no test coverage detected