Skip to content

Conversation

@richardliaw
Copy link
Contributor

@richardliaw richardliaw commented Sep 9, 2020

Why are these changes needed?

Closes #10270

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/latest/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failure rates at https://ray-travis-tracker.herokuapp.com/.
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested (please justify below)

@richardliaw richardliaw added this to the Tune/SGD 1.0 Hotlist milestone Sep 9, 2020
@richardliaw richardliaw added the P0 Issues that should be fixed in short order label Sep 9, 2020
@richardliaw richardliaw mentioned this pull request Sep 9, 2020
6 tasks
Copy link
Contributor

@krfricke krfricke left a 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),
Copy link
Contributor

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?

Copy link
Contributor Author

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)
Copy link
Contributor

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

Copy link
Contributor Author

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!

@richardliaw richardliaw merged commit 3501ea3 into ray-project:master Sep 9, 2020
@richardliaw richardliaw deleted the concurrency branch September 9, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P0 Issues that should be fixed in short order

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tune] Add ConcurrencyLimiter to the Bayesian optimization code examples

2 participants