-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add start_step to MemorySnapshotProfiler (#610)
Summary: Pull Request resolved: #610 Allows user to configure a `start_step` for when to start recording memory history. Addressing YanjunChen329 's feedback that he would like to record memory history for a specific range of steps, e.g. step 500-503. Also: * improve docstrings * add validation for params * MemorySnapshot callback no longer needs to call `start` and `stop` Reviewed By: YanjunChen329 Differential Revision: D51048945 fbshipit-source-id: 2848113f305253e394ba2abbf04715388558f0d7
- Loading branch information
1 parent
25fa5ac
commit 83cdb29
Showing
3 changed files
with
111 additions
and
16 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
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
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