[tune] implement shim instantiation#10456
Conversation
|
yikes this PR's commits have become way more bloated than they need to be; @richardliaw should I rebase and force-push to reduce the number of commits? |
|
Hmm I don't really mind - up to you! |
richardliaw
left a comment
There was a problem hiding this comment.
Looks great! Do you mind adding this into the docs too? ray/docs/source/tune/api_docs/{suggestion / schedulers}.rst
|
bump - looks like tests are failing. I think you should do |
sure, I'll try to do that soon
Oh—I had (lazily) assumed that schedulers overrode the equality operator. Is this something we should implement? I don't think it would be too hard (untested): def __eq__(self, other):
if type(self) != type(other):
return False
return self.__dict__ == other.__dict__this is probably better suited for a different PR, though |
|
Hm I guess I don't know if those semantics really are needed since you're almost certainly only using 1 scheduler. |
|
Thanks for putting together this PR though! Definitely looking forward to getting this merged :) |
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
|
@richardliaw can you take a look at 6dcf1f0 and let me know if I should change anything else? once you take a look I'll add to the schedulers doc too |
|
looks good!
…On Fri, Sep 4, 2020 at 6:05 AM Sumanth Ratna ***@***.***> wrote:
@richardliaw <https://github.com/richardliaw> can you take a look at
6dcf1f0
<6dcf1f0>
and let me know if I should change anything else? once you take a look I'll
add to the schedulers doc too
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10456 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCRZZID5ZPPR6XURMLA7B3SEDQYPANCNFSM4QRAOXYA>
.
|
|
Hey @sumanthratna looks like the create search alg test is still broken Don't forget to run |
@richardliaw ugh I had copied the example from the docs because I wanted to write the test correctly but I was looking at the 0.8.7 docs instead of master...fix is (hopefully) on the way |
|
hmm tests still failing?
…On Fri, Sep 4, 2020 at 4:04 PM Sumanth Ratna ***@***.***> wrote:
Hey @sumanthratna <https://github.com/sumanthratna> looks like the create
search alg test is still broken
@richardliaw <https://github.com/richardliaw> ugh I had copied the
example from the docs because I wanted to write the test correctly but I
was looking at the 0.8.7 docs instead of master...fix is (hopefully) on the
way
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10456 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCRZZJMYNRHETM64T2WLZLSEFW7RANCNFSM4QRAOXYA>
.
|
|
we can wait until all tests finish but @richardliaw I think this is finally ready for merging |
Why are these changes needed?
makes creating search algorithms based on a string easier (useful for CLIs where users define search alg and scheduler to use)
Related issue number
related: #9969, #10401, #10444, #10451 (closes #10451)
Checks
scripts/format.shto lint the changes in this PR.CC @richardliaw