-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[tune/structure] Refactor suggest
into search
package
#26074
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
krfricke
requested review from
richardliaw,
xwjiang2010,
amogkam,
matthewdeng,
Yard1 and
maxpumperla
as code owners
June 24, 2022 10:18
xwjiang2010
approved these changes
Jun 24, 2022
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.
Overall the structure change looks good.
Pending tests to pass
Seems like tests are passing but some warnings tests are not. Can't repro locally, but will try to fix this tomorrow |
truelegion47
pushed a commit
to truelegion47/ray
that referenced
this pull request
Jun 30, 2022
* master: (35 commits) [tune/structure] Refactor `suggest` into `search` package (ray-project#26074) Add back ray.state in deprecation wrapper; print stack trace on warning (ray-project#26086) Enable isort for base directory (ray-project#26085) [AIR] Add __init__.py to ray.air.callbacks (ray-project#26088) [Serve] [Docs] Create end-to-end documentation example for Serve REST API and CLI (ray-project#25936) [AIR] Remove unnecessary pandas from examples (ray-project#26009) [Datasets] [Hotfix] Update `ds.to_pandas()` limit error to reflect current limit API (ray-project#26081) [Serve] [Docs] Add Serve REST API Schema to Serve API Docs (ray-project#25786) [Core][Doc] remove cython section from advanced doc. ray-project#26062 [Core] Fix check failure from incorrect death cause (ray-project#26007) [hotfix] Fix linkcheck (ray-project#26070) [RLlib] Add timeout to filter synchronization. (ray-project#25959) [tune/structure] Introduce logger package (ray-project#26049) [RLlib] introduce serialization for our custom gym space types. (ray-project#25923) Fix unit test test_check_env.py and est_check_multi_agent.py. (ray-project#25993) [RLlib] Make QMix use the ReplayBufferAPI (ray-project#25560) [CI] deflake test_multi_node_3 by increasing its timeout [CI] Use BUILDKITE_JOB_ID for better navigation for flaky tracker (ray-project#26021) [AIR/Docs] Improve user guide gallery (ray-project#26016) 🎨 Update type annotations to include options in `ray.remote()` (ray-project#25999) ...
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
This PR renames the
suggest
package tosearch
and alters the layout slightly.In the new package, the higher-level abstractions are on the top level and the search algorithms have their own subdirectories.
In a future refactor, we can turn algorithms such as PBT into actual
SearchAlgorithm
classes and move them into thesearch
package.The main reason to keep algorithms and searchers in the same directory is to avoid user confusion - for a user,
Bayesopt
is as much a search algorithm as e.g.PBT
, so it doesn't make sense to split them up.Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.