Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][ConvertLayout] Fix qnn.conv2d layout conversion too many values to unpack #6442

Merged
merged 1 commit into from Sep 16, 2020

Conversation

lhutton1
Copy link
Contributor

This patch follows a previous bugfix in #6419. I made a very simple oversight for qnn.conv2d in that tinfos also contains qnn parameters. Therefore, we need to extract data_info and weight_info differently.

cc @leandron @anijain2305 @JoeyTPChou

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

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

After applying this patch, I can successfully run the tests from #6302, that were reproducing this problem.

LGTM

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

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

LGTM

@masahi
Copy link
Member

masahi commented Sep 11, 2020

please wait until we merge #6448 first.

… to unpack

This patch follows a previous bugfix in apache#6419. I made a very simple oversight for qnn.conv2d in that tinfos also contains qnn parameters. Therefore, we need to extract data_info and weight_info differently.

Change-Id: Ib0ad01f427543371380d0bb604a77b5e0ec1103d
@masahi masahi merged commit bdfefbb into apache:master Sep 16, 2020
@masahi
Copy link
Member

masahi commented Sep 16, 2020

Thanks @lhutton1 @anijain2305 @comaniac @leandron

lhutton1 added a commit to lhutton1/tvm that referenced this pull request Sep 16, 2020
After apache#6442 was merged, black started complaining about formatting of test_pass_convert_op_layout.py. Format here.

Change-Id: I04346fa06e22b722b619488b895b47c6943e3fd9
masahi pushed a commit that referenced this pull request Sep 16, 2020
After #6442 was merged, black started complaining about formatting of test_pass_convert_op_layout.py. Format here.

Change-Id: I04346fa06e22b722b619488b895b47c6943e3fd9
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 17, 2020
… to unpack (apache#6442)

This patch follows a previous bugfix in apache#6419. I made a very simple oversight for qnn.conv2d in that tinfos also contains qnn parameters. Therefore, we need to extract data_info and weight_info differently.

Change-Id: Ib0ad01f427543371380d0bb604a77b5e0ec1103d
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 17, 2020
After apache#6442 was merged, black started complaining about formatting of test_pass_convert_op_layout.py. Format here.

Change-Id: I04346fa06e22b722b619488b895b47c6943e3fd9
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 18, 2020
… to unpack (apache#6442)

This patch follows a previous bugfix in apache#6419. I made a very simple oversight for qnn.conv2d in that tinfos also contains qnn parameters. Therefore, we need to extract data_info and weight_info differently.

Change-Id: Ib0ad01f427543371380d0bb604a77b5e0ec1103d
kevinthesun pushed a commit to kevinthesun/tvm that referenced this pull request Sep 18, 2020
After apache#6442 was merged, black started complaining about formatting of test_pass_convert_op_layout.py. Format here.

Change-Id: I04346fa06e22b722b619488b895b47c6943e3fd9
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 18, 2020
… to unpack (apache#6442)

This patch follows a previous bugfix in apache#6419. I made a very simple oversight for qnn.conv2d in that tinfos also contains qnn parameters. Therefore, we need to extract data_info and weight_info differently.

Change-Id: Ib0ad01f427543371380d0bb604a77b5e0ec1103d
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Sep 18, 2020
After apache#6442 was merged, black started complaining about formatting of test_pass_convert_op_layout.py. Format here.

Change-Id: I04346fa06e22b722b619488b895b47c6943e3fd9
@lhutton1 lhutton1 deleted the fix-too-many-values branch September 23, 2020 10:27
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.

None yet

5 participants