File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151from ax .utils .testing .torch_stubs import get_torch_test_data
5252from ax .utils .testing .utils import generic_equals
5353from botorch .exceptions .errors import ModelFittingError
54- from botorch .models import ModelListGP , SaasFullyBayesianSingleTaskGP , SingleTaskGP
54+ from botorch .models import ModelListGP , SingleTaskGP
5555from botorch .models .deterministic import GenericDeterministicModel
56+ from botorch .models .fully_bayesian import SaasFullyBayesianSingleTaskGP
5657from botorch .models .fully_bayesian_multitask import SaasFullyBayesianMultiTaskGP
5758from botorch .models .gp_regression_mixed import MixedSingleTaskGP
5859from botorch .models .model import Model , ModelList # noqa: F401 -- used in Mocks.
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ def test_fully_bayesian_mocks(self) -> None:
5656 "kernel_tausq" : jnp .ones (num_mcmc_samples ),
5757 "_kernel_inv_length_sq" : jnp .ones ((num_mcmc_samples , dim )),
5858 }
59- with patch ("botorch.fit .MCMC" ) as mock_mcmc :
59+ with patch ("numpyro.infer .MCMC" ) as mock_mcmc :
6060 mock_mcmc .return_value .get_samples .return_value = mock_samples
6161 with mock_botorch_optimize_context_manager ():
6262 Generators .SAASBO (experiment = experiment , data = experiment .lookup_data ())
You can’t perform that action at this time.
0 commit comments