-
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
Follow-ups from D40783106 (fantasize refactor) #1479
Conversation
This pull request was exported from Phabricator. Differential Revision: D41053234 |
Codecov Report
@@ Coverage Diff @@
## main #1479 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 134 134
Lines 12397 12408 +11
=========================================
+ Hits 12397 12408 +11
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@esantorella has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Summary: see T137147547 Remove inappropriate subclassing of `SingleTaskGP` (and clean up associated to-dos) [x] Make `HeteroskedasticSingleTaskGP` not a subclass of `SingleTaskGP` since it can't `fantasize` [x] Make `SaasFullyBayesianSingleTaskGP` not a subclass of `SingleTaskGP` since it can't `fantasize` [x] Fix downstream problems in multiple dispatched this caused.... Add `fantasize` back to classes that weren't using it, but can call it and used to have it [x] Make `MultiTaskGP` have a `fantasize` method (debatable! it used to have one, but wasn't used) [x] Restore `fantasize` method with `NotImplementedError` to `SaasFullyBayesianMultiTaskGP` (as a result of adding `fantasize` to `MultiTaskGP`) [x] Make `KroneckerMultiTaskGP` have a `fantasize` method (debatable! it used to have one, but wasn't used) Pull Request resolved: pytorch#1479 Differential Revision: D41053234 Pulled By: esantorella fbshipit-source-id: 6f422916b7ae20fe8235b280e4b917055cfab5d1
1a5d04e
to
dd54803
Compare
This pull request was exported from Phabricator. Differential Revision: D41053234 |
Summary: see T137147547 Remove inappropriate subclassing of `SingleTaskGP` (and clean up associated to-dos) [x] Make `HeteroskedasticSingleTaskGP` not a subclass of `SingleTaskGP` since it can't `fantasize` [x] Make `SaasFullyBayesianSingleTaskGP` not a subclass of `SingleTaskGP` since it can't `fantasize` [x] Fix downstream problems in multiple dispatched this caused.... Add `fantasize` back to classes that weren't using it, but can call it and used to have it [x] Make `MultiTaskGP` have a `fantasize` method (debatable! it used to have one, but wasn't used) [x] Restore `fantasize` method with `NotImplementedError` to `SaasFullyBayesianMultiTaskGP` (as a result of adding `fantasize` to `MultiTaskGP`) [x] Make `KroneckerMultiTaskGP` have a `fantasize` method (debatable! it used to have one, but wasn't used) Pull Request resolved: pytorch#1479 Reviewed By: saitcakmak Differential Revision: D41053234 Pulled By: esantorella fbshipit-source-id: 2616ec741cf93504c8e709002cb0de88d69f3adb
dd54803
to
41c4f90
Compare
This pull request was exported from Phabricator. Differential Revision: D41053234 |
Summary:
see T137147547
[x] Make
HeteroskedasticSingleTaskGP
not a subclass ofSingleTaskGP
since it can'tfantasize
[x] Make
SaasFullyBayesianSingleTaskGP
not a subclass ofSingleTaskGP
since it can'tfantasize
[x] Make
MultiTaskGP
have afantasize
method (debatable! it used to have one, but wasn't used)[x] Restore
fantasize
method withNotImplementedError
toSaasFullyBayesianMultiTaskGP
(as a result of addingfantasize
toMultiTaskGP
)[x] Make
KroneckerMultiTaskGP
have afantasize
method (debatable! it used to have one, but wasn't used)[x] Clean up some especially annoying type errors so I can use Pyre for my own use
Differential Revision: D41053234