- class ray.tune.schedulers.TrialScheduler#
Interface for implementing a Trial Scheduler class.
Note to Tune developers: If a new scheduler is added, please update
DeveloperAPI: This API may change across minor Ray releases.
Called to choose a new trial to run.
Returns a human readable message for printing to the console.
Called when a new trial is added to the trial runner.
on_trial_complete(tune_controller, trial, result)
Notification for the completion of trial.
Notification for the error of trial.
Called to remove trial.
on_trial_result(tune_controller, trial, result)
Called on each intermediate result returned by a trial.
Restore trial scheduler from checkpoint.
Save trial scheduler to a checkpoint
set_search_properties(metric, mode, **spec)
Pass search properties to scheduler.
Status for continuing trial execution
Status for pausing trial execution
Status for stopping trial execution