mlx-bun library API
    Preparing search index...

    The optimized execution path of a speech graph (temperature-0 decoding, beam search). Every step returns owned arrays.

    interface WhisperFastPath {
        beamStep(
            tokens: number[],
            cache: WhisperFastCache,
            cfg: FastFilterConfig,
            k: number,
            state: { lastTok: number[]; lastTs: number[]; penultTok: number[] },
        ): { idx: MlxArray; pre: MlxArray; vals: MlxArray };
        crossKv(features: MlxArray, cache: WhisperFastCache): void;
        encode(mel: MlxArray, audioCtx?: number | null): MlxArray;
        greedyStep(
            st: {
                lastTok: MlxArray;
                lastTs: MlxArray;
                penultTok: MlxArray;
                tok: MlxArray;
            },
            cache: WhisperFastCache,
            cfg: FastFilterConfig,
        ): { lastTs: MlxArray; lp: MlxArray; next: MlxArray; pre: MlxArray };
        makeCache(): WhisperFastCache;
        prefill(tokens: MlxArray, cache: WhisperFastCache): MlxArray;
        step(
            tokens: number[],
            cache: WhisperFastCache,
            cfg: FastFilterConfig,
            state: {
                atBegin: boolean;
                lastTok: number[];
                lastTs: number[];
                penultTok: number[];
            },
        ): { filtered: MlxArray; pre: MlxArray };
    }
    Index