Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detach fval in torch_minimize to avoid memory leak (#2529)
Summary: ## Motivation This fixes #2526 ### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes. Pull Request resolved: #2529 Test Plan: The tests are passing. ## Related PRs N/A Reviewed By: esantorella Differential Revision: D62529029 Pulled By: Balandat fbshipit-source-id: 50da389d8a01659e5b510ac27c25363fc25af207
- Loading branch information