Distributed Communication#
MLX supports distributed communication with the MPI, Ring, JACCL, and NCCL backends. See Distributed Communication for backend availability and setup.
An |
|
|
Check if a communication backend is available. |
|
Initialize the communication backend and create the global communication group. |
|
All reduce max. |
|
All reduce min. |
|
All reduce sum. |
|
Gather arrays from all processes. |
|
Send an array from the current process to the process that has rank |
|
Recv an array with shape |
|
Recv an array with shape and type like |
|
Sum |