mlx-bun library API
    Preparing search index...

    Layer layouts own tensor geometry. This collection only applies the same row membership operation to every layer. It has no scheduling, sampling, checkpoint-key or persistence policy.

    Type Parameters

    Index
    caches: Layout[]

    Borrowed by the bound target graph; collection ownership stays here.

    • Borrow a prepared request's state. Build every replacement before releasing the active group, so a failed admission leaves it intact.

      Parameters

      Returns void

    • The method calls this only between committed steps. A layer failure invalidates the group; its caller discards the state.

      Parameters

      • keep: readonly number[]

      Returns void