mlx-bun library API
    Preparing search index...
    Index
    • Parameters

      • capBytes: number
      • bytesOf: (caches: Cache[]) => number

        Byte size of a clone set (prompt-cache's cacheBytes).

      • store: (item: SpillItem) => Promise<unknown>

        The asynchronous storage operation.

      • disposeClones: (caches: Cache[]) => void

        Clone disposal — frees the pinned GPU memory.

      • canDrop: (item: SpillItem) => boolean = ...

        Zero-byte control barriers may need to survive capacity shedding.

      Returns SpillQueue

    bytesOf: (caches: Cache[]) => number

    Byte size of a clone set (prompt-cache's cacheBytes).

    canDrop: (item: SpillItem) => boolean = ...

    Zero-byte control barriers may need to survive capacity shedding.

    capBytes: number
    disposeClones: (caches: Cache[]) => void

    Clone disposal — frees the pinned GPU memory.

    store: (item: SpillItem) => Promise<unknown>

    The asynchronous storage operation.