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
tf.sparse_tensor_dense_matmul makes small errors with tf.float32 matrices on GPU #18037
Comments
After further test, I found that float64 also has the same problem, if the dense shape fo the sparse matrix is large enough. |
Any updates regarding with this issue? |
Assigning to @asimshankar, who might be able to find someone to take a look. |
@zheng-xq for triage |
Hi, @wenscarl and I have reproduced this nondeterminism for fp32. We were not able to repro for fp64, and there does not seem to be any code above showing how to do that. We're reasonably confident that the source of nondeterminism is the use of CUDA Also, this source of nondeterminism has been documented in github/NVIDIA/framework-determinism. |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you. |
Closing as stale. Please reopen if you'd like to work on this further. |
System information
Describe the problem
Source code / logs
Run the code several times, you will see that the product will vary slightly. like this:
This only happens on GPU with float32. It should be a bug I guess.
The text was updated successfully, but these errors were encountered: