Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
Acquisition.optimize
work with discrete optimizer regardless o…
…f whether `num_restarts` is in `optimizer_options` (#3197) Summary: Pull Request resolved: #3197 Context: In `Acquisition.optimize`, we remove `raw_samples` from `optimizer_options` when the discrete optimizer was used (D63035021), but we don't do the same for `num_restarts` even though it is also not supported by the discrete optimizer. This PR: * Removes `num_restarts` from `optimizer_options` when the discrete optimizer is ued * Takes out a TODO to ensure it is never passed in the first place-- not feasible since we won't know if the optimizer is discrete before hitting that point Reviewed By: saitcakmak Differential Revision: D67419600 fbshipit-source-id: df6f4beb06a3bc678337ac563a77d6f2146a25ba
- Loading branch information