Open odashi opened 4 years ago
I have tried in colab with TF 2.3, nightly version( 2.5.0-dev20201125
) and was able to reproduce the issue.Please, find the gist here. Thanks!
@rmothukuru
Thanks for pointing it out. Calling FGile.write()
with an empty string seems to do something to the inner filesystem explicitly by a user. It is still not a desired solution to me -- matching the behavior with open
.
Still an issue in latest tf-nightly 2.10.0.dev2022072808.Please find the gist here.Thank you!
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.
@Venkat6871 The issue is still happening as far as I checked the snippet posted on https://github.com/tensorflow/tensorflow/issues/45171#issuecomment-849382868
System information
Describe the current behavior
tf.io.gfile.GFile
does nothing to the filesystem when it is closed without any write operations:Describe the expected behavior
The same behavior with builtin
open
: creates a file even if no write operation is invoked.Standalone code to reproduce the issue Already described above.
Other info / logs NA