mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Roll back f92a70a41e
Reverts bb4382f0bce074ab081e1e02871e32ba331d1d46 PiperOrigin-RevId: 569292433
This commit is contained in:
parent
4b107f8f7d
commit
8bfe3b92bc
@ -742,7 +742,8 @@ class CPPJitTest(jtu.BufferDonationTestCase):
|
||||
assert x() is not None # x is still around
|
||||
g() # g still runs
|
||||
del g # no more references to x
|
||||
gc.collect() # garbage collect the executable.
|
||||
if jax._src.lib.xla_extension_version < 200:
|
||||
gc.collect() # garbage collect the executable.
|
||||
assert x() is None # x is gone
|
||||
|
||||
def test_jit_of_nonweakreferenceable_function(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user