Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise FullyBayesianPosterior deprecation warning only when used (#2004)
Summary: Pull Request resolved: #2004 X-link: pytorch/botorch#2116 Currently, this warns on import, which leads to excessive warnings since it is imported in the `__init__` file. Moving to `FullyBayesianPosterior.__init__` resolves the issue. Reviewed By: Balandat, esantorella Differential Revision: D51445186 fbshipit-source-id: 58a2137ad7d1b79d391e606e601e600bf35b9656
- Loading branch information