mindspore.communication
Collective communication interface.
Note that the APIs in the following list need to preset communication environment variables.
For Ascend/GPU/CPU devices, it is recommended to use the msrun startup method without any third-party or configuration file dependencies. Please see the msrun startup for more details.
World communication information. |
|
Initialize distributed backends required by communication services, e.g. |
|
Release distributed resource. |
|
Create a user collective communication group. |
|
Destroy the user collective communication group. |
|
Get the communicator name of the specified collective communication group. |
|
Get the rank size of the specified collective communication group. |
|
Get the rank ID in the specified user communication group corresponding to the rank ID in the world communication group. |
|
Gets local rank ID for current device in specified collective communication group. |
|
Gets local rank size of the specified collective communication group. |
|
Gets the ranks of the specific group and returns the process ranks in the communication group as a list. |
|
Get the rank ID for the current device in the specified collective communication group. |
|
Get the rank ID in the world communication group corresponding to the rank ID in the specified user communication group. |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
mindspore.communication.comm_func
Collection communication functional interface
mindspore.communication.comm_func.comm_func.comm_func.all_gather_into_tensor is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.all_reduce is deprecated from version 2.9.0 and will be removed in a future version. |
|
|
mindspore.communication.comm_func.all_to_all_single_with_output_shape is deprecated from version 2.9.0 and will be removed in a future version. |
mindspore.communication.comm_func.all_to_all_v_c is deprecated from version 2.9.0 and will be removed in a future version. |
|
|
mindspore.communication.comm_func.all_to_all_with_output_shape is deprecated from version 2.9.0 and will be removed in a future version. |
mindspore.communication.comm_func.barrier is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.batch_isend_irecv is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.broadcast is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.gather_into_tensor is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.irecv is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.isend is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.recv is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.send is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.P2POp is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.reduce is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.reduce_scatter_tensor is deprecated from version 2.9.0 and will be removed in a future version. |
|
mindspore.communication.comm_func.scatter_tensor is deprecated from version 2.9.0 and will be removed in a future version. |