Distributed Communication#
MLX provides a distributed communication package using MPI. The MPI library is loaded at runtime; if MPI is available then distributed communication is also made available.
An   | 
|
Check if a communication backend is available.  | 
|
  | 
Initialize the communication backend and create the global communication group.  | 
  | 
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   |