[dynamo, 3.12] enable tests disabled due to missing dynamo 3.12 support (#123300)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/123300
Approved by: https://github.com/jansel, https://github.com/malfet, https://github.com/zou3519
This commit is contained in:
William Wen
2024-04-04 16:58:26 -07:00
committed by PyTorch MergeBot
parent ae6f8d923c
commit cbde0f048b
26 changed files with 6 additions and 132 deletions

View File

@ -39,7 +39,6 @@ import itertools
import functools
from functools import partial
import unittest
import sys
aten = torch.ops.aten
@ -1047,7 +1046,6 @@ class HasDecompTest(TestCase):
self.assertExpected("".join(sorted(op.name() + "\n" for op in core_aten_ops)))
@unittest.skipIf(IS_WINDOWS, "torch.compile not supported on windows")
@unittest.skipIf(sys.version_info >= (3, 12), "torch.compile is not supported on python 3.12+")
def test_compile_rrelu(self):
def f(x):
return torch.rrelu(x)