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
[FxImporter] remove weakref finalizer of reftracker (#3995)
Fixesiree-org/iree-turbine#281.
**_TL;DR:_**
The `weakref.finalize` objects cause the model parameters to be kept in
memory in-between consecutive `aot.export` calls in the same process. We
remove them to enable releasing the memory, this does not change the
behavior of `RefTracker` or `RefMapping` classes anyhow else.
Signed-off-by: Ege Beysel <[email protected]>
0 commit comments