Commit 044fe4cb authored by Allen Lavoie's avatar Allen Lavoie Committed by TensorFlower Gardener
Browse files

Fix some summary collection leaks when executing eagerly

Also modifies the assert_no_new_pyobjects_executing_eagerly decorator to
explicitly check collections. Preivously it just used gc.get_objects, which
misses anything not subject to garbage collection.

(Maybe we should disable collections entirely when executing eagerly?)

Fixes #20218. (to be verified)

PiperOrigin-RevId: 201997703
parent ec3e4971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment