CloseRequest
The pool is done with this worker: finish the model-cache writes still in progress, answer closed, and expect to be terminated.
Defined in: engine/src/worker/protocol.ts:33
Properties
| Property | Type | Defined in |
|---|---|---|
kind | "close" | engine/src/worker/protocol.ts:34 |
ChunkFillPoolOptions
Options for makeChunkFillPool.
EncodeSource
A model to encode, as it travels to the worker: ModelSource without the sparse brick map, whose bricks come ahead of it in chunk messages (a map of hundreds of thousands of small arrays is slow to structured-clone; packed chunks transfer).