NakliTechie commited on
Commit
b0d59cd
·
1 Parent(s): 872f8cf

Sync from GitHub 2026-10-30T03:51:48Z

Browse files
Files changed (1) hide show
  1. index.html +4 -5
index.html CHANGED
@@ -8031,7 +8031,7 @@ const engineFetch = async (url, init = {}) => {
8031
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
8032
  // of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
8033
  // session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
8034
- const ANYFORMER_URL = 'https://cdn.jsdelivr.net/gh/NakliTechie/anyformer.js@v0.4.13/index.js';
8035
 
8036
  let anyformerLoad = null;
8037
  let session = null;
@@ -8176,7 +8176,7 @@ self.onmessage = async (e) => {
8176
  // rolled-in module URLs (moduleUrl()).
8177
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
8178
  // the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
8179
- const ANYFORMER_URL = 'https://cdn.jsdelivr.net/gh/NakliTechie/anyformer.js@v0.4.13/index.js';
8180
  const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
8181
  const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
8182
  // MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
@@ -23967,8 +23967,7 @@ self.addEventListener('message', async (e) => {
23967
  */
23968
  const THINK_CLOSE = -2;
23969
 
23970
- // 0.4.13 (LFM3-Omni-2B) is tagged but not yet on npm: the GitHub tag from jsDelivr until it is.
23971
- export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/gh/NakliTechie/anyformer.js@v0.4.13/index.js';
23972
 
23973
  // anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
23974
  // into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
@@ -32372,7 +32371,7 @@ const GGUF_FILE = 'LFM2.5-230M-Q4_0.gguf';
32372
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
32373
  // the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
32374
  // version; LocalMind's anyformer_models.js pins the same one.
32375
- const ANYFORMER_URL = 'https://cdn.jsdelivr.net/gh/NakliTechie/anyformer.js@v0.4.13/index.js';
32376
 
32377
  let anyformerLoad = null;
32378
  let model = null;
 
8031
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy
8032
  // of the engine (Gemma4Mobile) and, with ple, builds the OPFS per-layer-embedding table itself. The worker then drives
8033
  // session.engine exactly as it drove its own engine. Pinned to the same anyformer as anyformer_models.js.
8034
+ const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.13/index.js';
8035
 
8036
  let anyformerLoad = null;
8037
  let session = null;
 
8176
  // rolled-in module URLs (moduleUrl()).
8177
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
8178
  // the engine (TernaryBonsai2); the worker drives session.engine as before and attaches DFlash / MTP itself.
8179
+ const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.13/index.js';
8180
  const DFLASH_URL = '__TERNARY_BONSAI2_DFLASH_URL__';
8181
  const MTP_URL = '__TERNARY_BONSAI2_MTP_URL__';
8182
  // MTP speculative decoding (Settings → Models, default OFF; posted as `mtp` + `mtpDepth` on the
 
23967
  */
23968
  const THINK_CLOSE = -2;
23969
 
23970
+ export const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.13/index.js';
 
23971
 
23972
  // anyformer's progress events → the engine events the SSD worker posts. The llama.cpp path reports 'download' (bytes
23973
  // into OPFS) and 'load' / 'plan'; a hand engine (diskformer back end) reports its own engine events, 'weights' with
 
32371
  // The model loads through anyformer (convergence plan, 2026-10-22): anyformer resolves the repo to diskformer's copy of
32372
  // the LFM2.5 engine (Lfm2Mobile) and returns a session with the same generate / reset / dispose. Pinned to an exact
32373
  // version; LocalMind's anyformer_models.js pins the same one.
32374
+ const ANYFORMER_URL = 'https://cdn.jsdelivr.net/npm/anyformer@0.4.13/index.js';
32375
 
32376
  let anyformerLoad = null;
32377
  let model = null;