mlx-bun library API
    Preparing search index...

    The checkpoint-native multi-token-prediction row of a graph that declares nativeDraft, over compressed (MLA) attention state. The graph owns the numerics and the head's weights; the draft source owns sampling and state retention.

    interface NativeMtpHead {
        cache: { kvLoraRank: number; maxTokens: number; ropeHeadDim: number };
        hiddenSize: number;
        decode(ids: MlxArray, hidden: MlxArray, cache: Cache): Promise<MlxArray>;
        project(hidden: MlxArray): MlxArray;
        window(ids: MlxArray, hidden: MlxArray, cache: Cache): Promise<MlxArray>;
    }

    Implemented by

    Index
    cache: { kvLoraRank: number; maxTokens: number; ropeHeadDim: number }

    Geometry of the compressed cache the head appends to.

    hiddenSize: number