-
Notifications
You must be signed in to change notification settings - Fork 415
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
Add timeout ability to gen_* functions #1562
Conversation
This pull request was exported from Phabricator. Differential Revision: D42024857 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D42024857 |
Summary: Pull Request resolved: pytorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Differential Revision: D42024857 fbshipit-source-id: bb4f2287d19bac96881029678e8458cae646ef66
dd5115d
to
2657240
Compare
Codecov Report
@@ Coverage Diff @@
## main #1562 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 154 154
Lines 13741 13754 +13
=========================================
+ Hits 13741 13754 +13
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Summary: Pull Request resolved: pytorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Differential Revision: D42024857 fbshipit-source-id: 1fec382ce1dfa80e54383eaf8a5edec777726d25
2657240
to
8cb3ea0
Compare
This pull request was exported from Phabricator. Differential Revision: D42024857 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D42024857 |
Summary: Pull Request resolved: pytorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Differential Revision: D42024857 fbshipit-source-id: ffb52af4cdfcd7e00cfd7ab6f82ed1fb7979a888
8cb3ea0
to
97db536
Compare
Ugh the tutorial failure here is kind of a pain - the tutorial is importing a context manager from ax, but that context manager mocks things deep in botorch that this PR changes, and the context manager itself is only updated as part of the diff that contains this PR. Such circular dependency issue here is not a great design and we generally shouldn't be importing things from Ax in botorch (the fact that we have Ax tutorials makes this hard but for reasonably high-level behavior this should be ok). I think what I might do is add a |
Summary: Pull Request resolved: pytorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Reviewed By: esantorella Differential Revision: D42024857 fbshipit-source-id: b4804efef87f42cfb49886cbcf40632095da01c3
97db536
to
ea2a59a
Compare
This pull request was exported from Phabricator. Differential Revision: D42024857 |
Summary: Pull Request resolved: pytorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Reviewed By: esantorella Differential Revision: D42024857 fbshipit-source-id: f6d6dc96c3f3fac6b212e0b2b90213efd2217be0
ea2a59a
to
412acaf
Compare
This pull request was exported from Phabricator. Differential Revision: D42024857 |
Summary: X-link: pytorch/botorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Reviewed By: esantorella Differential Revision: D42024857 fbshipit-source-id: 0d4d96a7f17161993775a777b8b148fdcb149017
This pull request has been merged in d23c492. |
Summary: Pull Request resolved: #1352 X-link: pytorch/botorch#1562 Exposes the ability to pass a `timeout_sec` kwarg to `gen_candidates_scipy` and `gen_candidates_torch` that allows to stop the optimization after running for more than `timeout_sec` seconds. Reviewed By: esantorella Differential Revision: D42024857 fbshipit-source-id: ffe12673954b40e803ae86a6a1184b9d2909e69c
Summary: Exposes the ability to pass a
timeout_sec
kwarg togen_candidates_scipy
andgen_candidates_torch
that allows to stop the optimization after running for more thantimeout_sec
seconds.Differential Revision: D42024857