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

[Bugfix] Fix winograd nnpack fp16 #3046

Merged
merged 1 commit into from
Apr 20, 2019
Merged

Conversation

hlu1
Copy link
Contributor

@hlu1 hlu1 commented Apr 19, 2019

Fix a bug in the winograd nnpack code path to pass in the correct winograd_nnpack_algorithm value. I'm not sure how to add tests to make sure this doesn't happen again because the fp16 code has to run on ARM devices.

@hlu1
Copy link
Contributor Author

hlu1 commented Apr 19, 2019

@ajtulloch, please review

@ajtulloch
Copy link
Contributor

@hlu1 you could mock out the call to tvm.contrib.nnpack.convolution_inference_weight_transform
with https://docs.python.org/3/library/unittest.mock.html and verify that it gets called with the correct algorithm value when called in the right autotvm context right?

Copy link
Contributor

@ajtulloch ajtulloch left a comment

Choose a reason for hiding this comment

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

Approved.

@tqchen tqchen merged commit c64a33e into apache:master Apr 20, 2019
@tqchen
Copy link
Member

tqchen commented Apr 20, 2019

Thanks @ajtulloch @hlu1 , this is now merged!

wweic pushed a commit to wweic/tvm that referenced this pull request May 13, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants