-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up dead code and recyle tensor when it is out of scope. (#137)
Summary: Pull Request resolved: #137 Clean up dead code: removed two not used functions: analyze_ops and analyze_subgraph cleaned up other code related to these two functions. Recycled tensor when it is no longer live: recorded the last op id that refers a tensor id, when replay passing this last op id, recycled the tensor. With this fix, CMF V0 model can now be replayed. It was out of memory before. Differential Revision: D59937145
- Loading branch information
1 parent
7b19f58
commit 4aa0326
Showing
1 changed file
with
42 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters