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

[r2.5 port][ROCm] Port PR 48336 to r2.5 #48495

Merged
merged 2 commits into from Apr 22, 2021

Conversation

deven-amd
Copy link
Contributor

The default exact-match comparison errros on ROCm for the "acos" op due to mis-compares on one particular value after the 7th decimal value (for float32) and 16th decimal value (for float64). See below.

```
...
...
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 13
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 27
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 41
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 55
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 69
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044724799692630768 not equal to 0.044724646955728531)
Expected: true
i = 83
[  FAILED  ] UnaryOpsTest.AcosDT_FLOATDT_FLOAT (5 ms)
...
...
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 13
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 27
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 41
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 55
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 69
tensorflow/core/framework/tensor_testutil.cc:128: Failure
Value of: IsEqual(Tx[i], Ty[i], t)
  Actual: false (0.044725087168733454 not equal to 0.044725087168733128)
Expected: true
i = 83
[  FAILED  ] UnaryOpsTest.AcosDT_DOUBLEDT_DOUBLE (5 ms)
...
...
```
@google-cla google-cla bot added the cla: yes label Apr 13, 2021
@gbaned gbaned self-assigned this Apr 14, 2021
@gbaned gbaned added the size:S CL Change Size: Small label Apr 14, 2021
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Apr 14, 2021
@gbaned gbaned assigned mihaimaruseac and unassigned gbaned Apr 14, 2021
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Apr 20, 2021
@mihaimaruseac mihaimaruseac merged commit 30afb3b into tensorflow:r2.5 Apr 22, 2021
PR Queue automation moved this from Approved by Reviewer to Merged Apr 22, 2021
@deven-amd deven-amd deleted the google_upstream_r25_port_pr_48336 branch May 12, 2021 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes size:S CL Change Size: Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants