bitgpu 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -29
- package/dist/chat.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +160 -28
- package/dist/index.js.map +1 -1
- package/dist/{types-DJ61q1gX.d.ts → types-Bl0FS_nX.d.ts} +4 -2
- package/package.json +1 -1
|
@@ -43,7 +43,9 @@ interface EngineOptions {
|
|
|
43
43
|
/** Prefill GEMM tiling: `'auto'` tiles once a prompt fills the 64-row tiles, `'always'`/`'never'` force it. Default `'auto'`. */
|
|
44
44
|
prefillTiling?: 'auto' | 'always' | 'never';
|
|
45
45
|
/** Max KV-cache length (prompt + generated positions). Caps VRAM (~`maxSeqLen` x 224 KB at f32,
|
|
46
|
-
* half that with `kvCache: 'f16'`, ~a quarter with `'q8'`). Default `2048`.
|
|
46
|
+
* half that with `kvCache: 'f16'`, ~a quarter with `'q8'`). Default `2048`. Capped by the
|
|
47
|
+
* model's RoPE range: the baked cache length for ONNX-derived manifests, `max_positions`
|
|
48
|
+
* (the GGUF context length) for GGUF-derived ones - exceeding it fails loudly at load. */
|
|
47
49
|
maxSeqLen?: number;
|
|
48
50
|
/** KV-cache STORAGE precision. `'f16'` halves KV memory (all arithmetic stays f32; each cached
|
|
49
51
|
* K/V value is rounded once at cache-write); it falls back to `'f32'` silently when the
|
|
@@ -297,4 +299,4 @@ interface Engine {
|
|
|
297
299
|
}
|
|
298
300
|
//#endregion
|
|
299
301
|
export { ForwardResult as a, KvSnapshot as c, EngineOptions as i, LoadProgress as l, Engine as n, GenerateOptions as o, EngineCapabilities as r, GenerateResult as s, DeviceLostInfo as t, TokenLogprobs as u };
|
|
300
|
-
//# sourceMappingURL=types-
|
|
302
|
+
//# sourceMappingURL=types-Bl0FS_nX.d.ts.map
|