@simplexai/localmodels-darwin-arm64 0.1.0-dev.36 → 0.1.0-dev.38
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.
- package/bootstrap.identity +1 -1
- package/bootstrap.sha256 +132 -110
- package/kit.py +1 -0
- package/modules/localmodels/__init__.py +1 -1
- package/modules/localmodels/__main__.py +9 -3
- package/modules/localmodels/bifrost_checks.py +9 -6
- package/modules/localmodels/bifrost_config.py +203 -0
- package/modules/localmodels/bifrost_datasheet.py +12 -2
- package/modules/localmodels/budget.py +13 -2
- package/modules/localmodels/catalog.json +137 -2
- package/modules/localmodels/catalog.py +70 -321
- package/modules/localmodels/catalog_add.py +2 -8
- package/modules/localmodels/catalog_recipes.py +352 -0
- package/modules/localmodels/cli_parser.py +4 -1
- package/modules/localmodels/console.py +5 -4
- package/modules/localmodels/contracts.py +13 -3
- package/modules/localmodels/debug_cli.py +158 -0
- package/modules/localmodels/debug_mode.py +727 -0
- package/modules/localmodels/debug_stub_server.py +192 -0
- package/modules/localmodels/decode_calibration.json +1 -1
- package/modules/localmodels/decode_calibration.py +34 -17
- package/modules/localmodels/gateway.py +21 -155
- package/modules/localmodels/gateway_accept.py +201 -0
- package/modules/localmodels/gateway_bifrost.py +30 -193
- package/modules/localmodels/gateway_cli.py +15 -6
- package/modules/localmodels/gateway_foundations.py +2 -4
- package/modules/localmodels/gateway_probe.py +0 -1
- package/modules/localmodels/gateway_server.py +2 -3
- package/modules/localmodels/gpu_specs.py +12 -0
- package/modules/localmodels/guard.py +2 -7
- package/modules/localmodels/harness.py +16 -129
- package/modules/localmodels/harness_cleanup.py +135 -0
- package/modules/localmodels/harness_gateway.py +16 -14
- package/modules/localmodels/harness_probe.py +12 -4
- package/modules/localmodels/hosts.py +25 -2
- package/modules/localmodels/http_local.py +59 -0
- package/modules/localmodels/install.py +23 -8
- package/modules/localmodels/library_gateway.py +20 -9
- package/modules/localmodels/library_jobs.py +125 -28
- package/modules/localmodels/library_model.py +10 -0
- package/modules/localmodels/library_pricing.py +29 -22
- package/modules/localmodels/library_serve.py +17 -1
- package/modules/localmodels/library_state.py +15 -2
- package/modules/localmodels/library_status.py +30 -0
- package/modules/localmodels/llm_rank.py +185 -39
- package/modules/localmodels/probe.py +108 -174
- package/modules/localmodels/process_identity.py +120 -154
- package/modules/localmodels/process_windows.py +86 -0
- package/modules/localmodels/recommend.py +6 -3
- package/modules/localmodels/recommend_cli.py +14 -6
- package/modules/localmodels/remote_ops.py +65 -0
- package/modules/localmodels/remote_ops_service.py +14 -2
- package/modules/localmodels/runtime_args.py +10 -3
- package/modules/localmodels/runtime_auth.py +5 -9
- package/modules/localmodels/runtime_cli.py +128 -129
- package/modules/localmodels/runtime_discovery.py +84 -0
- package/modules/localmodels/runtime_install.py +101 -0
- package/modules/localmodels/runtime_releases.py +302 -0
- package/modules/localmodels/search_server.py +5 -1
- package/modules/localmodels/service_stop.py +8 -108
- package/modules/localmodels/service_upgrade.py +394 -63
- package/modules/localmodels/services_cli.py +24 -14
- package/modules/localmodels/setup_inspection.py +97 -9
- package/modules/localmodels/setup_text.py +7 -0
- package/modules/localmodels/sizecalc.py +0 -1
- package/modules/localmodels/stack.py +45 -235
- package/modules/localmodels/stack_arena.py +732 -0
- package/modules/localmodels/stack_args.py +21 -12
- package/modules/localmodels/stack_auto.py +384 -3
- package/modules/localmodels/stack_aux_gpu.py +4 -3
- package/modules/localmodels/stack_capacity.py +138 -0
- package/modules/localmodels/stack_cleanup.py +9 -4
- package/modules/localmodels/stack_cli.py +288 -0
- package/modules/localmodels/stack_compose.py +63 -30
- package/modules/localmodels/stack_console.py +9 -6
- package/modules/localmodels/stack_hardware.py +95 -265
- package/modules/localmodels/stack_hardware_text.py +263 -0
- package/modules/localmodels/stack_journal.py +3 -9
- package/modules/localmodels/stack_ledger.py +48 -18
- package/modules/localmodels/stack_lifecycle.py +33 -312
- package/modules/localmodels/stack_llm_ram.py +16 -6
- package/modules/localmodels/stack_mcp.py +729 -0
- package/modules/localmodels/stack_memory.py +0 -2
- package/modules/localmodels/stack_picks.py +62 -15
- package/modules/localmodels/stack_plan.py +19 -1
- package/modules/localmodels/stack_preflight.py +11 -19
- package/modules/localmodels/stack_progress.py +9 -1
- package/modules/localmodels/stack_remove.py +373 -0
- package/modules/localmodels/stack_route.py +101 -17
- package/modules/localmodels/stack_run.py +29 -0
- package/modules/localmodels/stack_suite.py +21 -10
- package/modules/localmodels/stack_summary.py +14 -0
- package/modules/localmodels/stack_try.py +238 -24
- package/modules/localmodels/stack_try_client.py +53 -15
- package/modules/localmodels/stack_try_docs.py +2 -2
- package/modules/localmodels/stack_view.py +24 -171
- package/modules/localmodels/stack_view_access.py +114 -1
- package/modules/localmodels/stack_view_agent.py +3 -13
- package/modules/localmodels/stack_view_hub.py +9 -10
- package/modules/localmodels/stack_view_llm.py +1 -1
- package/modules/localmodels/stack_view_sandbox.py +2 -2
- package/modules/localmodels/stack_view_schema.py +183 -0
- package/modules/localmodels/stack_view_serve.py +7 -1
- package/modules/localmodels/stack_view_service.py +1 -2
- package/modules/localmodels/stack_view_text.py +13 -9
- package/modules/localmodels/stack_warm.py +48 -4
- package/modules/localmodels/stack_warm_store.py +517 -0
- package/modules/localmodels/tools.json +32 -18
- package/modules/localmodels/transport.py +38 -13
- package/modules/localmodels/tui.py +28 -4
- package/modules/localmodels/tui_dialogs.py +136 -0
- package/modules/localmodels/tui_modals.py +279 -0
- package/modules/localmodels/tui_screen.py +113 -154
- package/modules/localmodels/tui_views.py +134 -203
- package/modules/localmodels/web/index.html +510 -101
- package/modules/localmodels/web/sizecalc/app.js +363 -10
- package/modules/localmodels/web/sizecalc/page.html +27 -3
- package/modules/localmodels/web/view/fleet.html +11 -2
- package/modules/localmodels/web/view/fleet.js +191 -17
- package/modules/localmodels/web/view/i18n.js +3 -2
- package/modules/localmodels/web/view/index.html +1 -1
- package/modules/localmodels/web/view/nav.js +22 -3
- package/modules/localmodels/web/view/view.css +63 -18
- package/modules/localmodels/web/view/view.js +169 -32
- package/modules/localmodels/windows_job.py +69 -0
- package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/RECORD +128 -106
- package/package.json +1 -1
- package/tool.json +1 -1
- package/modules/localmodels/engines-strata-0.1.49.1.json +0 -31
- /package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/licenses/NOTICE +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev36.dist-info → simplex_localmodels-0.1.0.dev38.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
"""Configuration rendering and private config/datasheet storage for the Bifrost gateway."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import contextlib
|
|
6
|
+
import json
|
|
7
|
+
import os
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
from typing import Any
|
|
10
|
+
|
|
11
|
+
from localmodels import bifrost_datasheet, bifrost_provider
|
|
12
|
+
from localmodels.gateway_requests import AuxEndpoint
|
|
13
|
+
from localmodels.harness import GatewayPlan, HarnessError
|
|
14
|
+
|
|
15
|
+
ADMIN_USER = "localmodels"
|
|
16
|
+
LOG_BATCH_INTERVAL = "250ms" # logs_store.writer.batch_interval; Bifrost's default is 5s
|
|
17
|
+
STORE = ("config.db", "config.db-wal", "config.db-shm") # derived from config.json and datasheets
|
|
18
|
+
COMPLEX_RULE = "localmodels-agent-complex"
|
|
19
|
+
AGENT_RULE = "localmodels-agent"
|
|
20
|
+
FAST_PROVIDER = "localmodels-llm-fast"
|
|
21
|
+
DECISION_TIMEOUT = "10s"
|
|
22
|
+
AUX_PROVIDERS = {
|
|
23
|
+
"embedding": "localmodels-embedding",
|
|
24
|
+
"rerank": "localmodels-rerank",
|
|
25
|
+
"stt": "localmodels-stt",
|
|
26
|
+
}
|
|
27
|
+
# The analyzer requires keyword lists even when the decision model classifies; they only decide
|
|
28
|
+
# when it does not answer, so a few plain words suffice.
|
|
29
|
+
_KEYWORDS = {
|
|
30
|
+
"simple_keywords": ["hello", "thanks", "what is"],
|
|
31
|
+
"medium_keywords": ["explain", "summarize", "write"],
|
|
32
|
+
"complex_keywords": ["refactor", "debug", "design", "architecture"],
|
|
33
|
+
}
|
|
34
|
+
_AGENT_MATCH = "model == 'localmodels-agent'"
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def render(
|
|
38
|
+
gw: GatewayPlan,
|
|
39
|
+
llm_key: str,
|
|
40
|
+
decision_key: str | None,
|
|
41
|
+
aux: list[AuxEndpoint],
|
|
42
|
+
app: Path,
|
|
43
|
+
password: str,
|
|
44
|
+
keep: dict[str, Any] | None = None,
|
|
45
|
+
*,
|
|
46
|
+
fast_key: str | None = None,
|
|
47
|
+
) -> dict[str, Any]:
|
|
48
|
+
"""The config.json for one approved plan, before ``bifrost_search.inject``. ``keep`` carries
|
|
49
|
+
providers of an earlier config this call does not manage (a re-sync keeps the STT provider)."""
|
|
50
|
+
llm = gw["llm"]
|
|
51
|
+
providers: dict[str, Any] = dict(keep or {})
|
|
52
|
+
providers[gw["llm_provider"]] = bifrost_provider.render(
|
|
53
|
+
"llm", llm["url"], llm["model"], llm_key, gw["llm_provider"]
|
|
54
|
+
)
|
|
55
|
+
decision = gw["decision"] if decision_key is not None else None
|
|
56
|
+
if decision is not None and decision_key is not None:
|
|
57
|
+
providers[gw["decision_provider"]] = bifrost_provider.render(
|
|
58
|
+
"decision", decision["url"], decision["model"], decision_key, gw["decision_provider"]
|
|
59
|
+
)
|
|
60
|
+
for ep in aux:
|
|
61
|
+
pid = AUX_PROVIDERS.get(str(ep.get("contract")))
|
|
62
|
+
if pid:
|
|
63
|
+
providers[pid] = bifrost_provider.render(
|
|
64
|
+
str(ep["contract"]), str(ep["url"]), str(ep["model"]), str(ep["key"]), pid
|
|
65
|
+
)
|
|
66
|
+
target = {"provider": gw["llm_provider"], "model": llm["model"], "weight": 1}
|
|
67
|
+
default_target = target
|
|
68
|
+
if fast := gw.get("llm_fast"):
|
|
69
|
+
if decision is None or not fast_key:
|
|
70
|
+
raise HarnessError("two-LLM routing requires both LLM keys and a ready decision model")
|
|
71
|
+
providers[FAST_PROVIDER] = bifrost_provider.render(
|
|
72
|
+
"llm", fast["url"], fast["model"], fast_key, FAST_PROVIDER
|
|
73
|
+
)
|
|
74
|
+
default_target = {"provider": FAST_PROVIDER, "model": fast["model"], "weight": 1}
|
|
75
|
+
rules: list[dict[str, Any]] = []
|
|
76
|
+
governance: dict[str, Any] = {
|
|
77
|
+
"auth_config": {
|
|
78
|
+
"is_enabled": True,
|
|
79
|
+
"admin_username": ADMIN_USER,
|
|
80
|
+
"admin_password": password,
|
|
81
|
+
"disable_auth_on_inference": True,
|
|
82
|
+
},
|
|
83
|
+
}
|
|
84
|
+
if decision is not None:
|
|
85
|
+
rules.append(
|
|
86
|
+
{
|
|
87
|
+
"id": COMPLEX_RULE,
|
|
88
|
+
"name": COMPLEX_RULE,
|
|
89
|
+
"description": "hard turns, as the decision model classifies them",
|
|
90
|
+
"cel_expression": f"{_AGENT_MATCH} && complexity_tier == 'COMPLEX'",
|
|
91
|
+
"targets": [target],
|
|
92
|
+
"priority": 0,
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
governance["complexity_analyzer_config"] = {
|
|
96
|
+
"keywords": _KEYWORDS,
|
|
97
|
+
"classifier": "decision",
|
|
98
|
+
"decision": {
|
|
99
|
+
"provider": gw["decision_provider"],
|
|
100
|
+
"model": decision["model"],
|
|
101
|
+
"timeout": DECISION_TIMEOUT,
|
|
102
|
+
"previous_message_count": 1,
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
rules.append(
|
|
106
|
+
{
|
|
107
|
+
"id": AGENT_RULE,
|
|
108
|
+
"name": AGENT_RULE,
|
|
109
|
+
"description": "local agent turns sent to the local LLM",
|
|
110
|
+
"cel_expression": _AGENT_MATCH,
|
|
111
|
+
"targets": [default_target],
|
|
112
|
+
"priority": 1,
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
governance["routing_rules"] = rules
|
|
116
|
+
config = render_config(providers, governance, app)
|
|
117
|
+
config["framework"] = bifrost_datasheet.framework(app)
|
|
118
|
+
return config
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def render_config(
|
|
122
|
+
providers: dict[str, Any], governance: dict[str, Any], app: Path
|
|
123
|
+
) -> dict[str, Any]:
|
|
124
|
+
"""Shared private storage, management authentication and content logging policy."""
|
|
125
|
+
return {
|
|
126
|
+
"$schema": "https://www.getbifrost.ai/schema",
|
|
127
|
+
"source_of_truth": "config.json",
|
|
128
|
+
"client": {
|
|
129
|
+
"enable_logging": True,
|
|
130
|
+
"disable_content_logging": True,
|
|
131
|
+
"allow_per_request_content_storage_override": False,
|
|
132
|
+
"allow_per_request_raw_override": False,
|
|
133
|
+
"dump_errors_in_console_logs": False,
|
|
134
|
+
"enforce_auth_on_inference": False,
|
|
135
|
+
"max_request_body_size_mb": 32,
|
|
136
|
+
},
|
|
137
|
+
"config_store": {
|
|
138
|
+
"enabled": True,
|
|
139
|
+
"type": "sqlite",
|
|
140
|
+
"config": {"path": str(app / "config.db")},
|
|
141
|
+
},
|
|
142
|
+
"logs_store": {
|
|
143
|
+
"enabled": True,
|
|
144
|
+
"type": "sqlite",
|
|
145
|
+
"config": {"path": str(app / "logs.db")},
|
|
146
|
+
# Bifrost writes its request log in batches, 5 s apart by default; `stack view`
|
|
147
|
+
# reads that log to show calls, so a short interval keeps it close to real time.
|
|
148
|
+
# Measured on the pinned v2.3.0: a call is in the log 5.0 s after it ends by
|
|
149
|
+
# default, 0.2-0.25 s with this (2026-11-03, WHI-511).
|
|
150
|
+
"writer": {"batch_interval": LOG_BATCH_INTERVAL},
|
|
151
|
+
},
|
|
152
|
+
"providers": providers,
|
|
153
|
+
"governance": governance,
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def read_config(app: Path) -> dict[str, Any]:
|
|
158
|
+
try:
|
|
159
|
+
value = json.loads((app / "config.json").read_text(encoding="utf-8"))
|
|
160
|
+
except (OSError, ValueError):
|
|
161
|
+
return {}
|
|
162
|
+
return value if isinstance(value, dict) else {}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
def differs(app: Path, config: dict[str, Any], sheets: dict[str, Any] | None = None) -> bool:
|
|
166
|
+
"""``write_config`` would change a file (and so drop the config store)."""
|
|
167
|
+
for name, value in ((sheets or {}) | {"config.json": config}).items():
|
|
168
|
+
try:
|
|
169
|
+
if (app / name).read_text(encoding="utf-8") != _text(value):
|
|
170
|
+
return True
|
|
171
|
+
except OSError:
|
|
172
|
+
return True
|
|
173
|
+
return False
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
def _text(value: Any) -> str:
|
|
177
|
+
return json.dumps(value, ensure_ascii=False, indent=1) + "\n"
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
def write_config(app: Path, config: dict[str, Any], sheets: dict[str, Any] | None = None) -> bool:
|
|
181
|
+
"""Write config.json (0600), and the datasheets it names when given, where any differs; the
|
|
182
|
+
derived config store goes with them, so providers or windows a new config leaves out cannot
|
|
183
|
+
linger in it, and Bifrost loads the datasheets into the empty store before it answers."""
|
|
184
|
+
files = (sheets or {}) | {"config.json": config}
|
|
185
|
+
changed = False
|
|
186
|
+
for name, value in files.items():
|
|
187
|
+
text = _text(value)
|
|
188
|
+
path = app / name
|
|
189
|
+
with contextlib.suppress(OSError):
|
|
190
|
+
if path.read_text(encoding="utf-8") == text:
|
|
191
|
+
continue
|
|
192
|
+
app.mkdir(parents=True, exist_ok=True)
|
|
193
|
+
app.chmod(0o700)
|
|
194
|
+
tmp = path.with_name(f"{name}.tmp")
|
|
195
|
+
fd = os.open(tmp, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o600)
|
|
196
|
+
with os.fdopen(fd, "w", encoding="utf-8") as f:
|
|
197
|
+
f.write(text)
|
|
198
|
+
os.replace(tmp, path)
|
|
199
|
+
changed = True
|
|
200
|
+
if changed:
|
|
201
|
+
for name in STORE:
|
|
202
|
+
(app / name).unlink(missing_ok=True)
|
|
203
|
+
return changed
|
|
@@ -11,6 +11,7 @@ Nor does it fetch its MCP server library, which only the admin UI's catalog show
|
|
|
11
11
|
|
|
12
12
|
from __future__ import annotations
|
|
13
13
|
|
|
14
|
+
import os
|
|
14
15
|
from collections.abc import Iterable
|
|
15
16
|
from pathlib import Path
|
|
16
17
|
from typing import Any
|
|
@@ -20,13 +21,22 @@ PARAMETERS = "model-parameters.json"
|
|
|
20
21
|
FILES = (DATASHEET, PARAMETERS)
|
|
21
22
|
|
|
22
23
|
|
|
24
|
+
def file_url(app: Path, name: str, windows: bool = os.name == "nt") -> str:
|
|
25
|
+
"""A file URL for a sheet in ``app`` that Bifrost can open. Bifrost reads a file URL's path
|
|
26
|
+
as it stands, so ``file:///C:/x/datasheet.json`` is ``/C:/x/...`` on Windows, which does
|
|
27
|
+
not open, and Bifrost exits at start (dev38 Windows library load). On Windows the URL is
|
|
28
|
+
relative to its working directory, ``app`` (gateway_bifrost._start, the only way Bifrost
|
|
29
|
+
runs there); elsewhere absolute, as a systemd unit's working directory is not ``app``."""
|
|
30
|
+
return f"file:./{name}" if windows else (app / name).as_uri()
|
|
31
|
+
|
|
32
|
+
|
|
23
33
|
def framework(app: Path) -> dict[str, Any]:
|
|
24
34
|
"""config.json's ``framework``: the datasheets from ``app``, and no MCP library sync (0 is
|
|
25
35
|
Bifrost's off switch; any other interval fetches it)."""
|
|
26
36
|
return {
|
|
27
37
|
"pricing": {
|
|
28
|
-
"pricing_url": (app
|
|
29
|
-
"model_parameters_url": (app
|
|
38
|
+
"pricing_url": file_url(app, DATASHEET),
|
|
39
|
+
"model_parameters_url": file_url(app, PARAMETERS),
|
|
30
40
|
"mcp_library_sync_interval": 0,
|
|
31
41
|
}
|
|
32
42
|
}
|
|
@@ -149,7 +149,8 @@ def gpu_conflicts(facts: HostFacts) -> dict[str, list[str]]:
|
|
|
149
149
|
found: dict[str, list[str]] = {}
|
|
150
150
|
for proc in services.get("compute_processes") or []:
|
|
151
151
|
if proc["owned"] is not True:
|
|
152
|
-
|
|
152
|
+
label = "GPU context" if facts.get("platform") == "win32" else "process"
|
|
153
|
+
found.setdefault(proc["gpu_uuid"], []).append(f"{label} {proc['pid']} {proc['name']}")
|
|
153
154
|
for box in services.get("containers") or []:
|
|
154
155
|
if not _SERVING_IMAGE_RE.search(f"{box['image']} {box['name']}"):
|
|
155
156
|
continue
|
|
@@ -175,7 +176,12 @@ def holders(facts: HostFacts) -> dict[str, list[str]]:
|
|
|
175
176
|
reasons = [f"in use: {gib(taken)}"] if held(g) and not idle_desktop else []
|
|
176
177
|
if conflicts.get(g["uuid"]):
|
|
177
178
|
reasons.append(
|
|
178
|
-
|
|
179
|
+
(
|
|
180
|
+
"GPU contexts this tool does not own: "
|
|
181
|
+
if facts["platform"] == "win32"
|
|
182
|
+
else "runs services this tool does not own: "
|
|
183
|
+
)
|
|
184
|
+
+ ", ".join(conflicts[g["uuid"]])
|
|
179
185
|
)
|
|
180
186
|
if reasons:
|
|
181
187
|
found[g["uuid"]] = reasons
|
|
@@ -238,6 +244,11 @@ def sharing_cards(facts: HostFacts, need_bytes: int) -> list[GPU]:
|
|
|
238
244
|
if g["vendor"] == "nvidia"
|
|
239
245
|
and g.get("mig_mode") != "enabled"
|
|
240
246
|
and g["free_bytes"] >= need_bytes
|
|
247
|
+
and all(
|
|
248
|
+
p["owned"] is not None
|
|
249
|
+
for p in services["compute_processes"] or []
|
|
250
|
+
if p["gpu_uuid"] == g["uuid"]
|
|
251
|
+
)
|
|
241
252
|
],
|
|
242
253
|
key=lambda g: (-g["free_bytes"], -link_rate(g), g["index"]),
|
|
243
254
|
)
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"repo": "unsloth/Qwen3.8-27B-GGUF",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE",
|
|
11
|
+
"family": "qwen",
|
|
12
|
+
"publisher": "Qwen",
|
|
13
|
+
"parameters": "27B",
|
|
11
14
|
"status": "validated",
|
|
12
15
|
"tasks": [
|
|
13
16
|
"llm",
|
|
@@ -91,6 +94,9 @@
|
|
|
91
94
|
"repo": "unsloth/Qwen3.8-27B-GGUF",
|
|
92
95
|
"license": "Apache-2.0",
|
|
93
96
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE",
|
|
97
|
+
"family": "qwen",
|
|
98
|
+
"publisher": "Qwen",
|
|
99
|
+
"parameters": "27B",
|
|
94
100
|
"status": "candidate",
|
|
95
101
|
"tasks": [
|
|
96
102
|
"llm",
|
|
@@ -166,6 +172,9 @@
|
|
|
166
172
|
"repo": "unsloth/Qwen3.8-27B-GGUF",
|
|
167
173
|
"license": "Apache-2.0",
|
|
168
174
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE",
|
|
175
|
+
"family": "qwen",
|
|
176
|
+
"publisher": "Qwen",
|
|
177
|
+
"parameters": "27B",
|
|
169
178
|
"status": "validated",
|
|
170
179
|
"validated_on": [
|
|
171
180
|
"linux",
|
|
@@ -249,6 +258,9 @@
|
|
|
249
258
|
"repo": "ConwayResearch/Underdog-Saluki-27B-1.0",
|
|
250
259
|
"license": "Apache-2.0",
|
|
251
260
|
"license_url": "https://huggingface.co/ConwayResearch/Underdog-Saluki-27B-1.0/blob/4f60eba09f4b6db63c72915d328d97e1d93edb8c/README.md",
|
|
261
|
+
"family": "qwen",
|
|
262
|
+
"publisher": "ConwayResearch",
|
|
263
|
+
"parameters": "27B",
|
|
252
264
|
"status": "candidate",
|
|
253
265
|
"tasks": [
|
|
254
266
|
"llm",
|
|
@@ -324,6 +336,8 @@
|
|
|
324
336
|
"repo": "unsloth/Qwen3.8-Flash-Next-GGUF",
|
|
325
337
|
"license": "qwen-community-1.0",
|
|
326
338
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE",
|
|
339
|
+
"family": "qwen",
|
|
340
|
+
"publisher": "Qwen",
|
|
327
341
|
"status": "candidate",
|
|
328
342
|
"tasks": [
|
|
329
343
|
"llm",
|
|
@@ -405,6 +419,8 @@
|
|
|
405
419
|
"repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF",
|
|
406
420
|
"license": "qwen-community-1.0",
|
|
407
421
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE",
|
|
422
|
+
"family": "qwen",
|
|
423
|
+
"publisher": "Qwen",
|
|
408
424
|
"status": "validated",
|
|
409
425
|
"validated_on": [
|
|
410
426
|
"darwin"
|
|
@@ -491,6 +507,8 @@
|
|
|
491
507
|
"repo": "ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF",
|
|
492
508
|
"license": "qwen-community-1.0",
|
|
493
509
|
"license_url": "https://huggingface.co/Qwen/Qwen3.8-Flash-Next/blob/main/LICENSE",
|
|
510
|
+
"family": "qwen",
|
|
511
|
+
"publisher": "Qwen",
|
|
494
512
|
"status": "validated",
|
|
495
513
|
"validated_on": [
|
|
496
514
|
"darwin"
|
|
@@ -577,6 +595,10 @@
|
|
|
577
595
|
"repo": "unsloth/Qwen3.6-35B-A3B-MTP-GGUF",
|
|
578
596
|
"license": "Apache-2.0",
|
|
579
597
|
"license_url": "https://huggingface.co/Qwen/Qwen3.6-35B-A3B/blob/main/LICENSE",
|
|
598
|
+
"family": "qwen",
|
|
599
|
+
"publisher": "Qwen",
|
|
600
|
+
"parameters": "35B",
|
|
601
|
+
"active_parameters": "3B",
|
|
580
602
|
"status": "validated",
|
|
581
603
|
"tasks": [
|
|
582
604
|
"llm",
|
|
@@ -673,6 +695,8 @@
|
|
|
673
695
|
"repo": "unsloth/DeepSeek-V4-Flash-0731-GGUF",
|
|
674
696
|
"license": "MIT",
|
|
675
697
|
"license_url": "https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731/blob/main/LICENSE",
|
|
698
|
+
"family": "deepseek",
|
|
699
|
+
"publisher": "DeepSeek",
|
|
676
700
|
"status": "candidate",
|
|
677
701
|
"tasks": [
|
|
678
702
|
"llm"
|
|
@@ -739,6 +763,9 @@
|
|
|
739
763
|
"repo": "openbmb/MiniCPM5-2B-GGUF",
|
|
740
764
|
"license": "Apache-2.0",
|
|
741
765
|
"license_url": "https://huggingface.co/openbmb/MiniCPM5-2B/blob/f97400052a43d642bbc6e9975e2397e3ae6a6b52/README.md",
|
|
766
|
+
"family": "other",
|
|
767
|
+
"publisher": "OpenBMB",
|
|
768
|
+
"parameters": "2B",
|
|
742
769
|
"status": "candidate",
|
|
743
770
|
"tasks": [
|
|
744
771
|
"llm"
|
|
@@ -793,6 +820,9 @@
|
|
|
793
820
|
"repo": "openbmb/MiniCPM5-2B-GGUF",
|
|
794
821
|
"license": "Apache-2.0",
|
|
795
822
|
"license_url": "https://huggingface.co/openbmb/MiniCPM5-2B/blob/f97400052a43d642bbc6e9975e2397e3ae6a6b52/README.md",
|
|
823
|
+
"family": "other",
|
|
824
|
+
"publisher": "OpenBMB",
|
|
825
|
+
"parameters": "2B",
|
|
796
826
|
"status": "candidate",
|
|
797
827
|
"tasks": [
|
|
798
828
|
"llm"
|
|
@@ -845,6 +875,9 @@
|
|
|
845
875
|
"repo": "unsloth/Qwen3.5-2B-GGUF",
|
|
846
876
|
"license": "Apache-2.0",
|
|
847
877
|
"license_url": "https://huggingface.co/Qwen/Qwen3.5-2B/blob/main/LICENSE",
|
|
878
|
+
"family": "qwen",
|
|
879
|
+
"publisher": "Qwen",
|
|
880
|
+
"parameters": "2B",
|
|
848
881
|
"status": "deprecated",
|
|
849
882
|
"tasks": [
|
|
850
883
|
"llm",
|
|
@@ -917,6 +950,9 @@
|
|
|
917
950
|
"repo": "unsloth/Qwen3.5-4B-GGUF",
|
|
918
951
|
"license": "Apache-2.0",
|
|
919
952
|
"license_url": "https://huggingface.co/Qwen/Qwen3.5-4B/blob/main/LICENSE",
|
|
953
|
+
"family": "qwen",
|
|
954
|
+
"publisher": "Qwen",
|
|
955
|
+
"parameters": "4B",
|
|
920
956
|
"status": "deprecated",
|
|
921
957
|
"tasks": [
|
|
922
958
|
"llm",
|
|
@@ -989,6 +1025,9 @@
|
|
|
989
1025
|
"repo": "unsloth/Qwen3.5-9B-GGUF",
|
|
990
1026
|
"license": "Apache-2.0",
|
|
991
1027
|
"license_url": "https://huggingface.co/Qwen/Qwen3.5-9B/blob/main/LICENSE",
|
|
1028
|
+
"family": "qwen",
|
|
1029
|
+
"publisher": "Qwen",
|
|
1030
|
+
"parameters": "9B",
|
|
992
1031
|
"status": "deprecated",
|
|
993
1032
|
"tasks": [
|
|
994
1033
|
"llm",
|
|
@@ -1058,6 +1097,10 @@
|
|
|
1058
1097
|
"repo": "unsloth/Nemotron-3-Nano-30B-A3B-GGUF",
|
|
1059
1098
|
"license": "nvidia-nemotron-open-model-license",
|
|
1060
1099
|
"license_url": "https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-nemotron-open-model-license/",
|
|
1100
|
+
"family": "other",
|
|
1101
|
+
"publisher": "NVIDIA",
|
|
1102
|
+
"parameters": "30B",
|
|
1103
|
+
"active_parameters": "3B",
|
|
1061
1104
|
"status": "candidate",
|
|
1062
1105
|
"tasks": [
|
|
1063
1106
|
"llm"
|
|
@@ -1119,10 +1162,13 @@
|
|
|
1119
1162
|
{
|
|
1120
1163
|
"id": "spark-x2.6-1.7b",
|
|
1121
1164
|
"display_name": "Spark-X2.6 1.7B",
|
|
1122
|
-
"description": "Spark-X2.6 1.7B (2026-10, hybrid SWA attention) at Q8_0
|
|
1165
|
+
"description": "Spark-X2.6 1.7B (2026-10, hybrid SWA attention) at Q8_0: user-selected 16 GB Mac fastest choice and every Mac's last fallback (roadmap decision 57), at a 64K window shared by two slots; no SimplexAI score, vendor anchor 55 never ranks it",
|
|
1123
1166
|
"repo": "XHToken/Spark-X2.6-1.7B-GGUF",
|
|
1124
1167
|
"license": "Apache-2.0",
|
|
1125
1168
|
"license_url": "https://huggingface.co/XHToken/Spark-X2.6-1.7B-GGUF/blob/cdc3d8893fba4ce0687f1b49ce1e18b29cae96d0/README.md",
|
|
1169
|
+
"family": "other",
|
|
1170
|
+
"publisher": "XHToken",
|
|
1171
|
+
"parameters": "1.7B",
|
|
1126
1172
|
"status": "candidate",
|
|
1127
1173
|
"reasoning_efforts": [
|
|
1128
1174
|
"low",
|
|
@@ -1131,7 +1177,9 @@
|
|
|
1131
1177
|
"tasks": [
|
|
1132
1178
|
"llm"
|
|
1133
1179
|
],
|
|
1134
|
-
"evidence": [
|
|
1180
|
+
"evidence": [
|
|
1181
|
+
"2026-11-16-spark-mac16-ladder"
|
|
1182
|
+
],
|
|
1135
1183
|
"variants": [
|
|
1136
1184
|
{
|
|
1137
1185
|
"quant": "Q8_0",
|
|
@@ -1149,6 +1197,7 @@
|
|
|
1149
1197
|
}
|
|
1150
1198
|
],
|
|
1151
1199
|
"n_ctx_train": 1048576,
|
|
1200
|
+
"max_agent_window": 65536,
|
|
1152
1201
|
"full_layers": 7,
|
|
1153
1202
|
"recurrent_layers": 0,
|
|
1154
1203
|
"per_layer_f16": 2048,
|
|
@@ -1182,6 +1231,9 @@
|
|
|
1182
1231
|
"repo": "XHToken/Spark-X2.6-4B-GGUF",
|
|
1183
1232
|
"license": "Apache-2.0",
|
|
1184
1233
|
"license_url": "https://huggingface.co/XHToken/Spark-X2.6-4B-GGUF/blob/0e8aa39a34063946ce07bbaaff392093b11b6829/README.md",
|
|
1234
|
+
"family": "other",
|
|
1235
|
+
"publisher": "XHToken",
|
|
1236
|
+
"parameters": "4B",
|
|
1185
1237
|
"status": "candidate",
|
|
1186
1238
|
"reasoning_efforts": [
|
|
1187
1239
|
"low",
|
|
@@ -1238,6 +1290,71 @@
|
|
|
1238
1290
|
]
|
|
1239
1291
|
}
|
|
1240
1292
|
},
|
|
1293
|
+
{
|
|
1294
|
+
"id": "spark-x2.6-4b-q4km",
|
|
1295
|
+
"display_name": "Spark-X2.6 4B",
|
|
1296
|
+
"description": "Spark-X2.6 4B Q4_K_M candidate: user-selected Mac small-memory default (16 GB smartest, 24 GB fastest, every Mac's fallback below Qwen3.8-27B; roadmap decision 57), at a 64K window shared by two slots. No SimplexAI score; physical 16 GB Mac installation and full product acceptance pending",
|
|
1297
|
+
"repo": "XHToken/Spark-X2.6-4B-GGUF",
|
|
1298
|
+
"license": "Apache-2.0",
|
|
1299
|
+
"license_url": "https://huggingface.co/XHToken/Spark-X2.6-4B-GGUF/blob/9d716770ac7477776de5f891f70cdf98b003a5cd/README.md",
|
|
1300
|
+
"family": "other",
|
|
1301
|
+
"publisher": "XHToken",
|
|
1302
|
+
"parameters": "4B",
|
|
1303
|
+
"status": "candidate",
|
|
1304
|
+
"reasoning_efforts": [
|
|
1305
|
+
"low",
|
|
1306
|
+
"high"
|
|
1307
|
+
],
|
|
1308
|
+
"tasks": [
|
|
1309
|
+
"llm"
|
|
1310
|
+
],
|
|
1311
|
+
"evidence": [
|
|
1312
|
+
"2026-11-16-spark-mac16-ladder"
|
|
1313
|
+
],
|
|
1314
|
+
"variants": [
|
|
1315
|
+
{
|
|
1316
|
+
"quant": "Q4_K_M",
|
|
1317
|
+
"files": [
|
|
1318
|
+
{
|
|
1319
|
+
"path": "Spark-X2.6-4B-Q4_K_M.gguf",
|
|
1320
|
+
"size_bytes": 3543441312,
|
|
1321
|
+
"revision": "9d716770ac7477776de5f891f70cdf98b003a5cd",
|
|
1322
|
+
"sha256": "91cb2811aebb47ac916aa619d27d4cdd7f4143106b7917accb8ead4cd7f5cbd9"
|
|
1323
|
+
}
|
|
1324
|
+
],
|
|
1325
|
+
"lazy_bytes": 0,
|
|
1326
|
+
"embd_table_bytes": 671088640,
|
|
1327
|
+
"mtp_layer_bytes": 0
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"n_ctx_train": 1048576,
|
|
1331
|
+
"max_agent_window": 65536,
|
|
1332
|
+
"full_layers": 9,
|
|
1333
|
+
"recurrent_layers": 0,
|
|
1334
|
+
"per_layer_f16": 4096,
|
|
1335
|
+
"swa_layers": 27,
|
|
1336
|
+
"swa_window": 512,
|
|
1337
|
+
"moe": false,
|
|
1338
|
+
"n_vocab": 131072,
|
|
1339
|
+
"architecture": "spark2_5",
|
|
1340
|
+
"n_embd": 2560,
|
|
1341
|
+
"tied_embeddings": false,
|
|
1342
|
+
"sampling": {
|
|
1343
|
+
"top-k": "-1",
|
|
1344
|
+
"top-p": "0.95",
|
|
1345
|
+
"temp": "1"
|
|
1346
|
+
},
|
|
1347
|
+
"quality": {
|
|
1348
|
+
"score": 0,
|
|
1349
|
+
"sources": [
|
|
1350
|
+
{
|
|
1351
|
+
"type": "editorial",
|
|
1352
|
+
"ref": "User decision 2026-11-16 (roadmap decision 57): Mac small-memory default chosen by the user, outside SimplexAI ranking. 0 is unranked, not a measured capability score; the vendor anchor of spark-x2.6-4b (72) does not apply to Mac ranking. Header facts (untied 671088640-byte embedding table) read from the pinned GGUF over Hub Range requests",
|
|
1353
|
+
"date": "2026-11-16"
|
|
1354
|
+
}
|
|
1355
|
+
]
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1241
1358
|
{
|
|
1242
1359
|
"id": "lfm3-1.7b",
|
|
1243
1360
|
"display_name": "LFM3 1.7B",
|
|
@@ -1245,6 +1362,9 @@
|
|
|
1245
1362
|
"repo": "LiquidAI/LFM3-1.7B-GGUF",
|
|
1246
1363
|
"license": "LFM Open License v1.0",
|
|
1247
1364
|
"license_url": "https://huggingface.co/LiquidAI/LFM3-1.7B-GGUF/blob/cd0c74c575b5c416f3011b5b4c298077f26ca8c2/LICENSE",
|
|
1365
|
+
"family": "other",
|
|
1366
|
+
"publisher": "Liquid AI",
|
|
1367
|
+
"parameters": "1.7B",
|
|
1248
1368
|
"status": "candidate",
|
|
1249
1369
|
"tasks": [
|
|
1250
1370
|
"llm"
|
|
@@ -1304,6 +1424,8 @@
|
|
|
1304
1424
|
"repo": "inclusionAI/Ling-3.0-tiny-GGUF",
|
|
1305
1425
|
"license": "MIT",
|
|
1306
1426
|
"license_url": "https://huggingface.co/inclusionAI/Ling-3.0-tiny-GGUF/blob/01b850e29ed5b44e2b810160ff980a9bb353296f/README.md",
|
|
1427
|
+
"family": "other",
|
|
1428
|
+
"publisher": "inclusionAI",
|
|
1307
1429
|
"status": "validated",
|
|
1308
1430
|
"validated_on": [
|
|
1309
1431
|
"darwin"
|
|
@@ -1372,6 +1494,9 @@
|
|
|
1372
1494
|
"repo": "ornith-ai/Ornith-1.5-9B-GGUF",
|
|
1373
1495
|
"license": "MIT",
|
|
1374
1496
|
"license_url": "https://huggingface.co/ornith-ai/Ornith-1.5-9B-GGUF/blob/abdd624b12ebf020b767fff532ff44fe552b28c3/README.md",
|
|
1497
|
+
"family": "other",
|
|
1498
|
+
"publisher": "Ornith AI",
|
|
1499
|
+
"parameters": "9B",
|
|
1375
1500
|
"status": "candidate",
|
|
1376
1501
|
"tasks": [
|
|
1377
1502
|
"llm",
|
|
@@ -1442,6 +1567,9 @@
|
|
|
1442
1567
|
"repo": "ornith-ai/Ornith-1.5-9B-GGUF",
|
|
1443
1568
|
"license": "MIT",
|
|
1444
1569
|
"license_url": "https://huggingface.co/ornith-ai/Ornith-1.5-9B-GGUF/blob/abdd624b12ebf020b767fff532ff44fe552b28c3/README.md",
|
|
1570
|
+
"family": "other",
|
|
1571
|
+
"publisher": "Ornith AI",
|
|
1572
|
+
"parameters": "9B",
|
|
1445
1573
|
"status": "candidate",
|
|
1446
1574
|
"tasks": [
|
|
1447
1575
|
"llm",
|
|
@@ -1513,6 +1641,9 @@
|
|
|
1513
1641
|
"repo": "mlx-community/Qwen3.5-2B-MLX-4bit",
|
|
1514
1642
|
"license": "Apache-2.0",
|
|
1515
1643
|
"license_url": "https://huggingface.co/Qwen/Qwen3.5-2B/blob/main/LICENSE",
|
|
1644
|
+
"family": "qwen",
|
|
1645
|
+
"publisher": "Qwen",
|
|
1646
|
+
"parameters": "2B",
|
|
1516
1647
|
"status": "candidate",
|
|
1517
1648
|
"tasks": [
|
|
1518
1649
|
"llm"
|
|
@@ -1610,6 +1741,10 @@
|
|
|
1610
1741
|
"repo": "LiquidAI/LFM2.5-24B-A2B-GGUF",
|
|
1611
1742
|
"license": "lfm-open-license-v1.0",
|
|
1612
1743
|
"license_url": "https://huggingface.co/LiquidAI/LFM2.5-24B-A2B-GGUF/blob/0912d33141f77e10705345a6732bfd83f0252fdc/LICENSE",
|
|
1744
|
+
"family": "other",
|
|
1745
|
+
"publisher": "Liquid AI",
|
|
1746
|
+
"parameters": "24B",
|
|
1747
|
+
"active_parameters": "2B",
|
|
1613
1748
|
"status": "candidate",
|
|
1614
1749
|
"tasks": [
|
|
1615
1750
|
"llm"
|