-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Batch shape missing in TransformedPosterior #1623
Comments
This should be using the batch shape of the underlying posterior. I'll put up a fix in a bit. |
Great! There might be a related shape issue when using a ModuleListGP and a custom ListSampler, use this code to reproduce
Traceback:
I can open a separate issue if you'd like, but I didn't want to add to much to the issues queue |
Nice edge case. I'll put up a fix for that as well |
…mples Summary: See pytorch#1623. This is the only use case for `posterior.batch_shape`, so fixing it locally makes sense to me. Differential Revision: D42421494 fbshipit-source-id: 613ab2aa822d53fda615b53979fba857c9b9c931
Summary: In some cases, we access sampler.sample_shape, which errors out with ListSampler. This adds a property that returns the sample shape of the underlying samplers. See pytorch#1623 (comment) Differential Revision: D42421646 fbshipit-source-id: 826f1d236bafab1fdf8b7e6debc328f2104cfa06
…mples Summary: See pytorch#1623. This is the only use case for `posterior.batch_shape`, so fixing it locally makes sense to me. Differential Revision: D42421494 fbshipit-source-id: 76758b736e4769a7363f61a945c47fba436e3c79
Summary: Pull Request resolved: pytorch#1624 In some cases, we access sampler.sample_shape, which errors out with ListSampler. This adds a property that returns the sample shape of the underlying samplers. See pytorch#1623 (comment) Differential Revision: D42421646 fbshipit-source-id: ce6053edab6ed9450d7c06f57defff556ae2a63f
…mples (pytorch#1625) Summary: Pull Request resolved: pytorch#1625 See pytorch#1623. This is the only use case for `posterior.batch_shape`, so fixing it locally makes sense to me. Differential Revision: D42421494 fbshipit-source-id: 6de08cf0aee948a29f8e128cbded850e2d507608
…mples (pytorch#1625) Summary: Pull Request resolved: pytorch#1625 See pytorch#1623. This is the only use case for `posterior.batch_shape`, so fixing it locally makes sense to me. Reviewed By: Balandat Differential Revision: D42421494 fbshipit-source-id: 2f6afc41c573419e9aa979f34036b7e30a6802d4
Summary: Pull Request resolved: #1624 In some cases, we access sampler.sample_shape, which errors out with ListSampler. This adds a property that returns the sample shape of the underlying samplers. See #1623 (comment) Reviewed By: Balandat Differential Revision: D42421646 fbshipit-source-id: 5e1eddfdb04ecd2cedf8b721d30abd8e1f0c4579
Closing this as both issues got fixed by the linked PRs |
🐛 Bug
I'm getting an error when using Bilog, Power transformations (which return TransformedPosterior objects) with qNoisyExpectedHypervolumeImprovement. Works fine with transforms that return GPyTorchPosterior objects.
To reproduce
** Code snippet to reproduce **
** Stack trace/error message **
Expected Behavior
Successful evaluation of acquisition function
System information
Please complete the following information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: