thunder.executors.passes.del_last_used
- thunder.executors.passes.del_last_used(trace, *, clear_mutable_collections=False)[source]
- Mark last used intermediates to be deleted. This lets the Python garbage collector free
unused tensor memory.
Was this page helpful?
Thanks for the feedback.