Skip to content

Conversation

@YXY-0922
Copy link
Contributor

@YXY-0922 YXY-0922 commented Jul 18, 2024

For a conv2d workload that requires padding:

Details

Test Script: test_padded_conv
Location: tests/python/meta_schedule/test_meta_schedule_schedule_rule_mlt_tc.py

mod = te.create_prim_func(
    te_workload.conv2d_nhwc(
        1,
        224,
        224,
        3,
        64,
        7,
        2,
        3,
        in_dtype="float16",
        out_dtype="float32",
    )
)

This configuration sets up a conv2d workload where the product of reduce axes is 147. Therefore, padding is needed when applying the rule multi_level_tiling_tensorcore.

@YXY-0922 YXY-0922 closed this Jul 18, 2024
@YXY-0922 YXY-0922 reopened this Jul 18, 2024
Copy link
Contributor

@cbalint13 cbalint13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cbalint13
Copy link
Contributor

@YXY-0922 ,

Thank you very much for the fix and the test case assurance !

This is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants