mlx-bun library API
    Preparing search index...
    Index
    options: Readonly<ResolvedKvSchemeOptions>

    The composition record's form (Composition.kv): the storage every attention cache of the graph composes and the read kernels of its affine caches.

    • Configured attention storage, not live allocator occupancy. Recurrent layers retain their own state and never acquire an attention KV codec.

      Parameters

      Returns {
          attention: { global: number; sliding_window: number };
          layers: Record<string, number>;
          mode: string;
          recurrent_layers: number;
      }