You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume that you're attempting to apply the patch function from the PyPI distribution. We have paused development in the middle of a major update and will not be able to make changes to the PyPI distribution anytime soon. However, even if version 1.9 of TensorFlow had a version attribute, and therefore didn't exit with a TypeError for that reason, the patch code would proceed to exit with another TypeError and a message saying, "No patch available for version 1.9 of TensorFlow".
The patch function is not intended to be executed on any NGC TensorFlow containers nor on versions of stock TensorFlow earlier than 1.14 and is designed to throw a TypeError if that is attempted.
I hope this helps. I'm going to close this issue, but I'm happy to continue this discussion, if you wish.
Actually, I'm going to leave this open so that it serves as a marker to possibly address this issue in a future release. We could check if there is a version attribute and if there is none then we could assume that the TensorFlow version is earlier than 1.14.
duncanriach
changed the title
Support for TF1.9
Early versions of TensorFlow (e.g. 1.9) do not have a version attribute.
Aug 17, 2021
duncanriach
changed the title
Early versions of TensorFlow (e.g. 1.9) do not have a version attribute.
Early versions of TensorFlow (e.g. 1.9) do not have a version attribute
Aug 17, 2021
I am getting AttributeError for tf 1.9, saying that tensorflow doesn't have "version" as attribute.
Can you help?
The text was updated successfully, but these errors were encountered: