-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[microNPU] Set output tolerance of codegen and network tests to 0 #10675
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
Conversation
cd65869 to
4797434
Compare
|
Can you check if we need these two output tolerances?
|
|
Thanks for pointing these out @NicolaLancellotti! The identity tolerance cannot be changed since the output can be slightly different compared to the numpy reference due to quantization (cc @ekalda). However, we should be able to remove the tolerance from max. I'll update after #10762 to save an additional rebase :) |
After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added. Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM. Change-Id: Idcf408b84c67456d16da5d61f4865eb8b6042554
4797434 to
563e6f0
Compare
|
After #10889 this should now pass CI |
NicolaLancellotti
left a comment
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.
LGTM!
Change-Id: I174cc48a47c75590f76e0ee2a9634547b2442e87
Mousius
left a comment
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.
LGTM!
|
Nice to see zero tolerance @lhutton1 / @NicolaLancellotti 😸 |
…ache#10675) After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added. Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM.
…ache#10675) After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added. Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM.
…ache#10675) After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added. Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM.
…ache#10675) After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added. Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM.
After the recent upgrade of Tensorflow to 2.6, we are now able to use reference kernels in order to verify the output. Thus, removing the tolerances previously added.
Additionally, the network tests have been altered to use TFLite as a reference, rather than TVM.
cc @manupa-arm @ekalda @NicolaLancellotti @dchauhan-arm