Spaces:
Running
Running
NakliTechie commited on
Commit ·
5fcbdc3
1
Parent(s): c8c4a19
Sync from GitHub 2026-10-31T12:06:21Z
Browse files- index.html +4 -4
index.html
CHANGED
|
@@ -8084,7 +8084,7 @@ const engineFetch = async (url, init = {}) => {
|
|
| 8084 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8085 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8086 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8087 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 8088 |
|
| 8089 |
let anyformerLoad = null;
|
| 8090 |
let session = null;
|
|
@@ -8229,7 +8229,7 @@ self.onmessage = async (e) => {
|
|
| 8229 |
// rolled-in module URLs (moduleUrl()).
|
| 8230 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8231 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8232 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 8233 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8234 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8235 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
@@ -24305,7 +24305,7 @@ self.addEventListener('message', async (e) => {
|
|
| 24305 |
*/
|
| 24306 |
const THINK_CLOSE = -2;
|
| 24307 |
|
| 24308 |
-
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 24309 |
|
| 24310 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24311 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
@@ -32745,7 +32745,7 @@ const GGUF_FILE = 'LFM2.5-230M-Q4_0.gguf';
|
|
| 32745 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32746 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32747 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32748 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 32749 |
|
| 32750 |
let anyformerLoad = null;
|
| 32751 |
let anyformerModels = null;
|
|
|
|
| 8084 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8085 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8086 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8087 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.22/index.js';
|
| 8088 |
|
| 8089 |
let anyformerLoad = null;
|
| 8090 |
let session = null;
|
|
|
|
| 8229 |
// rolled-in module URLs (moduleUrl()).
|
| 8230 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8231 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8232 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.22/index.js';
|
| 8233 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8234 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8235 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
|
|
| 24305 |
*/
|
| 24306 |
const THINK_CLOSE = -2;
|
| 24307 |
|
| 24308 |
+
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.22/index.js';
|
| 24309 |
|
| 24310 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24311 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
|
|
| 32745 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32746 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32747 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32748 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.22/index.js';
|
| 32749 |
|
| 32750 |
let anyformerLoad = null;
|
| 32751 |
let anyformerModels = null;
|