mlx-bun library API
    Preparing search index...

    The Gemma graph's compiled decode step (its compiledDecodeStep).

    Implements

    Index
    stepsExecuted: number = 0

    Total compiled steps executed (tests assert the compiled path ran rather than silently falling back).

    unexpectedRetraces: number = 0

    Total UNEXPECTED retraces observed (a shapeless closure tracing more than once). Must stay 0: a retrace means per-step JS graph builds sneaked back in, which both wrecks the perf win and signals shape drift. Surfaced loudly; tests assert on it.

    • Release an existing model-owned runner without materializing constants or creating a new native closure. Call only after all borrowers have stopped; a no-op for a graph that owns none.

      Parameters

      • model: object

      Returns void