-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debugging again cleaned up PushPull passes through input directly to output. the xla custom op gets the input tensor pointers, passes the input pointers to byteps to performe inplace pushpull, then returns right away. SyncAllTensors gets the input tensors as input, passes them through as output. its CustomCall waits on all tensors, then return. The current code doesn't allocate extra memory or perform extra memcpy. The gradients passed in from tensorflow is retained, operated on, and returned after SyncAllTenors finishes. the result is correct. Signed-off-by: Yulu Jia <[email protected]>
- Loading branch information
1 parent
d2cf5f8
commit ce3ebe0
Showing
1 changed file
with
20 additions
and
5 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