ray.rllib.algorithms.algorithm.Algorithm.restore_workers
ray.rllib.algorithms.algorithm.Algorithm.restore_workers#
- Algorithm.restore_workers(workers: ray.rllib.evaluation.worker_set.WorkerSet)[source]#
Try to restore failed workers if necessary.
Algorithms that use custom RolloutWorkers may override this method to disable default, and create custom restoration logics.
- Parameters
workers – The WorkerSet to restore. This may be Rollout or Evaluation workers.