Search algorithms decide which configurations Tune evaluates next. Random search is the default; for higher-dimensional or expensive search spaces, prefer a model-based algorithm.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.
Random search (default)
Grid search
Usetune.grid_search in the search space:
Optuna
Tree-structured Parzen Estimator and other Optuna samplers.Ax / BoTorch
Bayesian optimization with Gaussian processes.BayesOpt
Classical Bayesian optimization for continuous spaces.BOHB
Combines Bayesian optimization with HyperBand-style early stopping.TuneBOHB together with HyperBandForBOHB.
HyperOpt
Tree of Parzen estimators with conditional spaces.Nevergrad
Evolutionary search.Combine with a scheduler
Most search algorithms work alongside a scheduler. ASHA + Optuna is a strong default:Some scheduler/search-alg combinations require specific pairings — for example, BOHB only works with
HyperBandForBOHB.Next steps
Schedulers
Pair a search algorithm with a scheduler.
Distributed tuning
Run searches across the cluster.