forked from pytorch/tnt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove __enter__ and __exit__ from MemorySnapshotProfiler (pytorch#611)
Summary: There is no need for MemorySnapshotProfiler to be a context manager since it conflicts with start_step and stop_step Differential Revision: D51049497
- Loading branch information
1 parent
83cdb29
commit 5ee8ce9
Showing
1 changed file
with
1 addition
and
13 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