Spaces:
Running
Running
NakliTechie commited on
Commit ·
2dc4cc1
1
Parent(s): 869ba2d
Sync from GitHub 2026-10-30T06:09:41Z
Browse files- index.html +4 -4
index.html
CHANGED
|
@@ -8040,7 +8040,7 @@ const engineFetch = async (url, init = {}) => {
|
|
| 8040 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8041 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8042 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8043 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 8044 |
|
| 8045 |
let anyformerLoad = null;
|
| 8046 |
let session = null;
|
|
@@ -8185,7 +8185,7 @@ self.onmessage = async (e) => {
|
|
| 8185 |
// rolled-in module URLs (moduleUrl()).
|
| 8186 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8187 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8188 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 8189 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8190 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8191 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
@@ -24102,7 +24102,7 @@ self.addEventListener('message', async (e) => {
|
|
| 24102 |
*/
|
| 24103 |
const THINK_CLOSE = -2;
|
| 24104 |
|
| 24105 |
-
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 24106 |
|
| 24107 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24108 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
@@ -32512,7 +32512,7 @@ const GGUF_FILE = 'LFM2.5-230M-Q4_0.gguf';
|
|
| 32512 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32513 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32514 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32515 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.
|
| 32516 |
|
| 32517 |
let anyformerLoad = null;
|
| 32518 |
let model = null;
|
|
|
|
| 8040 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8041 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8042 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8043 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.15/index.js';
|
| 8044 |
|
| 8045 |
let anyformerLoad = null;
|
| 8046 |
let session = null;
|
|
|
|
| 8185 |
// rolled-in module URLs (moduleUrl()).
|
| 8186 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8187 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8188 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.15/index.js';
|
| 8189 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8190 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8191 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
|
|
| 24102 |
*/
|
| 24103 |
const THINK_CLOSE = -2;
|
| 24104 |
|
| 24105 |
+
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.15/index.js';
|
| 24106 |
|
| 24107 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24108 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
|
|
| 32512 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32513 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32514 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32515 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.15/index.js';
|
| 32516 |
|
| 32517 |
let anyformerLoad = null;
|
| 32518 |
let model = null;
|