Spaces:
Running
Running
NakliTechie commited on
Commit ·
3a384ab
1
Parent(s): b17e86d
Sync from GitHub 2026-10-24T09:29:40Z
Browse files- index.html +4 -4
index.html
CHANGED
|
@@ -8019,7 +8019,7 @@ const engineFetch = async (url, init = {}) => {
|
|
| 8019 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8020 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8021 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8022 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/
|
| 8023 |
|
| 8024 |
let anyformerLoad = null;
|
| 8025 |
let session = null;
|
|
@@ -8164,7 +8164,7 @@ self.onmessage = async (e) => {
|
|
| 8164 |
// rolled-in module URLs (moduleUrl()).
|
| 8165 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8166 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8167 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/
|
| 8168 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8169 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8170 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
@@ -24059,7 +24059,7 @@ self.addEventListener('message', async (e) => {
|
|
| 24059 |
*/
|
| 24060 |
const THINK_CLOSE = -2;
|
| 24061 |
|
| 24062 |
-
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/
|
| 24063 |
|
| 24064 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24065 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
@@ -32426,7 +32426,7 @@ const GGUF_FILE = 'LFM2.5-230M-Q4_0.gguf';
|
|
| 32426 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32427 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32428 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32429 |
-
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/
|
| 32430 |
|
| 32431 |
let anyformerLoad = null;
|
| 32432 |
let model = null;
|
|
|
|
| 8019 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
|
| 8020 |
// of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
|
| 8021 |
// session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
|
| 8022 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.6/index.js';
|
| 8023 |
|
| 8024 |
let anyformerLoad = null;
|
| 8025 |
let session = null;
|
|
|
|
| 8164 |
// rolled-in module URLs (moduleUrl()).
|
| 8165 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 8166 |
// the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
|
| 8167 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.6/index.js';
|
| 8168 |
const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
|
| 8169 |
const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
|
| 8170 |
// MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
|
|
|
|
| 24059 |
*/
|
| 24060 |
const THINK_CLOSE = -2;
|
| 24061 |
|
| 24062 |
+
export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.6/index.js';
|
| 24063 |
|
| 24064 |
// anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
|
| 24065 |
// into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
|
|
|
|
| 32426 |
// The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
|
| 32427 |
// the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
|
| 32428 |
// version; LocalMind's anyformer_models.js pins the same one.
|
| 32429 |
+
const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.6/index.js';
|
| 32430 |
|
| 32431 |
let anyformerLoad = null;
|
| 32432 |
let model = null;
|