mlx-bun library API
    Preparing search index...
    interface TurboQuantValueEncoded {
        indices: MlxArray;
        scales: MlxArray;
    }
    Index
    indices: MlxArray

    uint8 indices in [0, 2^bits - 1], one per input element (unpacked).

    scales: MlxArray

    fp16, shape [..., headDim/32]