@simplexai/localmodels-linux-arm64 0.1.0-dev.62 → 0.1.0-dev.64

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.
Files changed (113) hide show
  1. package/bootstrap.identity +1 -1
  2. package/bootstrap.sha256 +112 -103
  3. package/modules/localmodels/__init__.py +1 -1
  4. package/modules/localmodels/app.py +15 -2
  5. package/modules/localmodels/bifrost_checks.py +19 -13
  6. package/modules/localmodels/bifrost_clients.py +38 -36
  7. package/modules/localmodels/bifrost_config.py +19 -6
  8. package/modules/localmodels/bifrost_log.py +3 -3
  9. package/modules/localmodels/bifrost_models.py +9 -8
  10. package/modules/localmodels/bifrost_pi.py +27 -72
  11. package/modules/localmodels/catalog.json +85 -58
  12. package/modules/localmodels/catalog.py +26 -4
  13. package/modules/localmodels/catalog_recipes.py +37 -1
  14. package/modules/localmodels/context_policy.py +6 -1
  15. package/modules/localmodels/custom_hub.py +10 -1
  16. package/modules/localmodels/custom_hub_http.py +14 -3
  17. package/modules/localmodels/debug_mode.py +85 -103
  18. package/modules/localmodels/deploy.py +41 -6
  19. package/modules/localmodels/download-mirrors.json +126 -6
  20. package/modules/localmodels/draft_spec.py +122 -0
  21. package/modules/localmodels/engine_adapters/__init__.py +4 -0
  22. package/modules/localmodels/engine_adapters/auxiliary.py +27 -0
  23. package/modules/localmodels/engine_adapters/base.py +40 -0
  24. package/modules/localmodels/engine_adapters/strata_poly.py +57 -0
  25. package/modules/localmodels/engine_adapters/suite_plan.py +394 -0
  26. package/modules/localmodels/engines-prism-b12178-03ec600.json +7 -7
  27. package/modules/localmodels/gateway.py +56 -55
  28. package/modules/localmodels/gateway_bifrost.py +70 -83
  29. package/modules/localmodels/gateway_clients.py +33 -116
  30. package/modules/localmodels/gateway_home.py +5 -5
  31. package/modules/localmodels/gateway_keys.py +8 -6
  32. package/modules/localmodels/gateway_probe.py +4 -4
  33. package/modules/localmodels/gateway_server.py +4 -4
  34. package/modules/localmodels/gateway_speed.py +2 -2
  35. package/modules/localmodels/harness.py +185 -401
  36. package/modules/localmodels/harness_core.py +409 -0
  37. package/modules/localmodels/harness_gateway.py +75 -73
  38. package/modules/localmodels/harness_probe.py +19 -216
  39. package/modules/localmodels/install.py +15 -0
  40. package/modules/localmodels/library_convert.py +2 -8
  41. package/modules/localmodels/library_custom.py +51 -16
  42. package/modules/localmodels/library_elastic.py +3 -119
  43. package/modules/localmodels/library_gateway.py +59 -176
  44. package/modules/localmodels/library_jobs.py +1 -2
  45. package/modules/localmodels/library_model.py +23 -0
  46. package/modules/localmodels/library_poly.py +3 -2
  47. package/modules/localmodels/library_pricing.py +124 -15
  48. package/modules/localmodels/library_serve.py +9 -9
  49. package/modules/localmodels/library_smoke.py +33 -21
  50. package/modules/localmodels/library_status.py +330 -2
  51. package/modules/localmodels/llm_rank.py +14 -5
  52. package/modules/localmodels/magpie_setup.py +5 -4
  53. package/modules/localmodels/magpie_windows.py +1 -1
  54. package/modules/localmodels/memcalc_cli.py +2 -2
  55. package/modules/localmodels/pi_profile.py +384 -0
  56. package/modules/localmodels/planning/__init__.py +3 -0
  57. package/modules/localmodels/{memcalc_load.py → planning/memcalc_load.py} +1 -1
  58. package/modules/localmodels/{sizecalc.py → planning/sizecalc.py} +1 -1
  59. package/modules/localmodels/process_identity.py +3 -3
  60. package/modules/localmodels/runtime_cli.py +32 -46
  61. package/modules/localmodels/runtime_pi.py +1 -1
  62. package/modules/localmodels/service_deployment.py +2 -1
  63. package/modules/localmodels/sizecalc_cli.py +10 -2
  64. package/modules/localmodels/source_byok.py +9 -16
  65. package/modules/localmodels/speech_worker_sensevoice.py +30 -0
  66. package/modules/localmodels/stack.py +2 -4
  67. package/modules/localmodels/stack_arena.py +2 -2
  68. package/modules/localmodels/stack_auto.py +1 -1
  69. package/modules/localmodels/stack_aux_gpu.py +4 -2
  70. package/modules/localmodels/stack_binding.py +9 -7
  71. package/modules/localmodels/stack_card.py +2 -2
  72. package/modules/localmodels/stack_cleanup.py +3 -2
  73. package/modules/localmodels/stack_clients.py +137 -21
  74. package/modules/localmodels/stack_compose.py +9 -1
  75. package/modules/localmodels/stack_doctor.py +6 -3
  76. package/modules/localmodels/stack_hardware.py +18 -0
  77. package/modules/localmodels/stack_ledger.py +2 -1
  78. package/modules/localmodels/stack_lifecycle.py +3 -2
  79. package/modules/localmodels/stack_mcp.py +1 -1
  80. package/modules/localmodels/stack_memory.py +3 -3
  81. package/modules/localmodels/stack_remove.py +2 -1
  82. package/modules/localmodels/stack_run.py +16 -0
  83. package/modules/localmodels/stack_suite.py +4 -3
  84. package/modules/localmodels/stack_try.py +2 -1
  85. package/modules/localmodels/stack_up.py +15 -30
  86. package/modules/localmodels/stack_verify.py +2 -2
  87. package/modules/localmodels/stack_view_events.py +2 -2
  88. package/modules/localmodels/stack_view_llm.py +12 -7
  89. package/modules/localmodels/stack_warm.py +6 -3
  90. package/modules/localmodels/stack_whatif.py +1 -1
  91. package/modules/localmodels/suite.py +6 -334
  92. package/modules/localmodels/tui_views.py +17 -2
  93. package/modules/localmodels/web/index.html +595 -226
  94. package/modules/localmodels/web/sizecalc/app.js +34 -40
  95. package/modules/localmodels/web/sizecalc/calc.js +3 -3
  96. package/modules/localmodels/web/sizecalc/page.html +4 -3
  97. package/modules/localmodels/web/view/fleet.html +18 -3
  98. package/modules/localmodels/web/view/fleet.js +135 -14
  99. package/modules/localmodels/web/view/i18n.js +4 -0
  100. package/modules/localmodels/web/view/index.html +16 -0
  101. package/modules/localmodels/web/view/nav.js +49 -0
  102. package/modules/localmodels/web/view/theme.js +1 -1
  103. package/modules/localmodels/web/view/view.css +51 -15
  104. package/modules/localmodels/web/view/view.js +22 -4
  105. package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/METADATA +1 -1
  106. package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/RECORD +109 -100
  107. package/package.json +1 -1
  108. package/tool.json +1 -1
  109. /package/modules/localmodels/{memcalc.py → planning/memcalc.py} +0 -0
  110. /package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/WHEEL +0 -0
  111. /package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/entry_points.txt +0 -0
  112. /package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/licenses/NOTICE +0 -0
  113. /package/modules/{simplex_localmodels-0.1.0.dev62.dist-info → simplex_localmodels-0.1.0.dev64.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
@@ -27,7 +27,18 @@ from dataclasses import dataclass, field
27
27
  from pathlib import Path
28
28
  from typing import Any, Literal, cast
29
29
 
30
- from localmodels import hosts, process_identity
30
+ from localmodels import (
31
+ bifrost_models,
32
+ hosts,
33
+ library_gateway,
34
+ library_state,
35
+ probe,
36
+ process_identity,
37
+ service_probe,
38
+ )
39
+ from localmodels import catalog as cat
40
+ from localmodels.library_state import Registration
41
+ from localmodels.transport import Result
31
42
 
32
43
  Mode = Literal["off", "simulate", "tiny"]
33
44
  MODES: tuple[str, ...] = ("off", "simulate", "tiny")
@@ -195,8 +206,6 @@ def _ensure_isolated_gateway() -> None:
195
206
 
196
207
 
197
208
  def _install_tiny_mode(config: DebugConfig) -> None:
198
- from localmodels import catalog as cat
199
-
200
209
  cache_path = Path(config.cache_dir).expanduser() if config.cache_dir else default_cache_dir()
201
210
  os.environ.setdefault("LOCALMODELS_CACHE_DIR", str(cache_path))
202
211
  original_load = cat.load_catalog_file
@@ -297,8 +306,6 @@ def _synthetic_facts(real: dict[str, Any] | None, vram_gb: int) -> dict[str, Any
297
306
 
298
307
 
299
308
  def _apply_simulated_occupancy(facts: dict[str, Any]) -> dict[str, Any]:
300
- from localmodels import library_state
301
-
302
309
  adjusted = copy.deepcopy(facts)
303
310
  adjusted.setdefault("disk", {})["free_bytes"] = max(
304
311
  int(adjusted.get("disk", {}).get("free_bytes") or 0), 1000 * GIB
@@ -534,8 +541,6 @@ class SimulatedExecutor:
534
541
  timeout: float = 60,
535
542
  on_event: Callable[[dict[str, object]], None] | None = None,
536
543
  ) -> tuple[dict[str, object], Any]:
537
- from localmodels.transport import Result
538
-
539
544
  if reason := self.config.fail.get(action):
540
545
  return {"event": "error", "message": reason}, Result(1, "", reason)
541
546
  if action == "engine":
@@ -564,37 +569,37 @@ class SimulatedExecutor:
564
569
  return {"event": "result"}, Result(0, "", "")
565
570
 
566
571
 
572
+ def _direct_register(
573
+ model: str,
574
+ entry: cat.CatalogEntry,
575
+ plan: Any,
576
+ key: str,
577
+ facts: Any,
578
+ *,
579
+ stack_provider: str | None = None,
580
+ ) -> Registration:
581
+ """Register a simulated server straight into pi, without Bifrost."""
582
+ _ = key, facts
583
+ added = library_gateway.planned(model, plan, stack_provider=stack_provider)
584
+ facts_ = library_gateway.model_facts(model, entry, plan)
585
+ base_url = str(plan["endpoint"]["base_url"]).removesuffix("/v1").rstrip("/")
586
+ served = str(plan["endpoint"]["model"])
587
+ pi_entry = bifrost_models.pi_provider(facts_, served, base_url)["models"][0]
588
+ with library_gateway.gateway_locked():
589
+ library_gateway.pi_add(added["pi_provider"], pi_entry, base_url)
590
+ return {**added, "model": served, "pi_model": f"{added['pi_provider']}/{served}"}
591
+
592
+
593
+ def _direct_unregister(registration: Registration) -> None:
594
+ with library_gateway.gateway_locked():
595
+ library_gateway.pi_drop(registration["pi_provider"], registration["model"])
596
+
597
+
567
598
  def _install_direct_pi_gateway() -> None:
568
599
  """Offline fallback for ``simulate`` when Bifrost is unavailable or ``offline_gateway`` is set."""
569
- from localmodels import bifrost_models, library_gateway
570
- from localmodels import catalog as cat
571
- from localmodels.library_state import Registration
572
-
573
600
  original_register = library_gateway.register
574
601
  original_unregister = library_gateway.unregister
575
602
 
576
- def direct_register(
577
- model: str,
578
- entry: cat.CatalogEntry,
579
- plan: Any,
580
- key: str,
581
- facts: Any,
582
- *,
583
- stack_provider: str | None = None,
584
- ) -> Registration:
585
- added = library_gateway.planned(model, plan, stack_provider=stack_provider)
586
- facts_ = library_gateway.model_facts(model, entry, plan)
587
- base_url = str(plan["endpoint"]["base_url"]).removesuffix("/v1").rstrip("/")
588
- served = str(plan["endpoint"]["model"])
589
- pi_entry = bifrost_models.pi_provider(facts_, served, base_url)["models"][0]
590
- with library_gateway.gateway_locked():
591
- library_gateway._pi_add(added["pi_provider"], pi_entry, base_url)
592
- return {**added, "model": served, "pi_model": f"{added['pi_provider']}/{served}"}
593
-
594
- def direct_unregister(registration: Registration) -> None:
595
- with library_gateway.gateway_locked():
596
- library_gateway._pi_drop(registration["pi_provider"], registration["model"])
597
-
598
603
  def register_with_fallback(
599
604
  model: str,
600
605
  entry: cat.CatalogEntry,
@@ -607,11 +612,11 @@ def _install_direct_pi_gateway() -> None:
607
612
  try:
608
613
  return original_register(model, entry, plan, key, facts, stack_provider=stack_provider)
609
614
  except Exception:
610
- return direct_register(model, entry, plan, key, facts, stack_provider=stack_provider)
615
+ return _direct_register(model, entry, plan, key, facts, stack_provider=stack_provider)
611
616
 
612
617
  def unregister_with_fallback(registration: Registration) -> None:
613
618
  if "/" not in registration.get("model", ""):
614
- direct_unregister(registration)
619
+ _direct_unregister(registration)
615
620
  return
616
621
  with contextlib.suppress(Exception):
617
622
  original_unregister(registration)
@@ -630,86 +635,57 @@ def _empty_services() -> dict[str, Any]:
630
635
  }
631
636
 
632
637
 
633
- def _install_simulate_mode(config: DebugConfig) -> None:
634
- from localmodels import (
635
- app,
636
- library_gateway,
637
- library_pricing,
638
- library_serve,
639
- probe,
640
- service_probe,
641
- stack_warm,
642
- )
638
+ def simulated_local_facts(config: DebugConfig, real_loader: Callable[[], Any]) -> dict[str, Any]:
639
+ """This computer's facts under ``simulate``: the real GPU or Metal reading when no
640
+ ``vram_gb`` is set and one answers, else synthetic facts; no services, loaded library
641
+ models held."""
642
+ real: dict[str, Any] | None = None
643
+ if config.vram_gb is None:
644
+ with contextlib.suppress(Exception):
645
+ probed = real_loader()
646
+ if probed and (probed.get("gpus") or probed.get("metal")):
647
+ real = copy.deepcopy(dict(probed))
648
+ real["llama_servers"] = []
649
+ real["services"] = _empty_services()
650
+ facts = real if real is not None else _synthetic_facts(real, config.vram_gb or 24)
651
+ facts["services"] = _empty_services()
652
+ return _apply_simulated_occupancy(facts)
653
+
654
+
655
+ def simulated_disk_free(config: DebugConfig) -> int:
656
+ """Free disk bytes under ``simulate``: nearly none when ``fail`` names ``disk``."""
657
+ return 1024 if "disk" in config.fail else 1000 * GIB
658
+
659
+
660
+ def simulated_port() -> int:
661
+ """A free loopback port for a simulated server."""
662
+ return int(_free_loopback_addr().rsplit(":", 1)[1])
663
+
664
+
665
+ def simulated_warm(config: DebugConfig) -> dict[str, Any]:
666
+ """A simulated warm-up: waits ``load_ms`` and reports a fixed decode speed."""
667
+ if config.load_ms > 0:
668
+ time.sleep(config.load_ms / 1000.0)
669
+ return {"decode_tok_s": 120.0, "ok": True}
643
670
 
671
+
672
+ def _install_simulate_mode(config: DebugConfig) -> None:
673
+ """Replace the host-reading and gateway parts below this module. Modules above it ask
674
+ ``simulating()`` at their own seams (app.probe, library_pricing.base_free,
675
+ library_serve's port choice, stack_warm.warm_llm) instead of being patched from here."""
644
676
  if config.vram_gb is not None and os.environ.get("CUDA_VISIBLE_DEVICES") == "":
645
677
  os.environ.pop("CUDA_VISIBLE_DEVICES", None)
646
- original_probe = app.probe
647
678
  original_collect = probe.collect
648
679
  executor = SimulatedExecutor(config)
649
680
 
650
- def _simulated_local_facts(real_loader: Callable[[], Any]) -> Any:
651
- real: dict[str, Any] | None = None
652
- if config.vram_gb is None:
653
- with contextlib.suppress(Exception):
654
- probed = real_loader()
655
- if probed and (probed.get("gpus") or probed.get("metal")):
656
- real = copy.deepcopy(dict(probed))
657
- real["llama_servers"] = []
658
- real["services"] = _empty_services()
659
- facts = real if real is not None else _synthetic_facts(real, config.vram_gb or 24)
660
- facts["services"] = _empty_services()
661
- return _apply_simulated_occupancy(facts)
662
-
663
- def simulated_probe(dev_id: str, **kwargs: Any) -> Any:
664
- if dev_id != hosts.LOCAL_ID:
665
- return original_probe(dev_id, **kwargs)
666
- return _simulated_local_facts(lambda: original_probe(dev_id, **kwargs))
667
-
668
681
  def simulated_collect(*args: Any, **kwargs: Any) -> Any:
669
- return _simulated_local_facts(lambda: original_collect(*args, **kwargs))
670
-
671
- def simulated_base_free(base_dir: str) -> int:
672
- _ = base_dir
673
- return 1024 if "disk" in config.fail else 1000 * GIB
682
+ return simulated_local_facts(config, lambda: original_collect(*args, **kwargs))
674
683
 
675
- app.probe = simulated_probe
676
684
  probe.collect = simulated_collect
677
685
  service_probe.collect = lambda *_a, **_kw: _empty_services()
678
- library_pricing.base_free = simulated_base_free
679
- library_serve._port = lambda facts: int(_free_loopback_addr().rsplit(":", 1)[1])
680
686
  cast(Any, hosts).executor = lambda _dev: executor
681
-
682
- def simulated_warm(_part: Any) -> dict[str, Any]:
683
- if config.load_ms > 0:
684
- time.sleep(config.load_ms / 1000.0)
685
- return {"decode_tok_s": 120.0, "ok": True}
686
-
687
- cast(Any, stack_warm).warm_llm = simulated_warm
688
687
  if config.offline_gateway:
689
- from localmodels import bifrost_models
690
- from localmodels import catalog as cat
691
- from localmodels.library_state import Registration
692
-
693
- def offline_only_register(
694
- model: str,
695
- entry: cat.CatalogEntry,
696
- plan: Any,
697
- key: str,
698
- facts: Any,
699
- *,
700
- stack_provider: str | None = None,
701
- ) -> Registration:
702
- _ = key, facts
703
- added = library_gateway.planned(model, plan, stack_provider=stack_provider)
704
- facts_ = library_gateway.model_facts(model, entry, plan)
705
- base_url = str(plan["endpoint"]["base_url"]).removesuffix("/v1").rstrip("/")
706
- served = str(plan["endpoint"]["model"])
707
- pi_entry = bifrost_models.pi_provider(facts_, served, base_url)["models"][0]
708
- with library_gateway.gateway_locked():
709
- library_gateway._pi_add(added["pi_provider"], pi_entry, base_url)
710
- return {**added, "model": served, "pi_model": f"{added['pi_provider']}/{served}"}
711
-
712
- library_gateway.register = offline_only_register
688
+ library_gateway.register = _direct_register
713
689
  else:
714
690
  _install_direct_pi_gateway()
715
691
 
@@ -722,6 +698,12 @@ def current() -> DebugConfig:
722
698
  return _ACTIVE if _ACTIVE is not None else resolve_config()
723
699
 
724
700
 
701
+ def simulating() -> DebugConfig | None:
702
+ """The ``simulate`` config once ``activate()`` applied it, else None: the seam the modules
703
+ above this one check before they read the host, pick a port or warm a server."""
704
+ return _ACTIVE if _ACTIVE is not None and _ACTIVE.mode == "simulate" else None
705
+
706
+
725
707
  def status_info() -> dict[str, str] | None:
726
708
  """Structured debug summary for ``library-status/v1`` when debug mode is active, else None."""
727
709
  cfg = current()
@@ -15,6 +15,7 @@ from dataclasses import dataclass
15
15
  from localmodels import catalog as cat
16
16
  from localmodels import (
17
17
  chat_template,
18
+ draft_spec,
18
19
  hf_repo,
19
20
  hosts,
20
21
  metal,
@@ -37,6 +38,7 @@ from localmodels.context_policy import (
37
38
  RUNTIME_OVERHEAD_BYTES,
38
39
  AgentPosture,
39
40
  LaunchPlan,
41
+ WindowDecision,
40
42
  agent_launch_args,
41
43
  agent_unified_bytes,
42
44
  cache_floor_bytes,
@@ -243,7 +245,11 @@ def _choose_placement(
243
245
  if not capacity and taken:
244
246
  first = next(p for p in taken if not p.pooled)
245
247
  raise GpuConflictError(first, facts)
246
- if entry.draft is not None and any(p.backend == "cpu" for p in capacity):
248
+ if (
249
+ entry.draft is not None
250
+ and entry.draft_spec is None
251
+ and any(p.backend == "cpu" for p in capacity)
252
+ ):
247
253
  raise PlanError("CPU deployment cannot run or leave out a separate draft model yet")
248
254
  by_free = {g["index"]: g["free_bytes"] for g in facts.get("gpus") or []}
249
255
  singles = sorted(
@@ -291,6 +297,28 @@ def _llama_entry(
291
297
  return entry
292
298
 
293
299
 
300
+ def _companion_args(
301
+ by_name: dict[str, ReusableFile],
302
+ mmproj: cat.AssetFile | None,
303
+ reader: str,
304
+ draft: cat.AssetFile | None,
305
+ decision: WindowDecision,
306
+ mtp_head: cat.AssetFile | None,
307
+ *,
308
+ is_agent: bool,
309
+ ) -> list[str]:
310
+ args: list[str] = []
311
+ if mmproj is not None:
312
+ args += vision.llama_args(by_name[mmproj.path]["dest"], reader)
313
+ if draft is not None:
314
+ args += draft_spec.llama_args(
315
+ by_name[draft.path]["dest"], decision.draft_type, decision.draft_n_max
316
+ )
317
+ if mtp_head is not None and not is_agent:
318
+ args += ["--model-draft", by_name[mtp_head.path]["dest"]]
319
+ return args
320
+
321
+
294
322
  def build_plan(
295
323
  host_id: str,
296
324
  facts: HostFacts,
@@ -314,7 +342,8 @@ def build_plan(
314
342
  models_dir, assets_dir = f"{base}/models", f"{base}/models/assets"
315
343
  reader = decision.vision_reader if options.agent else "gpu" if entry.mmproj else "off"
316
344
  mmproj = entry.mmproj if reader != "off" else None
317
- companions = (mmproj,) if options.agent is not None else (mmproj, entry.mtp_head)
345
+ draft = entry.draft if options.agent is not None and decision.draft_n_max > 0 else None
346
+ companions = (mmproj, draft) if options.agent is not None else (mmproj, entry.mtp_head)
318
347
  assets = [(entry.repo, f) for f in variant.files] + [
319
348
  (a.repo or entry.repo, a) for a in companions if a is not None
320
349
  ]
@@ -376,10 +405,15 @@ def build_plan(
376
405
  if variant.lazy_bytes and options.agent is None:
377
406
  argv += ["--lazy-mode", "on"]
378
407
  by_name = {f["path"]: f for f in files}
379
- if mmproj is not None:
380
- argv += vision.llama_args(by_name[mmproj.path]["dest"], reader)
381
- if entry.mtp_head is not None and options.agent is None:
382
- argv += ["--model-draft", by_name[entry.mtp_head.path]["dest"]]
408
+ argv += _companion_args(
409
+ by_name,
410
+ mmproj,
411
+ reader,
412
+ draft,
413
+ decision,
414
+ entry.mtp_head,
415
+ is_agent=options.agent is not None,
416
+ )
383
417
  for key, value in entry.sampling.items():
384
418
  argv += [f"--{key}", value]
385
419
  if placement.backend == "cpu":
@@ -476,6 +510,7 @@ def build_plan(
476
510
  ),
477
511
  # Only when on: an older plan rebuilds without these keys, digest unchanged.
478
512
  **(vision.launch_keys(mmproj, reader) if options.agent and mmproj else {}),
513
+ **(draft_spec.launch_keys(decision) if options.agent is not None else {}),
479
514
  **(
480
515
  {
481
516
  "unified_bytes": agent_unified_bytes(
@@ -10,6 +10,18 @@
10
10
  "repo": "ConwayResearch/Underdog-Saluki-27B-1.0",
11
11
  "path": "mmproj-Underdog-Saluki-27B-1.0-F16.gguf"
12
12
  },
13
+ "01094df7cd8905d1220ea8b31e4f1086dc9bedf0305d3c2fa6578b5fa33b6815": {
14
+ "repo": "Diffuspace/Clover-35B-A3B-Preview",
15
+ "path": "chat_template.jinja"
16
+ },
17
+ "e6406238a5cc0043775cd1963b6f9e5b8707400276e38d9fde742304906b1330": {
18
+ "repo": "ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF",
19
+ "path": "Qwen3.8-27B-GSQ-RCO-IQ2_S-mtp.gguf"
20
+ },
21
+ "13cb7bebccbd04afc8f4090cb949ecf8937cdf7377c5799b1a0c594e7c0d3e16": {
22
+ "repo": "ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF",
23
+ "path": "mmproj-Qwen3.8-27B-BF16.gguf"
24
+ },
13
25
  "92cee27ae5bbadcd732416a0f7a7f0acc092399dbbe8f5a5efa707c2ec0a49d7": {
14
26
  "repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF",
15
27
  "path": "IQ2_XS/Qwen3.8-Flash-Next-GSQ-RCO-IQ2_XS-00001-of-00002.gguf"
@@ -50,6 +62,10 @@
50
62
  "repo": "XHToken/Spark-X2.6-4B-GGUF",
51
63
  "path": "Spark-X2.6-4B-Q8_0.gguf"
52
64
  },
65
+ "c941e12a231b40b8fb9f6ad7f6601878d72db39c2c62aefb185fbe5c7d0c2e29": {
66
+ "repo": "bartowski/GrootTeam_Groot-19B-A3B-261023-GGUF",
67
+ "path": "GrootTeam_Groot-19B-A3B-261023-Q4_K_M.gguf"
68
+ },
53
69
  "12ca1a2ae7ecf3e0019ef2822307ee0b5cadc9196569e379b4c4026f8205276d": {
54
70
  "repo": "aistoy/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2025-09-09",
55
71
  "path": "model.int8.onnx"
@@ -58,14 +74,18 @@
58
74
  "repo": "aistoy/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2025-09-09",
59
75
  "path": "tokens.txt"
60
76
  },
61
- "a43c7c9b11a4c1517e5bf95151960e1621d1b72f7a493364b01e386cf1aaa1d3": {
62
- "repo": "gpustack/bge-reranker-v2-m3-GGUF",
63
- "path": "bge-reranker-v2-m3-Q8_0.gguf"
64
- },
65
77
  "394221709cd5ad1f40c46e6031ca61bce88931e6e088c188294c6d5a55ffa7e2": {
66
78
  "repo": "iceCream2025/whisper.cpp",
67
79
  "path": "ggml-large-v3-turbo-q5_0.bin"
68
80
  },
81
+ "1be3a9b2063867b937e64e2ec7483364a79917e157fa98c5d94b5c1fffea987b": {
82
+ "repo": "iceCream2025/whisper.cpp",
83
+ "path": "ggml-small.bin"
84
+ },
85
+ "a43c7c9b11a4c1517e5bf95151960e1621d1b72f7a493364b01e386cf1aaa1d3": {
86
+ "repo": "gpustack/bge-reranker-v2-m3-GGUF",
87
+ "path": "bge-reranker-v2-m3-Q8_0.gguf"
88
+ },
69
89
  "246d67d45f5b0c7447ca0ce0bdb8b46b8a47b593c5068635dc16422c051d7be9": {
70
90
  "repo": "inclusionAI/Ling-3.0-tiny-GGUF",
71
91
  "path": "Ling-3.0-tiny-Q4_K_M.gguf"
@@ -110,6 +130,14 @@
110
130
  "repo": "mlx-community/Qwen3.5-2B-MLX-4bit",
111
131
  "path": "vocab.json"
112
132
  },
133
+ "67e6cdff678e67180d3cd4eef55277277563319057de287b8855c4d1fbff4165": {
134
+ "repo": "mudler/Ornith-1.5-35B-A3B-APEX-MTP-GGUF",
135
+ "path": "Ornith-1.5-35B-A3B-APEX-MTP-I-Compact.gguf"
136
+ },
137
+ "09c342594abf0cb0cda9e899977956b61e37da79b5e5ffbe77874512dbe78148": {
138
+ "repo": "mudler/Ornith-1.5-35B-A3B-APEX-MTP-GGUF",
139
+ "path": "Ornith-1.5-35B-A3B-APEX-MTP-I-Mini.gguf"
140
+ },
113
141
  "ec2d5801640099e97d8d7e8003ad4d81f336e757811f03a26173dddf386602fd": {
114
142
  "repo": "openbmb/MiniCPM5-2B-GGUF",
115
143
  "path": "MiniCPM5-2B-Q4_K_M.gguf"
@@ -130,6 +158,22 @@
130
158
  "repo": "ornith-ai/Ornith-1.5-9B-GGUF",
131
159
  "path": "mmproj-Ornith-1.5-9B-BF16.gguf"
132
160
  },
161
+ "a4d8ffc7f030466c67db289543871a8f9e6d5340241b300c09fbaf16642273ca": {
162
+ "repo": "peculiar-ragdoll/Tiel-Coder-35B-A3B-GGUF-MTP",
163
+ "path": "Tiel-Coder-35B-A3B-MTP-UD-IQ3_XXS.gguf"
164
+ },
165
+ "46b8fbeba6e888c9a101e49cc717baa9bb8dfa0d203ec7b3185288159543ec14": {
166
+ "repo": "peculiar-ragdoll/Tiel-Coder-35B-A3B-GGUF-MTP",
167
+ "path": "Tiel-Coder-35B-A3B-MTP-UD-Q3_K_XL.gguf"
168
+ },
169
+ "4f99aed01b8a877e153f9aa6569a4440fe17c59701cc0953e36d7f460549e70e": {
170
+ "repo": "prism-ml/Ternary-Bonsai-2-27B-gguf",
171
+ "path": "Ternary-Bonsai-2-27B-Q2_0.gguf"
172
+ },
173
+ "6807ede61d570bb86ba34b756a0fa109edc33668604de867c6ea6d8f1d631903": {
174
+ "repo": "prism-ml/Ternary-Bonsai-2-27B-gguf",
175
+ "path": "Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf"
176
+ },
133
177
  "e0fc5f3d47b9c926d52677d303b19df356a2376614b3e1cb9973865fc04ca431": {
134
178
  "repo": "prism-ml/Ternary-Bonsai-2.5-27B-GGUF",
135
179
  "path": "Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf"
@@ -142,6 +186,18 @@
142
186
  "repo": "ukisai/Swift-1.5-Qwen3.8-Flash-Next-GSQ-RCO-GGUF",
143
187
  "path": "mmproj-Swift-Qwen3.8-Flash-Next-BF16.gguf"
144
188
  },
189
+ "c58c9d62eac7b62e9578b52613f425e48313d7212ab8d1d76caed8ea8de26595": {
190
+ "repo": "unsloth/DeepSeek-V4-Flash-0731-GGUF",
191
+ "path": "UD-IQ2_XXS/DeepSeek-V4-Flash-0731-UD-IQ2_XXS-00001-of-00003.gguf"
192
+ },
193
+ "65a113df6d4469f16db6882b6919e153c464c3c78c833f5e1b41a33803cdbd52": {
194
+ "repo": "unsloth/DeepSeek-V4-Flash-0731-GGUF",
195
+ "path": "UD-IQ2_XXS/DeepSeek-V4-Flash-0731-UD-IQ2_XXS-00002-of-00003.gguf"
196
+ },
197
+ "a69102ddfaf4a84426e11fdb66716654f4260dc3a1de3ade9fd50e006b8691d3": {
198
+ "repo": "unsloth/DeepSeek-V4-Flash-0731-GGUF",
199
+ "path": "UD-IQ2_XXS/DeepSeek-V4-Flash-0731-UD-IQ2_XXS-00003-of-00003.gguf"
200
+ },
145
201
  "d13ce8f90855547bdaebe7312f531a1f2c4f822178d3103951f27fe884395cfa": {
146
202
  "repo": "unsloth/DeepSeek-V4-Flash-0731-GGUF",
147
203
  "path": "UD-Q4_K_XL/DeepSeek-V4-Flash-0731-UD-Q4_K_XL-00001-of-00005.gguf"
@@ -168,11 +224,15 @@
168
224
  },
169
225
  "bd7ef0865adf119b5183e45e741c629bafa649769b33b5ebf689bb4bcc4690d6": {
170
226
  "repo": "unsloth/Inkling-2-Mini-GGUF",
171
- "path": "Inkling-2-Mini-UD-IQ3_XXS.gguf"
227
+ "path": "Old_Support/Inkling-2-Mini-UD-IQ3_XXS.gguf_file"
228
+ },
229
+ "2ec78510da837e8fc3be54a14757a0c5fbd2d8d9e85a0d92853fafdf674f3773": {
230
+ "repo": "unsloth/Inkling-2-Mini-GGUF",
231
+ "path": "dspark-Inkling-2-Mini-Q8_0_Old.gguf"
172
232
  },
173
233
  "f90c5a4df44d335ac9f9eea2a15c31d6c5a377b1b3cd9ff7fc2cf123f3cdf7e1": {
174
234
  "repo": "unsloth/Inkling-2-Mini-GGUF",
175
- "path": "Inkling-2-Mini-UD-Q4_K_M.gguf"
235
+ "path": "Old_Support/Inkling-2-Mini-UD-Q4_K_M.gguf_file"
176
236
  },
177
237
  "b42841608ea380ddde5a3f1125081357128a3c71b80d006246de4e31292fc6c1": {
178
238
  "repo": "unsloth/Inkling-2-Mini-GGUF",
@@ -194,10 +254,38 @@
194
254
  "repo": "unsloth/Inkling-2-Mini-GGUF",
195
255
  "path": "mmproj-F16.gguf"
196
256
  },
257
+ "d54834c785c7e265f1cb7375e47aa6f55a0b7cfab75816254c4d2e0c82fd5efc": {
258
+ "repo": "unsloth/LFM2.5-24B-A2B-GGUF",
259
+ "path": "LFM2.5-24B-A2B-UD-Q3_K_XL.gguf"
260
+ },
261
+ "a235d23638cc5549cb1ff61da7522c8a7e97f056f27093462a1e56f35aba91d8": {
262
+ "repo": "unsloth/LFM2.5-24B-A2B-GGUF",
263
+ "path": "LFM2.5-24B-A2B-UD-Q4_K_XL.gguf"
264
+ },
265
+ "84ff34f5834b929043f5ae74799e8d562d4056998f6a5923ceb44831e8ad84d6": {
266
+ "repo": "unsloth/NVIDIA-Nemotron-3.5-Bolt-E4B-GGUF",
267
+ "path": "NVIDIA-Nemotron-3.5-Bolt-E4B-UD-Q4_K_XL.gguf"
268
+ },
269
+ "6e0602540b342560e0ec62b182e8ea3bf54cc8e352b5e912f20cbb7a847cf23d": {
270
+ "repo": "unsloth/NVIDIA-Nemotron-3.5-Bolt-E4B-GGUF",
271
+ "path": "mmproj-Q8_0.gguf"
272
+ },
197
273
  "0f2cbdc4f578b5a53f521bcb1a5f5297cd54ea72ebf6c8ce80b570cc5645bac1": {
198
274
  "repo": "unsloth/Nemotron-3-Nano-30B-A3B-GGUF",
199
275
  "path": "Nemotron-3-Nano-30B-A3B-IQ4_XS.gguf"
200
276
  },
277
+ "d8a23c487741fdac7026e10013fa8e320502cf01048a2333b2db8ba2a9f74fe5": {
278
+ "repo": "unsloth/Ornith-1.5-122B-GGUF",
279
+ "path": "UD-Q3_K_XL/Ornith-1.5-122B-UD-Q3_K_XL-00001-of-00003.gguf"
280
+ },
281
+ "95f76e67ffc49e2b0b4a4dfe5c42269b4b275ecf9e3696f599f3eeac92180323": {
282
+ "repo": "unsloth/Ornith-1.5-122B-GGUF",
283
+ "path": "UD-Q3_K_XL/Ornith-1.5-122B-UD-Q3_K_XL-00002-of-00003.gguf"
284
+ },
285
+ "1c4b52bbb1d45a21b5b7927429a5c80f264c688f2d14ed50ba0b6da0260d4028": {
286
+ "repo": "unsloth/Ornith-1.5-122B-GGUF",
287
+ "path": "UD-Q3_K_XL/Ornith-1.5-122B-UD-Q3_K_XL-00003-of-00003.gguf"
288
+ },
201
289
  "aaf42c8b7c3cab2bf3d69c355048d4a0ee9973d48f16c731c0520ee914699223": {
202
290
  "repo": "unsloth/Qwen3.5-2B-GGUF",
203
291
  "path": "Qwen3.5-2B-Q4_K_M.gguf"
@@ -226,6 +314,10 @@
226
314
  "repo": "unsloth/Qwen3.6-35B-A3B-MTP-GGUF",
227
315
  "path": "Qwen3.6-35B-A3B-UD-IQ4_XS.gguf"
228
316
  },
317
+ "ed7cda7e38985b4fcff76475865135039641d2bfbac3c169df15ca770f37fb0c": {
318
+ "repo": "unsloth/Qwen3.6-35B-A3B-MTP-GGUF",
319
+ "path": "Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf"
320
+ },
229
321
  "8966dd0cd8c543c4228490a2a8b0e0814fc4f1e6a8e199ceed4de6754ae7b8e1": {
230
322
  "repo": "unsloth/Qwen3.6-35B-A3B-MTP-GGUF",
231
323
  "path": "Qwen3.6-35B-A3B-UD-Q3_K_M.gguf"
@@ -269,6 +361,34 @@
269
361
  "2e788f8c511d8093c7b43cb87b2fd7e14228340318057f8fb20c86df2efe2355": {
270
362
  "repo": "unsloth/Qwen3.8-Flash-Next-GGUF",
271
363
  "path": "mmproj-BF16.gguf"
364
+ },
365
+ "91b8d85ab6ff7fb095d9a972f9afa6f3fa2b9acb642867a079f3e013ea3c350c": {
366
+ "repo": "unsloth/flint-GGUF",
367
+ "path": "flint-UD-Q3_K_XL.gguf"
368
+ },
369
+ "63c2ecc461ca545134b670c660e76fa20f47240f8d39b6510bfd21c4dd6e072f": {
370
+ "repo": "unsloth/flint-GGUF",
371
+ "path": "flint-UD-Q4_K_XL.gguf"
372
+ },
373
+ "b0037d0e0de0290177045ca214b2a0fb1079d18bde57842b3ca32f5b0cd76774": {
374
+ "repo": "unsloth/gemma-4-12b-it-GGUF",
375
+ "path": "gemma-4-12b-it-IQ4_XS.gguf"
376
+ },
377
+ "2e269f906eb15169ee9ce880ea649bd6d42d4964c21f8ede10d0d0efc738bcbb": {
378
+ "repo": "unsloth/gemma-4-12b-it-GGUF",
379
+ "path": "mmproj-BF16.gguf"
380
+ },
381
+ "6326fb9f5e487aa8dcdd313a091e3c67724cb2a666ec3b7d2895b5b26d93ed1b": {
382
+ "repo": "unsloth/gemma-4-26B-A4B-it-GGUF",
383
+ "path": "MTP/mtp-gemma-4-26B-A4B-it-Q8_0.gguf"
384
+ },
385
+ "2a1d26dfe6ea00a467940a5728316af6edb366bbdba950d65b85d232392fb658": {
386
+ "repo": "unsloth/gemma-4-26B-A4B-it-GGUF",
387
+ "path": "gemma-4-26B-A4B-it-UD-Q2_K_XL.gguf"
388
+ },
389
+ "811882f6df81c8ea204a5d382f196d6bd601245091786912d4c70df41cdfa052": {
390
+ "repo": "unsloth/gemma-4-26B-A4B-it-GGUF",
391
+ "path": "gemma-4-26B-A4B-it-UD-Q3_K_M.gguf"
272
392
  }
273
393
  },
274
394
  "unmirrored": {