Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on "[Gradient Compression] Refactor CommHookInterface and Pyth…
…onCommHook." 1. Let CommHookInterface::processFuture be a non-virtual method, which can be shared by both Python and C++ implementations. 2. Merge 1-line PythonCommHook constructor into the header for simplicity. 3. Rename processFuture method as parseFromHookResult for readability. 4. Simplify the comments. Original PR issue: C++ DDP Communication Hook #46348 Differential Revision: [D24374282](https://our.internmc.facebook.com/intern/diff/D24374282/) [ghstack-poisoned]
- Loading branch information