-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Override tests in test/test_overrides.py failing for some functions #74122
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
Labels
module: tests
Issues related to tests (not the torch.testing module)
module: __torch_function__
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Comments
cc @albanD |
peterbell10
added a commit
that referenced
this issue
Mar 14, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 14, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 14, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 15, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 17, 2022
…TestTorchFunctionOverride" Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 17, 2022
…nOverride" Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 17, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 17, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 18, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 18, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 19, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Mar 19, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
to peterbell10/pytorch
that referenced
this issue
Apr 3, 2022
Fixes pytorch#74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. ghstack-source-id: 11dd6bd Pull Request resolved: pytorch#74202
peterbell10
added a commit
that referenced
this issue
Apr 3, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
peterbell10
added a commit
that referenced
this issue
Apr 3, 2022
Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. [ghstack-poisoned]
facebook-github-bot
pushed a commit
that referenced
this issue
Apr 5, 2022
Summary: Fixes #74122 This re-enables TestTorchFunctionOverride and fixes a bunch of test failures that had crept in while it was disabled. Pull Request resolved: #74202 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/bf16552617e0f82e6963762b6d40a8ae39105fae Reviewed By: atalman Differential Revision: D35359961 fbshipit-source-id: 39e7028618c4f4020a6fe57f0afd3901b84b28f6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
module: tests
Issues related to tests (not the torch.testing module)
module: __torch_function__
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
generate_tensor_like_override_tests(TestTorchFunctionOverride)
intest/test_overrides.py
was disabled since #64841. As a result, the associated tests have not been run since then. Re-enabling this in #74121 surfaced issues, particularly withThese are skipped for now but should be fixed, opening this issue to track.
2022-03-11T20:23:14.4580034Z ERROR [0.001s]: test_torch_functional_histogramdd (main.TestTorchFunctionOverride)
2022-03-11T20:23:14.4580499Z ----------------------------------------------------------------------
2022-03-11T20:23:14.4580766Z Traceback (most recent call last):
2022-03-11T20:23:14.4580990Z File "test_overrides.py", line 646, in test
2022-03-11T20:23:14.4581189Z ret = func(*func_args, **kwargs)
2022-03-11T20:23:14.4581762Z File "/opt/conda/lib/python3.7/site-packages/torch/functional.py", line 464, in histogramdd
2022-03-11T20:23:14.4582024Z if bins and isinstance(bins[0], int):
2022-03-11T20:23:14.4582308Z TypeError: 'TensorLike' object is not subscriptable
2022-03-11T20:23:14.4582453Z
2022-03-11T20:23:14.4582543Z ======================================================================
2022-03-11T20:23:14.4582785Z FAIL [0.001s]: test_Tensor_storage_type (main.TestTorchFunctionOverride)
2022-03-11T20:23:14.4583150Z ----------------------------------------------------------------------
2022-03-11T20:23:14.4583385Z Traceback (most recent call last):
2022-03-11T20:23:14.4583601Z File "test_overrides.py", line 655, in test
2022-03-11T20:23:14.4583832Z self.assertEqual(ret, -1)
2022-03-11T20:23:14.4584208Z File "/opt/conda/lib/python3.7/site-packages/torch/testing/_internal/common_utils.py", line 2154, in assertEqual
2022-03-11T20:23:14.4584470Z msg=msg,
2022-03-11T20:23:14.4584794Z File "/opt/conda/lib/python3.7/site-packages/torch/testing/_comparison.py", line 1074, in assert_equal
2022-03-11T20:23:14.4585070Z raise error_metas[0].to_error()
2022-03-11T20:23:14.4585349Z AssertionError: Object comparison failed: <class 'int'> != -1
2022-03-11T20:23:14.4585502Z
Versions
CI
cc @mruberry @hameerabbasi @rgommers @peterbell10
The text was updated successfully, but these errors were encountered: