File size: 701 Bytes
1944112 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | export namespace PRIORITY {
let INTERACTIVE: string;
let NORMAL: string;
let BACKGROUND: string;
}
export const PRIORITY_ORDER: string[];
export namespace UNLOAD_LEVEL {
let VRAM: string;
let CACHE: string;
}
export namespace JOB_KIND {
let CHAT: string;
let EMBEDDING: string;
}
export namespace ENGINE_STATE {
let IDLE: string;
let LOADING: string;
let READY: string;
let ERROR: string;
}
/**
* Out-of-band message kind for configuring an engine worker before WebLLM's own
* handshake starts. Distinct from every WebLLM `kind`, so the worker can route
* on it without parsing the rest.
*/
export const WORKER_CONFIGURE: "everything-webgpu/configure";
|