A scheduler decides which trials to keep running, which to stop, and which to copy and perturb.Documentation Index
Fetch the complete documentation index at: https://ray-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
ASHA (recommended default)
Asynchronous Successive Halving Algorithm. The most common choice. Stops bad trials early without requiring synchronization.| Field | Effect |
|---|---|
time_attr | What units max_t and grace_period measure (training_iteration, time_total_s, etc.). |
max_t | Maximum units a trial can run. |
grace_period | Minimum units before a trial can be stopped. |
reduction_factor | At each rung, keep 1/factor of trials. |
HyperBand
Synchronous version of ASHA. Useful when you want strict bracket boundaries.Population-Based Training (PBT)
Treats hyperparameters as evolvable. Mid-training, low-performing trials clone the weights of high-performing ones and perturb their hyperparameters.PB2
Bayesian variant of PBT. Uses a Gaussian process to choose perturbations rather than mutating randomly.FIFO (default)
No early stopping. Every trial runs to completion.Combining schedulers and search algorithms
| Scheduler | Compatible search algorithms |
|---|---|
| ASHA / HyperBand | Random, Optuna, Ax, BayesOpt, HyperOpt, Nevergrad |
| HyperBandForBOHB | TuneBOHB only |
| PBT / PB2 | Use with random search |
| FIFO | Anything |
Next steps
Stoppers
Stop the entire experiment based on a condition.
Trial checkpoints
Save and restore trial state for PBT.