Skip to main content

parse_devices

Function parse_devices 

Source
pub fn parse_devices(text: &str) -> Result<Vec<Vec<Vec<String>>>>
Expand description

MLX’s device file: a JSON array with one entry per rank, each an array with one entry per peer: null (no cable; the rank itself), a device name, or a list of names (one per cable; the k-th cable of a pair is the k-th name on both sides).