Skip to main content

init

Function init 

Source
pub fn init(strict: bool) -> Result<Group>
Expand description

Initialises the ring from MLX’s environment (MLX_HOSTFILE, MLX_RANK) and makes it the default group, as mx.distributed.init(). Without the environment: an error if strict, else the group of this process alone.