Skip to content

Commit 2c48015

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 17830d4 commit 2c48015

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

botorch/fit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from botorch.models import SingleTaskGP
2424
from botorch.models.approximate_gp import ApproximateGPyTorchModel
2525
from botorch.models.fully_bayesian import (
26+
FullyBayesianLinearSingleTaskGP,
2627
FullyBayesianSingleTaskGP,
2728
SaasFullyBayesianSingleTaskGP,
2829
)
@@ -337,7 +338,9 @@ def _fit_fallback_approximate(
337338

338339

339340
def fit_fully_bayesian_model_nuts(
340-
model: FullyBayesianSingleTaskGP | SaasFullyBayesianMultiTaskGP,
341+
model: FullyBayesianLinearSingleTaskGP
342+
| FullyBayesianSingleTaskGP
343+
| SaasFullyBayesianMultiTaskGP,
341344
max_tree_depth: int = 6,
342345
warmup_steps: int = 512,
343346
num_samples: int = 256,

0 commit comments

Comments
 (0)