Skip to content

Commit

Permalink
#0: Skip failing resnet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tapspatel committed Jun 7, 2024
1 parent 2471a3c commit 5e55ea4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def custom_preprocessor(model, name, ttnn_module_args):


@skip_for_wormhole_b0()
@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.parametrize("device_params", [{"l1_small_size": 24576}], indirect=True)
def test_basic_block(device):
torch.manual_seed(0)
Expand Down Expand Up @@ -158,6 +159,7 @@ def test_basic_block(device):


@skip_for_wormhole_b0()
@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.parametrize("device_params", [{"l1_small_size": 24576}], indirect=True)
def test_basic_block_with_downsample(device):
torch.manual_seed(0)
Expand Down Expand Up @@ -208,6 +210,7 @@ def conv1x1(in_planes: int, out_planes: int, stride: int = 1) -> torch.nn.Conv2d


@skip_for_wormhole_b0()
@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.parametrize("device_params", [{"l1_small_size": 24576}], indirect=True)
def test_resnet_conv7s2(device):
in_planes = 64
Expand Down Expand Up @@ -244,6 +247,7 @@ def test_resnet_conv7s2(device):


@skip_for_wormhole_b0()
@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.skip(reason="#7681: Failing with shape volume mismatch")
@pytest.mark.parametrize("device_params", [{"l1_small_size": 24576}], indirect=True)
def test_resnet(device):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ def create_test_infra(device, batch_size, act_dtype, weight_dtype, math_fidelity
return ResNet50TestInfra(device, batch_size, act_dtype, weight_dtype, math_fidelity)


@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.parametrize(
"device_params", [{"l1_small_size": 24576}], ids=["device_params=l1_small_size_24576"], indirect=True
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ def create_test_infra(device, batch_size, act_dtype, weight_dtype, math_fidelity
return ResNet50TestInfra(device, batch_size, act_dtype, weight_dtype, math_fidelity)


@skip_for_grayskull("#9168: Resnet50 performance test failing after removing 1x1s2 matmul fallback into conv")
@pytest.mark.parametrize("device_params", [{"l1_small_size": 24576}], indirect=True)
@pytest.mark.parametrize(
"batch_size, act_dtype, weight_dtype, math_fidelity",
Expand Down

0 comments on commit 5e55ea4

Please sign in to comment.