-
Notifications
You must be signed in to change notification settings - Fork 7.2k
[tune] All examples to use ConcurrencyLimiter #10662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # python/ray/tune/suggest/bohb.py # python/ray/tune/suggest/dragonfly.py # python/ray/tune/suggest/nevergrad.py # python/ray/tune/suggest/skopt.py # python/ray/tune/suggest/zoopt.py
krfricke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left minor comments
| config={ | ||
| "width": sample_from(lambda spec: 10 + int(90 * random.random())), | ||
| "height": sample_from(lambda spec: int(100 * random.random())) | ||
| "width": tune.randint(10, 90), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this would be randint(10, 100)
Should we also remove mode/metric from the scheduler and pass it to tune.run here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do this in followup!
| mode="min", | ||
| max_t=400, | ||
| grace_period=60) | ||
| metric="mean_loss", mode="min", max_t=400, grace_period=60) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also pass metric/mode to tune.run here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do this in followup!
Why are these changes needed?
Closes #10270
Related issue number
Checks
scripts/format.shto lint the changes in this PR.