mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user