Skip to content

Commit d7edf20

Browse files
saitcakmakfacebook-github-bot
authored andcommitted
Clean up fast computations
Summary: #1547 turned these off by default. No need to turn them off manually anymore. Reviewed By: dme65, Balandat Differential Revision: D42173976 fbshipit-source-id: 4d62006ad829135370b63e6582e1b69528a6ee45
1 parent 5066540 commit d7edf20

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

botorch/acquisition/cached_cholesky.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
from botorch.posteriors.gpytorch import GPyTorchPosterior
2323
from botorch.posteriors.posterior import Posterior
2424
from botorch.utils.low_rank import extract_batch_covar, sample_cached_cholesky
25-
from gpytorch import settings as gpt_settings
2625
from gpytorch.distributions.multitask_multivariate_normal import (
2726
MultitaskMultivariateNormal,
2827
)
@@ -93,8 +92,7 @@ def _compute_root_decomposition(
9392
lazy_covar = extract_batch_covar(posterior.distribution)
9493
else:
9594
lazy_covar = posterior.distribution.lazy_covariance_matrix
96-
with gpt_settings.fast_computations.covar_root_decomposition(False):
97-
lazy_covar_root = lazy_covar.root_decomposition()
95+
lazy_covar_root = lazy_covar.root_decomposition()
9896
return lazy_covar_root.root.to_dense()
9997

10098
def _get_f_X_samples(self, posterior: GPyTorchPosterior, q_in: int) -> Tensor:

0 commit comments

Comments
 (0)