-
Notifications
You must be signed in to change notification settings - Fork 74k
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
Different behaviors of raw_ops.Sigmoid can be observed when jitcompiled=true. #62212
Comments
Hi @zoux1a , The assertion is failing because here the inputs are complex dtypes and Sigmoid Op is converting this to If we convert input from complex to float32 then the results are same. I have taken a simple input and attached my observations in the gist. IMO, there is some inconsistency in Sigmoid Op with complex dtypes causing this behaviour. Escalating the issue to SME for their comments. |
Fix is now in Eigen: https://gitlab.com/libeigen/eigen/-/merge_requests/1431 Will take a few weeks to propagate to TF. |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
11.8
GPU model and memory
GPU 0: NVIDIA GeForce RTX 2070 GPU 1: NVIDIA GeForce RTX 2070 GPU 2: NVIDIA GeForce RTX 2070 GPU 3: NVIDIA GeForce RTX 2070
Current behavior?
In TensorFlow, enabling jitcompiled results in inconsistent behavior of raw_ops.Sigmoid.
Standalone code to reproduce the issue
I can reproduce this issue on colab: https://colab.research.google.com/drive/16gZRKnhRtqUBJiUQEobXCrjt3B4-w8hS?usp=sharing
Relevant log output
The text was updated successfully, but these errors were encountered: