Skip to content

Commit f054be2

Browse files
sdaultonfacebook-github-bot
authored andcommitted
update dispatch/storage for new Fully Bayesian models/refactor (pytorch#2857)
Summary: X-link: facebook/Ax#3806 see title Reviewed By: Balandat Differential Revision: D74824675
1 parent e4a056a commit f054be2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

botorch/fit.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from botorch.models import SingleTaskGP
2424
from botorch.models.approximate_gp import ApproximateGPyTorchModel
2525
from botorch.models.fully_bayesian import (
26-
FullyBayesianSingleTaskGP,
26+
AbstractFullyBayesianSingleTaskGP,
2727
SaasFullyBayesianSingleTaskGP,
2828
)
2929
from botorch.models.fully_bayesian_multitask import SaasFullyBayesianMultiTaskGP
@@ -337,7 +337,7 @@ def _fit_fallback_approximate(
337337

338338

339339
def fit_fully_bayesian_model_nuts(
340-
model: FullyBayesianSingleTaskGP | SaasFullyBayesianMultiTaskGP,
340+
model: AbstractFullyBayesianSingleTaskGP | SaasFullyBayesianMultiTaskGP,
341341
max_tree_depth: int = 6,
342342
warmup_steps: int = 512,
343343
num_samples: int = 256,
@@ -349,7 +349,7 @@ def fit_fully_bayesian_model_nuts(
349349
350350
351351
Args:
352-
model: SaasFullyBayesianSingleTaskGP to be fitted.
352+
model: Fully Bayesian GP to be fitted.
353353
max_tree_depth: Maximum tree depth for NUTS
354354
warmup_steps: The number of burn-in steps for NUTS.
355355
num_samples: The number of MCMC samples. Note that with thinning,

0 commit comments

Comments
 (0)