Copy
Distributed communication package - tensorplay.distributed
Distributed communication package - torch.distributed
|
Register a new rendezvous handler. |
|
Averages all the given parameters. |
|
Averages parameters of a model or parameter groups of an optimizer. |
|
Return a list of parameters that need to average. |
Initialization
Initializes a DeviceMesh based on device_type and mesh_shape (torch parity). |
|
Send or receive a batch of tensors asynchronously (torch parity). |
|
|
|
Receives a tensor asynchronously (torch parity; |
Post-Initialization
Groups
Translate a global rank into a group rank (torch parity). |
|
Translate a group rank into a global rank (torch parity). |
|
|
Get all ranks associated with |
DeviceMesh
DeviceMesh represents a mesh of devices (torch parity). |
Point-to-point communication
Send a tensor synchronously (torch parity). |
|
Receives a tensor synchronously; returns the sender rank. |
|
Send a tensor asynchronously (torch parity; |
|
Sends picklable objects in |
|
Receives picklable objects in |
|
A class to build point-to-point operations for |
Collective functions
|
Broadcasts picklable objects in |
Gathers picklable objects from the whole group into a list (torch parity). |
|
Gathers picklable objects from the whole group in a single process. |
|
Scatters picklable objects to the whole group (torch parity). |
|
Splits |
|
Scatters a list of tensors to ranks and collects one from each. |
|
Handle for an async collective (torch.distributed.Work subset). |
|
Distributed Key-Value Store
Client for a threaded TCP key-value server ( |
|
Flock-based append-log store in a single file. |
Launch utility
Watchdog (Experimental)
|
Similar to plain all_gather_object but with additional type checking AFTER gather is done to ensure basic consistency. |
Help improve this page
Found an error, an unclear step, or a missing example?
