You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed condition_on_observations in fully Bayesian models (#2151)
Summary:
## Motivation
Conditioning on observations in fully bayesian models - enables fully Bayesian JES & KG(?).
### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)?
Yes.
Pull Request resolved: #2151
Test Plan:
Tests are written to ensure functionality for inferred and fixed noise. __note that the `_aug_batch_shape` attribute assignment was removed in `condition_on_observations`.__ In `FullyBayesianGPs`, this argument could not be assigned (hence the removal). I could not find the use for this argument, and all tests passed when removing it.
Other changes are commented throughout, and the changes were made so as to assure that FBGPs can have one set of training data throughout. Howver, conditioning on obervations adds a batch dim to the training data (which is necessary in GPyTorch [here](https://github.com/cornellius-gp/gpytorch/blob/58c033564d28a5537397bc464827783313534e56/gpytorch/models/exact_gp.py#L176)) to infer the correct batch dim.
Reviewed By: dme65
Differential Revision: D52256296
Pulled By: saitcakmak
fbshipit-source-id: e340897d76e02c32ef7a981bef8a77c49e030ad1
0 commit comments