restore_offline_eval_runners#

Algorithm.restore_offline_eval_runners(runner_group: RunnerGroup) → List[int][source]#

Try bringing back unhealthy offline evaluation runners and sync them.

The offline evaluation counterpart of restore_env_runners(). Syncs each restored runner with the state of the first healthy runner and gives it back its data iterator. Algorithms may override this method to create custom restoration logic.

Parameters:

runner_group (RunnerGroup) – The RunnerGroup of offline evaluation runners to restore.

Returns:

A list of the IDs of the runners restored during this call. Empty if runner_group is None or has no local runner.

Return type:

List[int]