-
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
Don't do a BotorchTensorDimensionWarning when the dimensions are fine #1790
Conversation
This pull request was exported from Phabricator. Differential Revision: D45006263 |
Codecov Report
@@ Coverage Diff @@
## main #1790 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 170 170
Lines 14779 14779
=========================================
Hits 14779 14779
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…pytorch#1790) Summary: Pull Request resolved: pytorch#1790 The status quo behavior of `_validate_tensor_args` in non-strict mode is to raise an error regardless of whether there would have been an error in strict mode. This change makes it so that there is only a warning in non-strict mode when there would have been an error in strict mode Reviewed By: Balandat Differential Revision: D45006263 fbshipit-source-id: 366084a13c7247bd7e5463db812191fbb7e73f57
15847d6
to
f02f1e1
Compare
This pull request was exported from Phabricator. Differential Revision: D45006263 |
…pytorch#1790) Summary: Pull Request resolved: pytorch#1790 The status quo behavior of `_validate_tensor_args` in non-strict mode is to raise an error regardless of whether there would have been an error in strict mode. This change makes it so that there is only a warning in non-strict mode when there would have been an error in strict mode Reviewed By: Balandat Differential Revision: D45006263 fbshipit-source-id: cc3aad30df31f535d692facf34cb6f7b52e4cebd
f02f1e1
to
0b8f8eb
Compare
This pull request was exported from Phabricator. Differential Revision: D45006263 |
…pytorch#1790) Summary: Pull Request resolved: pytorch#1790 The status quo behavior of `_validate_tensor_args` in non-strict mode is to raise an error regardless of whether there would have been an error in strict mode. This change makes it so that there is only a warning in non-strict mode when there would have been an error in strict mode Reviewed By: Balandat Differential Revision: D45006263 fbshipit-source-id: 46d7a314b880659dd7b99e7057e1f8452ca222e7
0b8f8eb
to
bc06ad8
Compare
This pull request was exported from Phabricator. Differential Revision: D45006263 |
This pull request has been merged in ee48d4a. |
Summary: The status quo behavior of
_validate_tensor_args
in non-strict mode is to raise an error regardless of whether there would have been an error in strict mode. This change makes it so that there is only a warning in non-strict mode when there would have been an error in strict modeReviewed By: Balandat
Differential Revision: D45006263