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
{{ message }}
Repository navigation
Failed to properly clean up all refcounted objects in TF Python tests #2900
#2899 fixed an issue where we used to have two alive contexts for each test: one in cls._tar_modules (created via setUpClass()) and one in self._tar_modules (created via setUp()). It fixes by removing the cls._tar_mdoules. However, this disables module compilation sharing. But, simply switch to always use cls._tar_modules does not work as shown by #2897. This indicates deeper issues in Python layer regarding refcounted object clean up. It might due to Python garbage collection on Python classes (as shown by #2896), or there might be an issue in Python bindings not properly call C/C++ APIs to release objects.
Activity
Avoid recompiling e2e modules with global variables (#2897)
phoenix-meadowlark commentedon Aug 17, 2020
Recompilation is fixed by (an updated) #2897.
benvanik commentedon Nov 22, 2020
Already fixed? @antiagainst @phoenix-meadowlark
phoenix-meadowlark commentedon Nov 22, 2020
Not fixed so much as worked around. We store the pre-compiled modules in
_global*variables instead of on the test case class.Revert "[ci] Allow parallel testing on NVIDIA GPUs" (#5496)
benvanik commentedon Jul 1, 2022
Closing as obsolete.