ray.tune.schedulers.pb2.PB2.choose_trial_to_run#

PB2.choose_trial_to_run(tune_controller: TuneController) Trial | None#

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.