-
Notifications
You must be signed in to change notification settings - Fork 55
Broken dependency in design space Bayesian optimization #2322
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
Comments
Per Tom's suggestion: Update the line from
to
|
Hmm I thought we addressed this in #2281, but it doesn't apply to packaging... I can change the message, but more generally we should probably start bundling packages for packages @daquinteroflex? |
Bundling might be an interesting approach, but also it's a question if people want to share tidy3d dependencies within their own environments and whether we want to support that or have tidy3d work in a kind of self contained way via dependency bundling into executales. I'm also curious how that'd work for distribution in pypi in terms of size. Another aspect is compatibility on the backend with bundling, which could be tricky in the short run but possible in the long run - but we can chat about that via slack. Maybe for now, we dont have a Line 81 in 42afa41
|
yeah maybe there was a misunderstanding, but this is what I meant |
Describe the bug
The Bayesian Optimizer
MethodBayOpt
relies on an external librarybayesian-optimization
. The external library changed their API in an update that breaks dependency withMethodBayOpt
. The most recent version ofbayesian-optimization
that still works is1.5.1
.Version history: https://github.com/bayesian-optimization/BayesianOptimization/releases
Update that broke the dependency: bayesian-optimization/BayesianOptimization#447
To Reproduce
Steps to reproduce the behavior:
bayesian-optimization
libraryMethodBayOpt
or set up a dummyDesignSpace
.run()
.Expected behavior
The design space
run()
fails with an error message about missingbayes_opt
library.Additional context
The version
1.5.1
ofbayesian-optimization
has been tested to work successfully without error. Since this is an external library that the user is expected to install by themselves, we can update our documentation to emphasize that they should install the older1.5.1
version.The text was updated successfully, but these errors were encountered: