Open sumanthratna opened 4 years ago
I have tried on colab with TF version 2.1.0, 2.2.0-rc3 and was able to reproduce the issue.Please, find the gist here.Thanks!
Was able to reproduce the issue in TF 2.14.0-dev20230514,please find the gist here..Thanks !
Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.
I re-ran my minimal reproduction sample and this issue still exists on the latest stable TensorFlow.
System information
Describe the current behavior Using
tf.summary
returnsFalse
inside atf.py_function
when using autograph.Describe the expected behavior
tf.summary
should returnTrue
.Standalone code to reproduce the issue
outputs:
Removing the
tf.function
outputs:Other info / logs Could be related to https://github.com/tensorflow/tensorflow/issues/26409.