ray.tune.schedulers.PopulationBasedTraining.choose_trial_to_run#

PopulationBasedTraining.choose_trial_to_run(tune_controller: TuneController) Trial | None[source]#

Ensures all trials get fair share of time (as defined by time_attr).

This enables the PBT scheduler to support a greater number of concurrent trials than can fit in the cluster at any given time.