-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error threshold is too low? #12
Comments
The cause of failure is the same (repeated many times over):
As |
Indeed, this fails:
while this doesn't:
|
I smell something fishy, however:
Do you see any pattern? |
The values mismatch at indices |
On HiKey960, the default threshold is good enough with ArmCL v18.05:
|
On Mediatek X20, I could not get any results until rebuilt the library as follows:
Here, the default threshold also didn't cause any problems:
I'm beginning to think that we should not change the threshold.... |
A similar problem on another dataset file?
|
The values mismatch at indices
|
As
However,
|
Changing the seed stops all the above failures:
So perhaps the numerical error accumulates for certain tensor coordinates depending on the seed. Maybe we should just increase it to the maximum value for which no failures happen for the default seed ( |
Mismatches (
Based on these failures, the threshold should be raised to Note that while it also seems to depend on the operator implementation ( |
Yes,
with the same acceptance threshold of
|
Raising the threshold for all tensor shapes in the same way (e.g. from I tried to make the following change locally for
This actually solved the issue so that:
would not fail! However, I noticed that CK still showed the
Moreover, when I tried to set I will try to reproduce this on another shape shortly, but for now I think the behaviour is:
I would prefer the following behavior:
What do you think? |
A program only reads env var |
An interesting case of non-uniform periodic output difference requiring different thresholds:
|
It seems that we need a higher threshold for high values of |
maybe some normalization is needed? |
While running
directconv-armcl-opencl
andconv-armcl-opencl
experiments with ArmCL v18.05, I noticed some validation failures:on the same tensor shape:
The text was updated successfully, but these errors were encountered: