Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add plugin interface and add GPU mem snapshot as an example (#777)
Summary: Pull Request resolved: #777 WTTS. * Add basic `Plugin` interface to extend bulk gen functionality ``` class Plugin(ABC): def step(self) -> None: ... def shutdown(self) -> None ... ``` - Add GPU mem snapshot as an example. - Add `is_started` status to TNT `MemorySnapshotProfiler` and expose `log_memory_snapshot` Reviewed By: skcoirz Differential Revision: D55724465 fbshipit-source-id: 87226f9be2da801119d575a9b43a48109aa86a82
- Loading branch information