mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[ez] Add super().setUp() in test_ops::TestFakeTensor (#157475)
Noticed some disable issues getting a bunch of comments, so I took a look One day I'll write a better check for this Pull Request resolved: https://github.com/pytorch/pytorch/pull/157475 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
e20784f228
commit
6f60cfe9b1
@ -2570,6 +2570,7 @@ fake_autocast_backward_xfails = {
|
||||
@unMarkDynamoStrictTest
|
||||
class TestFakeTensor(TestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
# Turn on FakeTensor caching and cross-checking for these tests:
|
||||
cache_enabled = unittest.mock.patch(
|
||||
"torch._dynamo.config.fake_tensor_cache_enabled", True
|
||||
|
Reference in New Issue
Block a user