unMarkDynamoStrictTest on OpInfo-based tests (#115856)

These take too long to run under strict mode. We'll worry about them
later. Note that these decorators don't do anything yet (unless we flip
the default from non-strict to strict).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/115856
Approved by: https://github.com/voznesenskym
ghstack dependencies: #115845, #115855
This commit is contained in:
rzou
2023-12-14 10:59:59 -08:00
committed by PyTorch MergeBot
parent 0722ce35f5
commit 3477a2ee03
8 changed files with 21 additions and 1 deletions

View File

@ -13,7 +13,7 @@ from torch.testing._internal.common_device_type import instantiate_device_type_t
from torch.testing._internal.common_jit import JitCommonTestCase, check_against_reference
from torch.testing._internal.jit_metaprogramming_utils import create_script_fn, create_traced_fn, check_alias_annotation
from torch.testing._internal.jit_utils import disable_autodiff_subgraph_inlining, is_lambda
from torch.testing._internal.common_utils import unMarkDynamoStrictTest
# variant testing is only done with torch.float and torch.cfloat to avoid
# excessive test times and maximize signal to noise ratio
@ -27,6 +27,7 @@ _variant_ops = partial(ops, dtypes=OpDTypes.supported,
# autodifferentiation behavior.
# Inherits from JitCommonTestCase instead of TestCase directly to share
# functionality with original test_jit.py method operator tests
@unMarkDynamoStrictTest
class TestJit(JitCommonTestCase):
exact_dtype = True