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.
@@ -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-DJ61q1gX.d.ts.map
302
+ //# sourceMappingURL=types-Bl0FS_nX.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitgpu",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Fast WebGPU runtime for 1-bit (binary-weight) LLMs in the browser. Bit-exact, zero runtime dependencies.",
5
5
  "type": "module",
6
6
  "license": "MIT",