Closed slishak-PX closed 1 week ago
Hi @slishak-PX,
Thanks for flagging this. The docstring for batch_cross_validation
says that MultiTaskGPs are not supported, but we should raise an UnsupportedError
too. I'll put up a PR to add that.
The following snippet also causes the same error, suggesting that the problem is that KroneckerMultiTaskGP does not correctly support batching.
Interesting. Have you looked into this any deeper? If you have an idea of the fix, I'd be happy to review a PR. Also curious if @jandylin has any idea
Thanks for flagging this. The docstring for
batch_cross_validation
says that MultiTaskGPs are not supported, but we should raise anUnsupportedError
too. I'll put up a PR to add that.
Sorry, I should have read more carefully - I think my attention was drawn by the "WARNING" at the top and then I forgot to read the rest!
Interesting. Have you looked into this any deeper? If you have an idea of the fix, I'd be happy to review a PR. Also curious if @jandylin has any idea
I haven't investigated more deeply yet, but I've tried evaluating the posterior with inputs of multiple batch dimensions, and the same error appears.
🐛 Bug
When trying to use
batch_cross_validation
to fit aKroneckerMultiTaskGP
, a batch shape error occurs.The code snippet below uses a similar example to https://botorch.org/tutorials/batch_mode_cross_validation.
The following snippet also causes the same error, suggesting that the problem is that
KroneckerMultiTaskGP
does not correctly support batching.To reproduce
Code snippet to reproduce
Stack trace/error message
Expected Behavior
System information
Please complete the following information:
Standardize
)Additional context
Add any other context about the problem here.