Download types/engine/constants.d.ts from nyaaorick/everything-webgpu: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/nyaaorick/everything-webgpu/resolve/main/types/engine/constants.d.ts
- Command line
-
hf download hf://nyaaorick/everything-webgpu/types/engine/constants.d.ts
-
curl -L -o constants.d.ts https://huggingface.co/nyaaorick/everything-webgpu/resolve/main/types/engine/constants.d.ts
701 Bytes
| 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"; | |