-
Notifications
You must be signed in to change notification settings - Fork 110
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
Deprecate backend options #9899
Conversation
CodSpeed Performance ReportMerging #9899 will not alter performanceComparing Summary
|
7168afb
to
50a0833
Compare
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, but some comments.
message = ( | ||
"sampler.backend is deprecated. " | ||
"The correct backend will be inferred by the method. " | ||
"If several backends have a method named A and you want to pick " | ||
"a specific backend B, put B/A in sampler.method." | ||
) | ||
print(message) |
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.
Shouldn't this deprecation message come from everest/config/sampler_config.py
?
message = ( | ||
"optimization.backend is deprecated. " | ||
"The correct backend will be inferred by the algorithm. " | ||
"If several backends have an algorithm named A and you want to pick " | ||
"a specific backend B, put B/A in optimization.algorithm." | ||
) | ||
print(message) |
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.
Shouldn't this be part of everest/config/optimization_config.py
4f23b33
to
3a6dcaf
Compare
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.
LGTM!
3f0f631
to
445eefc
Compare
Issue
Resolves #9773