Different Behavior of tf.raw_ops.Cos+tf.raw_ops.Erfc with jit_compile=True #62287
Labels
comp:ops
OPs related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF2.14
For issues related to Tensorflow 2.14.x
type:bug
Bug
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?
When the tf.raw_ops.Cos+tf.raw_ops.Erfc operation is invoked within a tf.function with JIT compilation enabled (jit_compile=True), it produces different results compared to the same operation called without JIT compilation. This inconsistency is observed when the code is executed on a CPU device.
The problem occurs when input Tensors pass through tf.raw_ops.Cos+tf.raw_ops.Erfc and raw_ops.Sin. With individual Ops there is no issue.
Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: