[Bug]: ModelListGP can't fantisize samples with observation_noise unless masked #2734
Closed
1 task done
Labels
bug
Something isn't working
What happened?
When using the
ModelListGP.fantasize
method, using observation_noise doesn't work, unless the evaluation_mask is also specified.While looping over the outputs, the
observation_noise_i
is only set when there's a mask: https://github.com/pytorch/botorch/blob/main/botorch/models/model.py#L659It should also be set when there's no mask.
Suggested fix, within the corresponding
else
statement, add:Please provide a minimal, reproducible example of the unexpected behavior.
Please paste any relevant traceback/logs produced by the example provided.
BoTorch Version
0.13.0
Python Version
3.11
Operating System
macOS 15.3
Code of Conduct
The text was updated successfully, but these errors were encountered: