mmengine.dist¶
dist¶
Gather data from the whole group to |
|
Gathers picklable objects from the whole group in a single process. |
|
Gather data from the whole group in a list. |
|
Gather picklable objects from the whole group into a list. |
|
Reduces the tensor data across all machines in such a way that all get the final result. |
|
Reduces the dict across all machines in such a way that all get the final result. |
|
All-reduce parameters. |
|
Broadcast the data from |
|
Synchronize a random seed to all processes. |
|
Broadcasts picklable objects in |
|
Collected results in distributed environments. |
|
Collect results under cpu mode. |
|
Collect results under gpu mode. |
utils¶
Get distributed information of the given process group. |
|
Initialize distributed environment. |
|
Setup the local process group. |
|
Return the backend of the given process group. |
|
Return the number of the given process group. |
|
Return the rank of the given process group. |
|
Return the number of the current node. |
|
Return the rank of current process in the current node. |
|
Whether the current rank of the given process group is equal to 0. |
|
Decorate those methods which should be executed in master process. |
|
Synchronize all processes from the given process group. |
|
Return True if distributed environment has been initialized. |
|
Return local process group. |
|
Return default process group. |
|
Return the device of |
|
Return the device for communication among groups. |
|
Recursively convert Tensor in |