Skip to contents

Load MLX tensors from the GGUF format

Usage

mlx_load_gguf(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 list where values are NULL, character vectors, or mlx arrays depending on the GGUF entry type.