mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[codemod] markDynamoStrictTest batch 22 (#117729)
[codemod] markDynamoStrictTest test_autograd [codemod] markDynamoStrictTest test_ao_sparsity [codemod] markDynamoStrictTest test_jit [codemod] markDynamoStrictTest test_quantization Pull Request resolved: https://github.com/pytorch/pytorch/pull/117729 Approved by: https://github.com/bdhirsh
This commit is contained in:
@ -6,7 +6,7 @@ from typing import NamedTuple, List
|
||||
import torch
|
||||
from torch import nn
|
||||
|
||||
from torch.testing._internal.common_utils import run_tests
|
||||
from torch.testing._internal.common_utils import run_tests, skipIfTorchDynamo
|
||||
from torch.testing._internal.jit_utils import JitTestCase
|
||||
|
||||
from test_tensorexpr import warmup_and_run_forward
|
||||
@ -22,6 +22,7 @@ class PointwisePostOp(NamedTuple):
|
||||
CONV_MODULES = {2: torch.nn.Conv2d, 3: torch.nn.Conv3d}
|
||||
CONV_TRANSPOSE_MODULES = {2: torch.nn.ConvTranspose2d}
|
||||
|
||||
@skipIfTorchDynamo("too slow")
|
||||
@unittest.skipIf(not torch.backends.mkldnn.is_available(), "MKL-DNN build is disabled")
|
||||
class TestMkldnnFusion(JitTestCase):
|
||||
def assertFused(self, graph, fused_patterns):
|
||||
|
Reference in New Issue
Block a user