-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Hexagon] Fix correctness error in conv2d hvx #13165
[Hexagon] Fix correctness error in conv2d hvx #13165
Conversation
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment. Generated by tvm-bot |
I'm still seeing some failures with this change on our HDK. What is your hardware setup? For example: TestConv2dIntrin.test_conv2d[offset0x0-nhwc1x14x6x3-hwio3x3x3x64-stride1x1] |
Oh that's surprising. I ran it multiple times on lahaina (v68) devices and never got any errors. I'll try to run it on other devices and see if I can reproduce this error. |
The output vector was not initialized to zero and that was causing incorrect output on target intermittently, but was always working on simulator. This patch fixes the error and enables the test case again
50db66f
to
b4505e4
Compare
Hi @janetsc, could you please share your device details, as I'm unable to reproduce the issue on my devices. I'm testing on v68 (lahaina) devices, and the tests are always passing for me on these devices, so need a little bit of help in reproducing the error you're seeing. |
I re-ran on a v69 device, and it is now passing. Sorry for the confusion previously - it is possible something didn't get updated on the device when I tried before. I will sign off. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and verified - looks good
Thanks for the review |
The output vector was not initialized to zero and that was causing incorrect output on target intermittently, but was always working on simulator. This patch fixes the error and enables the test case again
The output vector was not initialized to zero and that was causing incorrect output on target intermittently, but was always working on simulator. This patch fixes the error and enables the test case again
The output vector was not initialized to zero and that was causing incorrect output on target intermittently, but was always working on simulator. This patch fixes the error and enables the test case again