Load MLX tensors from the GGUF format
Usage
mlx_load_gguf(file, device = mlx_default_device())Arguments
- file
Path to a
.npyfile. The extension is appended automatically when missing.- device
Execution target: supply
"gpu","cpu", or anmlx_streamcreated viamlx_new_stream(). Defaults to the currentmlx_default_device()unless noted otherwise (helpers that act on an existing array typically reuse that array's device or stream).