Load MLX arrays from the safetensors format
Usage
mlx_load_safetensors(file)
Arguments
- file
Path to a .npy file. The extension is appended automatically
when missing.
Value
A list containing:
tensors
Named list of mlx arrays.
metadata
Named character vector with the serialized metadata.