Update SyneTune API, add CQR#211
Merged
Merged
Conversation
- add CQR - remove MOASHA - update imports - update suggest API - update to "do_minimize" API (remove mode param)
requires different keywords and also slightly diff api
- rename env - update isntallation of synetune (revert when official pip release is there)
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the SyneTune API integration to work with newer versions of syne-tune (>= 0.14.2) and adds CQR as a new optimizer. The changes involve streamlining the supported optimizers to a smaller set while maintaining compatibility with both legacy and modern syne-tune APIs.
- Updates SyneTune dependency to version >= 0.14.2 with additional features
- Removes several legacy optimizers and adds CQR, BOTorch, and TPE optimizers
- Introduces legacy API compatibility handling through an
is_legacyparameter
Reviewed Changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| carps/optimizers/synetune.py | Updates optimizer imports, adds legacy API handling, and streamlines supported optimizers |
| carps/container/recipes/optimizers/SyneTune/SyneTune_requirements.txt | Updates dependency version and adds blackbox-repository feature |
| carps/build/Makefile | Changes installation to use development version from GitHub |
| tests/test_optimizers.py | Filters out underscore-prefixed configuration files |
| carps/configs/optimizer/synetune/*.yaml | Removes legacy optimizer configs and adds/updates configs for new optimizers |
| CHANGELOG.md | Documents the API update and CQR addition |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or 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
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.
No description provided.