mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 03:50:55 +08:00
[tune] Explicitly set scheduler in run() (#5871)
* Explicitely set scheduler in run() * Better formatting/indentation (after running format.sh) * Remove accidental paste in parameters definitions. * format
This commit is contained in:
committed by
Richard Liaw
parent
7f4141df4e
commit
320cba313f
@@ -113,4 +113,8 @@ if __name__ == "__main__":
|
||||
)
|
||||
algo = AxSearch(client, max_concurrent=4)
|
||||
scheduler = AsyncHyperBandScheduler(metric="hartmann6", mode="max")
|
||||
run(easy_objective, name="ax", search_alg=algo, **config)
|
||||
run(easy_objective,
|
||||
name="ax",
|
||||
search_alg=algo,
|
||||
scheduler=scheduler,
|
||||
**config)
|
||||
|
||||
Reference in New Issue
Block a user