anyformer 0.4.15 → 0.4.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.16 — 2026-10-30
4
+
5
+ ### Changed
6
+ - diskformer pin 7ffbea5 → 93193d0 (v0.6.14: LFM3-Omni speech out runs at 1.5–1.8x real time, up from 0.54x, on an
7
+ M4 Pro; the inverse STFT uses an FFT with the same output; changes only `engines/lfm3_omni.js`).
8
+ - Browser test `omni-speech` on the new pin (Chrome, this Mac, local files, about 22:50 IST): 13.52 s of speech in
9
+ 7.1 s (1.9x real time), first sound after 0.98 s; abort at the first speech chunk; text reply after it equal.
10
+
3
11
  ## 0.4.15 — 2026-10-30
4
12
 
5
13
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anyformer",
3
- "version": "0.4.15",
3
+ "version": "0.4.16",
4
4
  "description": "One call to run a model in a browser tab: anyformer reads the Hub repo, probes the browser, and picks the back end (transformers.js, LocalMind's WebGPU kernels, diskformer, kohra) that fits the model's format, architecture and your GPU budget.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/src/sources.js CHANGED
@@ -9,6 +9,8 @@ export const PINS = {
9
9
  // v0.3.1: seeded block-KV graphs (Nemotron-Labs-Diffusion-3B), chatFormat, split external data; download progress
10
10
  // (progress_callback) and the graph files cached in Cache Storage 'kohra-models'.
11
11
  kohra: 'bf95d44c3e3cfc001201baa03fa121c2bf9c7d73',
12
+ // v0.6.14 (93193d0): LFM3-Omni speech out's inverse STFT uses an FFT (same samples), 0.54x → 1.5–1.8x real time on
13
+ // an M4 Pro. Changes only engines/lfm3_omni.js.
12
14
  // v0.6.13 (7ffbea5): LFM3-Omni serves one reply at a time; overlapping runs broke onnxruntime-web WebGPU.
13
15
  // v0.6.12 (1fe19f8): LFM3-Omni speech out (interleaved text and 24 kHz speech; depth and codec decoders). Changes
14
16
  // only engines/lfm3_omni.js; its text, image and speech-in gate (3/3) is unchanged.
@@ -19,7 +21,7 @@ export const PINS = {
19
21
  // Gemma 4 E2B/E4B and Ternary Bonsai 2) under engines/, and the llama.cpp path under ggml/, which loads split GGUFs
20
22
  // and drafters, and reads past 2 GiB (Nemotron 3.5 Bolt E4B needs v0.6.8 or later). The hand engines' ingest
21
23
  // streams the GGUF header with progress and resumes a dropped range.
22
- diskformer: '7ffbea54a5f09494e1f6c970cce7c4c7b1b8460d',
24
+ diskformer: '93193d0913f5e76059fa45db509dc670e7527430',
23
25
  };
24
26
 
25
27
  const gh = (repo, sha, path) => `https://cdn.jsdelivr.net/gh/NakliTechie/${repo}@${sha}/${path}`;