Skip to content

Conversation

@anijain2305
Copy link
Contributor

@anijain2305 anijain2305 commented Sep 16, 2019

Couple of changes

  • Legalize and Alter op layout in a separate file for better organization.
  • For Int8, legalize pass that inserts pad for cases where input channel is not multiple of 4 and output_channel is not multiple of 16.
  • Fallback schedule for Int8 - as the ic_bn % 4 == 0 and oc_bn % 16 == 0
  • Sweep tests for int8 over input channel, output channel and layout

@yzhliu @kevinthesun

@anijain2305 anijain2305 force-pushed the legal_int8 branch 5 times, most recently from 003c628 to db1f46a Compare September 17, 2019 22:50
# specific language governing permissions and limitations
# under the License.
# pylint: disable=invalid-name,unused-variable,unused-argument,no-member
"""Conv2D alter op and legalize functions for x86"""
Copy link
Member

Choose a reason for hiding this comment

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

should we name the file "conv2d_alter_op.py" instead (as it contains legalize)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@yzhliu yzhliu merged commit b0ddcff into apache:master Sep 19, 2019
@yzhliu
Copy link
Member

yzhliu commented Sep 19, 2019

Thanks @anijain2305

tqchen pushed a commit to tqchen/tvm that referenced this pull request Sep 20, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 30, 2019
wweic pushed a commit to wweic/tvm that referenced this pull request Sep 30, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Oct 1, 2019
@anijain2305 anijain2305 deleted the legal_int8 branch November 13, 2019 00:31
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