@simplexai/localmodels-win32-x64 0.1.0-dev.60 → 0.1.0-dev.61
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 +73 -60
- package/modules/localmodels/__init__.py +1 -1
- package/modules/localmodels/__main__.py +5 -3
- package/modules/localmodels/auth_proxy.py +185 -19
- package/modules/localmodels/catalog.json +363 -0
- package/modules/localmodels/catalog.py +1 -1
- package/modules/localmodels/catalog_add.py +5 -5
- package/modules/localmodels/catalog_license.py +2 -0
- package/modules/localmodels/catalog_recipes.py +2 -0
- package/modules/localmodels/cli_parser.py +6 -2
- package/modules/localmodels/context_policy.py +40 -4
- package/modules/localmodels/debug_mode.py +13 -0
- package/modules/localmodels/debug_stub_server.py +156 -1
- package/modules/localmodels/deploy.py +11 -2
- package/modules/localmodels/download-mirrors.json +12 -0
- package/modules/localmodels/engines-b12757-mix-ef2df21.json +26 -0
- package/modules/localmodels/engines-whisper-b5454.json +120 -1
- package/modules/localmodels/gateway_app_bifrost.py +14 -14
- package/modules/localmodels/gateway_bifrost.py +4 -1
- package/modules/localmodels/gateway_cli.py +14 -80
- package/modules/localmodels/gateway_server.py +88 -16
- package/modules/localmodels/gpu_specs.py +35 -1
- package/modules/localmodels/harness.py +1 -2
- package/modules/localmodels/hf_repo.py +12 -4
- package/modules/localmodels/install.py +4 -4
- package/modules/localmodels/library_serve.py +69 -13
- package/modules/localmodels/npm_transport.py +4 -58
- package/modules/localmodels/recommend_cli.py +2 -1
- package/modules/localmodels/remote_ops.py +120 -713
- package/modules/localmodels/remote_ops_common.py +729 -0
- package/modules/localmodels/remote_ops_download.py +397 -381
- package/modules/localmodels/remote_ops_mirrors.py +26 -65
- package/modules/localmodels/remote_ops_prepare.py +43 -35
- package/modules/localmodels/remote_ops_ranges.py +98 -62
- package/modules/localmodels/remote_ops_remove.py +30 -22
- package/modules/localmodels/remote_ops_service.py +102 -95
- package/modules/localmodels/remote_ops_verify.py +94 -63
- package/modules/localmodels/runtime_cli.py +15 -5
- package/modules/localmodels/runtime_io.py +54 -1
- package/modules/localmodels/speech-sv.txt +93 -0
- package/modules/localmodels/speech_admission.py +437 -0
- package/modules/localmodels/speech_catalog.py +170 -0
- package/modules/localmodels/speech_cli.py +273 -0
- package/modules/localmodels/speech_jobs.py +772 -0
- package/modules/localmodels/speech_model.py +404 -0
- package/modules/localmodels/speech_serve.py +287 -0
- package/modules/localmodels/speech_server.py +837 -0
- package/modules/localmodels/speech_state.py +697 -0
- package/modules/localmodels/speech_worker_sensevoice.py +255 -0
- package/modules/localmodels/speech_workers.py +783 -0
- package/modules/localmodels/stack.py +0 -33
- package/modules/localmodels/stack_auto.py +5 -3
- package/modules/localmodels/stack_aux_gpu.py +45 -4
- package/modules/localmodels/stack_capacity.py +77 -8
- package/modules/localmodels/stack_cli.py +16 -1
- package/modules/localmodels/stack_compose.py +1 -1
- package/modules/localmodels/stack_down.py +24 -1
- package/modules/localmodels/stack_hardware.py +57 -88
- package/modules/localmodels/stack_hardware_text.py +4 -59
- package/modules/localmodels/stack_memory.py +13 -3
- package/modules/localmodels/stack_suite.py +9 -10
- package/modules/localmodels/stack_summary.py +4 -4
- package/modules/localmodels/stack_view_llm.py +1 -1
- package/modules/localmodels/transport.py +3 -2
- package/modules/localmodels/tui_views.py +2 -2
- package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/RECORD +70 -57
- package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/licenses/NOTICE +9 -0
- package/package.json +1 -1
- package/tool.json +1 -1
- /package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev60.dist-info → simplex_localmodels-0.1.0.dev61.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
|
@@ -1956,6 +1956,282 @@
|
|
|
1956
1956
|
}
|
|
1957
1957
|
]
|
|
1958
1958
|
}
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"id": "gemma-4-12b-it",
|
|
1962
|
+
"display_name": "Gemma 4 12B Instruct",
|
|
1963
|
+
"description": "Google DeepMind Gemma 4 12B unified multimodal SWA (5:1) model at IQ4_XS for 16 GB and 24 GB Macs",
|
|
1964
|
+
"repo": "unsloth/gemma-4-12b-it-GGUF",
|
|
1965
|
+
"license": "Apache-2.0",
|
|
1966
|
+
"license_url": "https://huggingface.co/unsloth/gemma-4-12b-it-GGUF/blob/fc034cfff751157913579611efad8462ac1be606/README.md",
|
|
1967
|
+
"status": "candidate",
|
|
1968
|
+
"tasks": [
|
|
1969
|
+
"llm",
|
|
1970
|
+
"vision"
|
|
1971
|
+
],
|
|
1972
|
+
"evidence": [
|
|
1973
|
+
"2026-11-18-mac-metal-perf-and-models"
|
|
1974
|
+
],
|
|
1975
|
+
"variants": [
|
|
1976
|
+
{
|
|
1977
|
+
"quant": "IQ4_XS",
|
|
1978
|
+
"files": [
|
|
1979
|
+
{
|
|
1980
|
+
"path": "gemma-4-12b-it-IQ4_XS.gguf",
|
|
1981
|
+
"size_bytes": 6375734080,
|
|
1982
|
+
"revision": "fc034cfff751157913579611efad8462ac1be606",
|
|
1983
|
+
"sha256": "b0037d0e0de0290177045ca214b2a0fb1079d18bde57842b3ca32f5b0cd76774"
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1986
|
+
"lazy_bytes": 0,
|
|
1987
|
+
"embd_table_bytes": 566231040,
|
|
1988
|
+
"mtp_layer_bytes": 0
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
"n_ctx_train": 262144,
|
|
1992
|
+
"full_layers": 8,
|
|
1993
|
+
"recurrent_layers": 0,
|
|
1994
|
+
"per_layer_f16": 2048,
|
|
1995
|
+
"swa_layers": 40,
|
|
1996
|
+
"swa_window": 1024,
|
|
1997
|
+
"moe": false,
|
|
1998
|
+
"n_vocab": 262144,
|
|
1999
|
+
"architecture": "gemma4",
|
|
2000
|
+
"n_embd": 3840,
|
|
2001
|
+
"tied_embeddings": true,
|
|
2002
|
+
"sampling": {
|
|
2003
|
+
"top-k": "64",
|
|
2004
|
+
"top-p": "0.95",
|
|
2005
|
+
"temp": "1"
|
|
2006
|
+
},
|
|
2007
|
+
"quality": {
|
|
2008
|
+
"score": 45,
|
|
2009
|
+
"sources": [
|
|
2010
|
+
{
|
|
2011
|
+
"type": "editorial",
|
|
2012
|
+
"ref": "editorial ordering below validated SimplexAI 50-scale models: MAC24P live Metal evals (GSM8K 95.0, MMLU 91.2, IFEval 92.0, BFCL single-turn 91.4, 64K NIAH 27/27; agentloop multi-step timed out)",
|
|
2013
|
+
"date": "2026-11-18"
|
|
2014
|
+
}
|
|
2015
|
+
]
|
|
2016
|
+
},
|
|
2017
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
2018
|
+
"mmproj": {
|
|
2019
|
+
"path": "mmproj-BF16.gguf",
|
|
2020
|
+
"size_bytes": 175115840,
|
|
2021
|
+
"local": "mmproj-gemma-4-12b-it-BF16.gguf",
|
|
2022
|
+
"revision": "fc034cfff751157913579611efad8462ac1be606",
|
|
2023
|
+
"sha256": "2e269f906eb15169ee9ce880ea649bd6d42d4964c21f8ede10d0d0efc738bcbb"
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"id": "ternary-bonsai-2-27b",
|
|
2028
|
+
"display_name": "Ternary Bonsai 2 27B",
|
|
2029
|
+
"description": "PrismML Hadamard-ternary Qwen3.8-27B derivative in stock llama.cpp Q2_0 packing for 24 GB Macs",
|
|
2030
|
+
"repo": "prism-ml/Ternary-Bonsai-2-27B-gguf",
|
|
2031
|
+
"license": "Apache-2.0",
|
|
2032
|
+
"license_url": "https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf/blob/839bd57023c1558945afea70a74fa83c054f35f9/README.md",
|
|
2033
|
+
"status": "candidate",
|
|
2034
|
+
"tasks": [
|
|
2035
|
+
"llm",
|
|
2036
|
+
"vision"
|
|
2037
|
+
],
|
|
2038
|
+
"evidence": [
|
|
2039
|
+
"2026-11-18-mac-metal-perf-and-models"
|
|
2040
|
+
],
|
|
2041
|
+
"variants": [
|
|
2042
|
+
{
|
|
2043
|
+
"quant": "Q2_0",
|
|
2044
|
+
"files": [
|
|
2045
|
+
{
|
|
2046
|
+
"path": "Ternary-Bonsai-2-27B-Q2_0.gguf",
|
|
2047
|
+
"size_bytes": 7626008928,
|
|
2048
|
+
"revision": "839bd57023c1558945afea70a74fa83c054f35f9",
|
|
2049
|
+
"sha256": "4f99aed01b8a877e153f9aa6569a4440fe17c59701cc0953e36d7f460549e70e"
|
|
2050
|
+
}
|
|
2051
|
+
],
|
|
2052
|
+
"lazy_bytes": 0,
|
|
2053
|
+
"embd_table_bytes": 357580800,
|
|
2054
|
+
"mtp_layer_bytes": 0
|
|
2055
|
+
}
|
|
2056
|
+
],
|
|
2057
|
+
"n_ctx_train": 262144,
|
|
2058
|
+
"full_layers": 16,
|
|
2059
|
+
"recurrent_layers": 48,
|
|
2060
|
+
"per_layer_f16": 4096,
|
|
2061
|
+
"swa_layers": 0,
|
|
2062
|
+
"swa_window": 0,
|
|
2063
|
+
"moe": false,
|
|
2064
|
+
"n_vocab": 248320,
|
|
2065
|
+
"architecture": "qwen35",
|
|
2066
|
+
"n_embd": 5120,
|
|
2067
|
+
"tied_embeddings": false,
|
|
2068
|
+
"sampling": {
|
|
2069
|
+
"top-k": "20",
|
|
2070
|
+
"top-p": "0.95",
|
|
2071
|
+
"temp": "1"
|
|
2072
|
+
},
|
|
2073
|
+
"quality": {
|
|
2074
|
+
"score": 49,
|
|
2075
|
+
"sources": [
|
|
2076
|
+
{
|
|
2077
|
+
"type": "editorial",
|
|
2078
|
+
"ref": "editorial ordering below validated qwen3.8-27b-iq3s (52): MAC24P live Metal text-only evals (GSM8K 95.0, MMLU 89.5, C-Eval 81.7, BFCL single 90.7 / multi 50.0, 64K NIAH 27/27, agentloop mean 0.90; mmproj-Q8_0 archived & header-priced, vision runtime pending)",
|
|
2079
|
+
"date": "2026-11-18"
|
|
2080
|
+
}
|
|
2081
|
+
]
|
|
2082
|
+
},
|
|
2083
|
+
"ssm_d_inner": 6144,
|
|
2084
|
+
"ssm_d_state": 128,
|
|
2085
|
+
"ssm_d_conv": 4,
|
|
2086
|
+
"ssm_n_group": 16,
|
|
2087
|
+
"ssm_dt_rank": 48,
|
|
2088
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
2089
|
+
"mmproj": {
|
|
2090
|
+
"path": "Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf",
|
|
2091
|
+
"size_bytes": 629246976,
|
|
2092
|
+
"local": "Ternary-Bonsai-2-27B-mmproj-Q8_0.gguf",
|
|
2093
|
+
"revision": "839bd57023c1558945afea70a74fa83c054f35f9",
|
|
2094
|
+
"sha256": "6807ede61d570bb86ba34b756a0fa109edc33668604de867c6ea6d8f1d631903"
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"id": "qwen3.8-27b-gsq-iq2s",
|
|
2099
|
+
"display_name": "Qwen3.8 27B GSQ-RCO IQ2_S (MTP)",
|
|
2100
|
+
"description": "ISTA-DASLab Riemannian-constrained Qwen3.8-27B IQ2_S build with built-in MTP head for 24 GB Macs",
|
|
2101
|
+
"repo": "ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF",
|
|
2102
|
+
"license": "Apache-2.0",
|
|
2103
|
+
"license_url": "https://huggingface.co/ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF/blob/d562806dbafae37109975e970aae91b43e73b440/README.md",
|
|
2104
|
+
"status": "candidate",
|
|
2105
|
+
"tasks": [
|
|
2106
|
+
"llm",
|
|
2107
|
+
"vision"
|
|
2108
|
+
],
|
|
2109
|
+
"evidence": [],
|
|
2110
|
+
"variants": [
|
|
2111
|
+
{
|
|
2112
|
+
"quant": "GSQ-RCO-IQ2_S-mtp",
|
|
2113
|
+
"files": [
|
|
2114
|
+
{
|
|
2115
|
+
"path": "Qwen3.8-27B-GSQ-RCO-IQ2_S-mtp.gguf",
|
|
2116
|
+
"size_bytes": 9607981120,
|
|
2117
|
+
"revision": "d562806dbafae37109975e970aae91b43e73b440",
|
|
2118
|
+
"sha256": "e6406238a5cc0043775cd1963b6f9e5b8707400276e38d9fde742304906b1330"
|
|
2119
|
+
}
|
|
2120
|
+
],
|
|
2121
|
+
"lazy_bytes": 0,
|
|
2122
|
+
"embd_table_bytes": 407244800,
|
|
2123
|
+
"mtp_layer_bytes": 348469248
|
|
2124
|
+
}
|
|
2125
|
+
],
|
|
2126
|
+
"n_ctx_train": 262144,
|
|
2127
|
+
"full_layers": 16,
|
|
2128
|
+
"recurrent_layers": 48,
|
|
2129
|
+
"per_layer_f16": 4096,
|
|
2130
|
+
"swa_layers": 0,
|
|
2131
|
+
"swa_window": 0,
|
|
2132
|
+
"moe": false,
|
|
2133
|
+
"mtp": true,
|
|
2134
|
+
"mtp_draft_depth": 2,
|
|
2135
|
+
"agent_mtp": false,
|
|
2136
|
+
"n_vocab": 248320,
|
|
2137
|
+
"architecture": "qwen35",
|
|
2138
|
+
"n_embd": 5120,
|
|
2139
|
+
"tied_embeddings": false,
|
|
2140
|
+
"sampling": {
|
|
2141
|
+
"top-k": "20",
|
|
2142
|
+
"top-p": "0.95",
|
|
2143
|
+
"min-p": "0",
|
|
2144
|
+
"temp": "1"
|
|
2145
|
+
},
|
|
2146
|
+
"quality": {
|
|
2147
|
+
"score": 48,
|
|
2148
|
+
"sources": [
|
|
2149
|
+
{
|
|
2150
|
+
"type": "editorial",
|
|
2151
|
+
"ref": "editorial ordering beside underdog-saluki-27b (48) and below validated qwen3.8-27b-iq3s (52): Riemannian-constrained Qwen3.8-27B IQ2_S with built-in MTP head (GGUF header pricing + NAS archive only; on-device runtime run pending)",
|
|
2152
|
+
"date": "2026-11-18"
|
|
2153
|
+
}
|
|
2154
|
+
]
|
|
2155
|
+
},
|
|
2156
|
+
"ssm_d_inner": 6144,
|
|
2157
|
+
"ssm_d_state": 128,
|
|
2158
|
+
"ssm_d_conv": 4,
|
|
2159
|
+
"ssm_n_group": 16,
|
|
2160
|
+
"ssm_dt_rank": 48,
|
|
2161
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
2162
|
+
"mmproj": {
|
|
2163
|
+
"path": "mmproj-Qwen3.8-27B-BF16.gguf",
|
|
2164
|
+
"size_bytes": 931146528,
|
|
2165
|
+
"local": "mmproj-Qwen3.8-27B-BF16.gguf",
|
|
2166
|
+
"revision": "d562806dbafae37109975e970aae91b43e73b440",
|
|
2167
|
+
"sha256": "13cb7bebccbd04afc8f4090cb949ecf8937cdf7377c5799b1a0c594e7c0d3e16"
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"id": "nemotron-3.5-bolt-e4b",
|
|
2172
|
+
"display_name": "Nemotron 3.5 Bolt E4B",
|
|
2173
|
+
"description": "NVIDIA NeMo RL post-trained Gemma 4 PLE 4B-effective multimodal model at UD-Q4_K_XL for 16 GB Macs",
|
|
2174
|
+
"repo": "unsloth/NVIDIA-Nemotron-3.5-Bolt-E4B-GGUF",
|
|
2175
|
+
"license": "OpenMDW-1.1",
|
|
2176
|
+
"license_url": "https://huggingface.co/unsloth/NVIDIA-Nemotron-3.5-Bolt-E4B-GGUF/blob/b738967d6da3441a7d1c71fcec15e49e32e16ecd/README.md",
|
|
2177
|
+
"status": "candidate",
|
|
2178
|
+
"tasks": [
|
|
2179
|
+
"llm",
|
|
2180
|
+
"vision"
|
|
2181
|
+
],
|
|
2182
|
+
"evidence": [
|
|
2183
|
+
"2026-11-18-mac-metal-perf-and-models"
|
|
2184
|
+
],
|
|
2185
|
+
"variants": [
|
|
2186
|
+
{
|
|
2187
|
+
"quant": "UD-Q4_K_XL",
|
|
2188
|
+
"files": [
|
|
2189
|
+
{
|
|
2190
|
+
"path": "NVIDIA-Nemotron-3.5-Bolt-E4B-UD-Q4_K_XL.gguf",
|
|
2191
|
+
"size_bytes": 5060482240,
|
|
2192
|
+
"revision": "b738967d6da3441a7d1c71fcec15e49e32e16ecd",
|
|
2193
|
+
"sha256": "84ff34f5834b929043f5ae74799e8d562d4056998f6a5923ceb44831e8ad84d6"
|
|
2194
|
+
}
|
|
2195
|
+
],
|
|
2196
|
+
"lazy_bytes": 0,
|
|
2197
|
+
"embd_table_bytes": 461373440,
|
|
2198
|
+
"mtp_layer_bytes": 0
|
|
2199
|
+
}
|
|
2200
|
+
],
|
|
2201
|
+
"n_ctx_train": 131072,
|
|
2202
|
+
"full_layers": 7,
|
|
2203
|
+
"recurrent_layers": 0,
|
|
2204
|
+
"per_layer_f16": 4096,
|
|
2205
|
+
"swa_layers": 35,
|
|
2206
|
+
"swa_window": 512,
|
|
2207
|
+
"moe": false,
|
|
2208
|
+
"n_vocab": 262144,
|
|
2209
|
+
"architecture": "gemma4",
|
|
2210
|
+
"n_embd": 2560,
|
|
2211
|
+
"tied_embeddings": true,
|
|
2212
|
+
"sampling": {
|
|
2213
|
+
"top-k": "64",
|
|
2214
|
+
"top-p": "0.95",
|
|
2215
|
+
"temp": "1"
|
|
2216
|
+
},
|
|
2217
|
+
"quality": {
|
|
2218
|
+
"score": 42,
|
|
2219
|
+
"sources": [
|
|
2220
|
+
{
|
|
2221
|
+
"type": "editorial",
|
|
2222
|
+
"ref": "editorial ordering below gemma-4-12b-it (45): MAC24P live Metal evals (MMLU 88.6, IFEval 88.0, BFCL single-turn 89.3, 64K NIAH 27/27; BFCL multi-turn 25.0 and agentloop failed)",
|
|
2223
|
+
"date": "2026-11-18"
|
|
2224
|
+
}
|
|
2225
|
+
]
|
|
2226
|
+
},
|
|
2227
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
2228
|
+
"mmproj": {
|
|
2229
|
+
"path": "mmproj-Q8_0.gguf",
|
|
2230
|
+
"size_bytes": 559875776,
|
|
2231
|
+
"local": "mmproj-Nemotron-3.5-Bolt-E4B-Q8_0.gguf",
|
|
2232
|
+
"revision": "b738967d6da3441a7d1c71fcec15e49e32e16ecd",
|
|
2233
|
+
"sha256": "6e0602540b342560e0ec62b182e8ea3bf54cc8e352b5e912f20cbb7a847cf23d"
|
|
2234
|
+
}
|
|
1959
2235
|
}
|
|
1960
2236
|
],
|
|
1961
2237
|
"components": [
|
|
@@ -6449,6 +6725,93 @@
|
|
|
6449
6725
|
},
|
|
6450
6726
|
"note": "whisper-server has no API key and a POST /load route, so auth_proxy.py (started by the service) serves the port and requires the deployment key; whisper-server itself listens on a free 127.0.0.1 port. --convert needs ffmpeg. Chinese requests should send language=zh and a Simplified-Chinese prompt."
|
|
6451
6727
|
},
|
|
6728
|
+
{
|
|
6729
|
+
"id": "whisper-large-v3-turbo",
|
|
6730
|
+
"display_name": "Whisper Large v3 Turbo (Q5_0)",
|
|
6731
|
+
"task": "stt",
|
|
6732
|
+
"runtime": "whisper.cpp",
|
|
6733
|
+
"version": "ggml-large-v3-turbo-q5_0",
|
|
6734
|
+
"repo": "ggerganov/whisper.cpp",
|
|
6735
|
+
"revision": "5359861c739e955e79d9a303bcbc70fb988958b1",
|
|
6736
|
+
"license": "MIT",
|
|
6737
|
+
"license_url": "https://github.com/openai/whisper/blob/main/LICENSE",
|
|
6738
|
+
"base_model": "openai/whisper-large-v3-turbo",
|
|
6739
|
+
"base_license": "MIT",
|
|
6740
|
+
"base_license_url": "https://github.com/openai/whisper/blob/main/LICENSE",
|
|
6741
|
+
"artifact_license": "MIT",
|
|
6742
|
+
"artifact_license_url": "https://huggingface.co/ggerganov/whisper.cpp/blob/5359861c739e955e79d9a303bcbc70fb988958b1/README.md",
|
|
6743
|
+
"commercial_notice": null,
|
|
6744
|
+
"status": "candidate",
|
|
6745
|
+
"tasks": [
|
|
6746
|
+
"stt"
|
|
6747
|
+
],
|
|
6748
|
+
"evidence": [],
|
|
6749
|
+
"engine": "whisper-b5454",
|
|
6750
|
+
"languages": [
|
|
6751
|
+
"auto"
|
|
6752
|
+
],
|
|
6753
|
+
"language_count": 99,
|
|
6754
|
+
"quality_rating": "high-multilingual",
|
|
6755
|
+
"gpu_supported": true,
|
|
6756
|
+
"memory_estimate_bytes": 1503238553,
|
|
6757
|
+
"vram_estimate_bytes": 1395864371,
|
|
6758
|
+
"files": [
|
|
6759
|
+
{
|
|
6760
|
+
"path": "ggml-large-v3-turbo-q5_0.bin",
|
|
6761
|
+
"size_bytes": 574041195,
|
|
6762
|
+
"sha256": "394221709cd5ad1f40c46e6031ca61bce88931e6e088c188294c6d5a55ffa7e2"
|
|
6763
|
+
}
|
|
6764
|
+
],
|
|
6765
|
+
"note": "Multilingual Whisper Large v3 Turbo (Q5_0) served by whisper.cpp (Metal/CUDA/Vulkan with runtime -ng CPU fallback) for localmodels speech. Candidate pending L3 real-device acceptance."
|
|
6766
|
+
},
|
|
6767
|
+
{
|
|
6768
|
+
"id": "sensevoice-small",
|
|
6769
|
+
"display_name": "SenseVoice Small (INT8)",
|
|
6770
|
+
"task": "stt",
|
|
6771
|
+
"runtime": "sherpa-onnx",
|
|
6772
|
+
"version": "int8-2025-09-09",
|
|
6773
|
+
"repo": "csukuangfj/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2025-09-09",
|
|
6774
|
+
"revision": "355f4d4884d8afd08aef04b9007a8556d7b463b2",
|
|
6775
|
+
"license": "FunASR-MODEL-LICENSE-1.1",
|
|
6776
|
+
"license_url": "https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE",
|
|
6777
|
+
"base_model": "FunAudioLLM/SenseVoiceSmall",
|
|
6778
|
+
"base_license": "FunASR-MODEL-LICENSE-1.1",
|
|
6779
|
+
"base_license_url": "https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE",
|
|
6780
|
+
"artifact_license": "Apache-2.0",
|
|
6781
|
+
"artifact_license_url": "https://huggingface.co/csukuangfj/sherpa-onnx-sense-voice-zh-en-ja-ko-yue-int8-2025-09-09/blob/355f4d4884d8afd08aef04b9007a8556d7b463b2/README.md",
|
|
6782
|
+
"commercial_notice": "Custom license (FunASR MODEL_LICENSE v1.1); user opt-in download only.",
|
|
6783
|
+
"opt_in_only": true,
|
|
6784
|
+
"status": "candidate",
|
|
6785
|
+
"tasks": [
|
|
6786
|
+
"stt"
|
|
6787
|
+
],
|
|
6788
|
+
"evidence": [],
|
|
6789
|
+
"languages": [
|
|
6790
|
+
"zh",
|
|
6791
|
+
"en",
|
|
6792
|
+
"ja",
|
|
6793
|
+
"ko",
|
|
6794
|
+
"yue"
|
|
6795
|
+
],
|
|
6796
|
+
"language_count": 5,
|
|
6797
|
+
"quality_rating": "fast-cjk",
|
|
6798
|
+
"gpu_supported": false,
|
|
6799
|
+
"memory_estimate_bytes": 629145600,
|
|
6800
|
+
"vram_estimate_bytes": 0,
|
|
6801
|
+
"files": [
|
|
6802
|
+
{
|
|
6803
|
+
"path": "model.int8.onnx",
|
|
6804
|
+
"size_bytes": 237115547,
|
|
6805
|
+
"sha256": "12ca1a2ae7ecf3e0019ef2822307ee0b5cadc9196569e379b4c4026f8205276d"
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
"path": "tokens.txt",
|
|
6809
|
+
"size_bytes": 315894,
|
|
6810
|
+
"sha256": "f449eb28dc567533d7fa59be34e2abca8784f771850c78a47fb731a31429a1dc"
|
|
6811
|
+
}
|
|
6812
|
+
],
|
|
6813
|
+
"note": "Fast CJK+EN SenseVoiceSmall INT8 ONNX export served by sherpa-onnx (CPU-first, 0 MiB VRAM). User opt-in download only under FunASR MODEL_LICENSE v1.1 (upstream text at https://github.com/modelscope/FunASR/blob/main/MODEL_LICENSE). Candidate pending L3 real-device acceptance."
|
|
6814
|
+
},
|
|
6452
6815
|
{
|
|
6453
6816
|
"id": "kokoro-82m",
|
|
6454
6817
|
"task": "tts",
|
|
@@ -222,7 +222,7 @@ class CatalogEntry:
|
|
|
222
222
|
updated, target=min(updated.target, cap), preferred=min(updated.preferred, cap)
|
|
223
223
|
)
|
|
224
224
|
if self.ubatch:
|
|
225
|
-
updated = replace(updated, ubatch=min(updated.ubatch, self.ubatch))
|
|
225
|
+
updated = replace(updated, ubatch=min(updated.ubatch, self.ubatch), ubatch_pinned=True)
|
|
226
226
|
return updated
|
|
227
227
|
|
|
228
228
|
def launch_plan(
|
|
@@ -24,18 +24,18 @@ from localmodels.estimator import LayerKind, profile_from_gguf
|
|
|
24
24
|
from localmodels.gguf import SPLIT_PART_RE, GGUFHeader, read_gguf_header, split_parts
|
|
25
25
|
|
|
26
26
|
_QUANT_CORE = (
|
|
27
|
-
r"(?:UD-)?"
|
|
27
|
+
r"(?:UD-|GSQ-RCO-)?"
|
|
28
28
|
r"(?:"
|
|
29
29
|
r"IQ\d+_(?:XXS|XS|S|M|L|XL|NL)"
|
|
30
|
-
r"|TQ\d+_\d+"
|
|
31
|
-
r"|Q\d+_K(?:_(?:XXS|XS|S|M|L|XL))?"
|
|
32
|
-
r"|Q\d+_\d+(?:_\d+_\d+)?"
|
|
30
|
+
r"|(?:P|PT)?TQ\d+_\d+"
|
|
31
|
+
r"|(?:P|PT)?Q\d+_K(?:_(?:XXS|XS|S|M|L|XL))?"
|
|
32
|
+
r"|(?:P|PT)?Q\d+_\d+(?:_\d+_\d+)?"
|
|
33
33
|
r"|Q\d+"
|
|
34
34
|
r"|MXFP4(?:_MOE)?"
|
|
35
35
|
r"|NVFP4"
|
|
36
36
|
r"|FP8(?:_E4M3)?"
|
|
37
37
|
r"|BF16|FP16|F16|FP32|F32"
|
|
38
|
-
r")"
|
|
38
|
+
r")(?:-mtp)?"
|
|
39
39
|
)
|
|
40
40
|
_QUANT_RE = re.compile(rf"{_QUANT_CORE}$", re.IGNORECASE)
|
|
41
41
|
_QUANT_SUFFIX_RE = re.compile(rf"(?:^|[-._])({_QUANT_CORE})$", re.IGNORECASE)
|
|
@@ -23,7 +23,8 @@ from localmodels import (
|
|
|
23
23
|
setup_inspection,
|
|
24
24
|
sizecalc_cli,
|
|
25
25
|
source_cli,
|
|
26
|
-
|
|
26
|
+
speech_cli,
|
|
27
|
+
stack_args,
|
|
27
28
|
stack_lifecycle,
|
|
28
29
|
)
|
|
29
30
|
from localmodels.stack_plan import command
|
|
@@ -43,6 +44,7 @@ GROUPS = (
|
|
|
43
44
|
(
|
|
44
45
|
"setup",
|
|
45
46
|
"library",
|
|
47
|
+
"speech",
|
|
46
48
|
"source",
|
|
47
49
|
"foundations",
|
|
48
50
|
"harness",
|
|
@@ -60,6 +62,7 @@ SUMMARIES = {
|
|
|
60
62
|
"setup": "read-only setup inspection for installers (JSON)",
|
|
61
63
|
"foundations": "background decision, embedding and reranker services",
|
|
62
64
|
"library": "download, load, unload and remove single models (JSON)",
|
|
65
|
+
"speech": "manage local speech-to-text models and runtime preferences (JSON)",
|
|
63
66
|
"source": "inspect, verify and switch the active model source (local, subscription, BYOK)",
|
|
64
67
|
"guard": "optional CPU privacy profile; never rewires services",
|
|
65
68
|
"magpie": "Magpie alone for Claude Code/Codex subscriptions (no local model)",
|
|
@@ -340,7 +343,7 @@ def argument_parser() -> argparse.ArgumentParser:
|
|
|
340
343
|
_single(sub)
|
|
341
344
|
_interfaces(sub)
|
|
342
345
|
guard.add_parser(sub)
|
|
343
|
-
|
|
346
|
+
stack_args.add_parser(sub)
|
|
344
347
|
magpie_setup.add_parser(sub)
|
|
345
348
|
memcalc_cli.add_parser(sub)
|
|
346
349
|
sizecalc_cli.add_parser(sub)
|
|
@@ -349,6 +352,7 @@ def argument_parser() -> argparse.ArgumentParser:
|
|
|
349
352
|
setup_inspection.add_parser(sub)
|
|
350
353
|
services_cli.add_parser(sub)
|
|
351
354
|
library_cli.add_parser(sub)
|
|
355
|
+
speech_cli.add_parser(sub)
|
|
352
356
|
source_cli.add_parser(sub)
|
|
353
357
|
debug_cli.add_parser(sub)
|
|
354
358
|
for name, summary in SUMMARIES.items():
|
|
@@ -98,6 +98,8 @@ class AgentPosture:
|
|
|
98
98
|
reasoning_budget: int = 0
|
|
99
99
|
# KV types the operator pinned with stack --kv (stack_debug), which Metal keeps as given.
|
|
100
100
|
kv_pinned: bool = False
|
|
101
|
+
# True when a caller or model caps ubatch (e.g. Inkling 2 Mini 128 or aux step-back).
|
|
102
|
+
ubatch_pinned: bool = False
|
|
101
103
|
# llama-server --ctx-checkpoints; None keeps b11370's 32. Metal sets METAL_CTX_CHECKPOINTS.
|
|
102
104
|
ctx_checkpoints: int | None = None
|
|
103
105
|
|
|
@@ -113,6 +115,10 @@ METAL_KV_TYPES: tuple[tuple[str, str], ...] = (("q8_0", "q8_0"), ("q4_0", "q4_0"
|
|
|
113
115
|
# 32 let a long agent session grow 9 GiB of pageable memory. CK8 (16gb-v3, local-118): 8 cut the
|
|
114
116
|
# anon peak by 6.1 GiB with BFCL multi-turn -0.5 points [-5.0, +4.0] and agentloop 9/9 unchanged.
|
|
115
117
|
METAL_CTX_CHECKPOINTS = 8
|
|
118
|
+
# Spare device budget kept before stepping Metal's microbatch above DEFAULT_UBATCH:
|
|
119
|
+
# auxiliaries, web search and the prompt-cache floor take priority over faster prefill.
|
|
120
|
+
METAL_UBATCH_HEADROOM_BYTES = 1 << 30
|
|
121
|
+
METAL_PREFILL_UBATCHES: tuple[int, ...] = (PREFILL_UBATCH, 1024)
|
|
116
122
|
|
|
117
123
|
|
|
118
124
|
def posture_for(posture: AgentPosture, backend: str) -> AgentPosture:
|
|
@@ -123,8 +129,9 @@ def posture_for(posture: AgentPosture, backend: str) -> AgentPosture:
|
|
|
123
129
|
if backend != "metal":
|
|
124
130
|
return posture
|
|
125
131
|
kv_types = posture.kv_types if posture.kv_pinned else METAL_KV_TYPES
|
|
132
|
+
mtp = 0 if posture.mtp_draft_depth == MTP_AUTO else posture.mtp_draft_depth
|
|
126
133
|
return replace(
|
|
127
|
-
posture, kv_types=kv_types, mtp_draft_depth=
|
|
134
|
+
posture, kv_types=kv_types, mtp_draft_depth=mtp, ctx_checkpoints=METAL_CTX_CHECKPOINTS
|
|
128
135
|
)
|
|
129
136
|
|
|
130
137
|
|
|
@@ -164,6 +171,7 @@ class WindowDecision:
|
|
|
164
171
|
vram_bytes: int = 0 # exact device footprint already priced by the agent planner
|
|
165
172
|
vision_reader: str = "off" # agent posture: where the picture reader runs (vision.READERS)
|
|
166
173
|
vision_bytes: int = 0 # the reader's device memory, included in vram_bytes
|
|
174
|
+
ubatch: int = DEFAULT_UBATCH # -ub priced and launched in agent posture
|
|
167
175
|
|
|
168
176
|
@property
|
|
169
177
|
def spilled(self) -> bool:
|
|
@@ -180,7 +188,8 @@ def agent_unified_bytes(
|
|
|
180
188
|
decision.window,
|
|
181
189
|
slots=decision.slots,
|
|
182
190
|
kv_types=decision.kv_types,
|
|
183
|
-
ubatch=posture.ubatch,
|
|
191
|
+
ubatch=decision.ubatch if decision.ubatch != DEFAULT_UBATCH else posture.ubatch,
|
|
192
|
+
mtp=decision.mtp_draft_depth > 0,
|
|
184
193
|
)
|
|
185
194
|
host = 0 if profile.tied_embeddings else profile.embd_table_bytes
|
|
186
195
|
checkpoints = metal_checkpoint_bytes(profile, posture, decision.slots, decision.kv_types)
|
|
@@ -562,6 +571,8 @@ def _worse(
|
|
|
562
571
|
while 128K was the floor (2026-10-30), but never a 64K window for a speed-up (MTP_AUTO)."""
|
|
563
572
|
if not isinstance(candidate, WindowDecision) or not isinstance(plain, WindowDecision):
|
|
564
573
|
return False
|
|
574
|
+
if posture.ctx_checkpoints is not None:
|
|
575
|
+
return candidate.window < plain.window or candidate.kv_types != plain.kv_types
|
|
565
576
|
return candidate.window < min(plain.window, posture.preferred)
|
|
566
577
|
|
|
567
578
|
|
|
@@ -592,6 +603,25 @@ def _plan_agent_launch(
|
|
|
592
603
|
mtp=posture.mtp_draft_depth > 0,
|
|
593
604
|
)
|
|
594
605
|
if need <= budget.usable_vram_bytes:
|
|
606
|
+
chosen_ubatch = posture.ubatch
|
|
607
|
+
if (
|
|
608
|
+
posture.ctx_checkpoints == METAL_CTX_CHECKPOINTS
|
|
609
|
+
and posture.ubatch == DEFAULT_UBATCH
|
|
610
|
+
and not posture.ubatch_pinned
|
|
611
|
+
):
|
|
612
|
+
for cand_ub in METAL_PREFILL_UBATCHES:
|
|
613
|
+
cand_need = agent_footprint_bytes(
|
|
614
|
+
profile,
|
|
615
|
+
window,
|
|
616
|
+
slots=posture.slots,
|
|
617
|
+
kv_types=kv,
|
|
618
|
+
ubatch=cand_ub,
|
|
619
|
+
mtp=posture.mtp_draft_depth > 0,
|
|
620
|
+
)
|
|
621
|
+
if cand_need + METAL_UBATCH_HEADROOM_BYTES <= budget.usable_vram_bytes:
|
|
622
|
+
need = cand_need
|
|
623
|
+
chosen_ubatch = cand_ub
|
|
624
|
+
break
|
|
595
625
|
reasons = [
|
|
596
626
|
f"agent posture: {kv[0]}/{kv[1]} KV, "
|
|
597
627
|
f"{posture.slots} slots, {window_k(window)}"
|
|
@@ -619,6 +649,7 @@ def _plan_agent_launch(
|
|
|
619
649
|
mtp_draft_depth=max(0, posture.mtp_draft_depth),
|
|
620
650
|
vram_bytes=need,
|
|
621
651
|
reasons=reasons,
|
|
652
|
+
ubatch=chosen_ubatch,
|
|
622
653
|
),
|
|
623
654
|
False,
|
|
624
655
|
AGENT_PROCESS_OVERHEAD_BYTES,
|
|
@@ -674,9 +705,14 @@ def agent_launch_args(decision: WindowDecision, posture: AgentPosture = AGENT) -
|
|
|
674
705
|
"-fa",
|
|
675
706
|
"on",
|
|
676
707
|
"-b",
|
|
677
|
-
str(
|
|
708
|
+
str(
|
|
709
|
+
max(
|
|
710
|
+
AGENT.ubatch,
|
|
711
|
+
decision.ubatch if decision.ubatch != DEFAULT_UBATCH else posture.ubatch,
|
|
712
|
+
)
|
|
713
|
+
),
|
|
678
714
|
"-ub",
|
|
679
|
-
str(posture.ubatch),
|
|
715
|
+
str(decision.ubatch if decision.ubatch != DEFAULT_UBATCH else posture.ubatch),
|
|
680
716
|
"--fit",
|
|
681
717
|
"off",
|
|
682
718
|
"--cache-ram",
|
|
@@ -325,6 +325,12 @@ def _apply_simulated_occupancy(facts: dict[str, Any]) -> dict[str, Any]:
|
|
|
325
325
|
return adjusted
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
def simulated_facts(config: DebugConfig | None = None) -> dict[str, Any]:
|
|
329
|
+
"""Synthetic local host facts reflecting simulated VRAM sizing and loaded LLM occupancy."""
|
|
330
|
+
cfg = current() if config is None else config
|
|
331
|
+
return _apply_simulated_occupancy(_synthetic_facts(None, cfg.vram_gb or 24))
|
|
332
|
+
|
|
333
|
+
|
|
328
334
|
def _sim_dir() -> Path:
|
|
329
335
|
path = hosts.state_dir() / "simulate"
|
|
330
336
|
path.mkdir(parents=True, exist_ok=True)
|
|
@@ -373,6 +379,9 @@ class SimulatedExecutor:
|
|
|
373
379
|
binary.write_text("#!/bin/sh\nexit 0\n", encoding="utf-8")
|
|
374
380
|
with contextlib.suppress(OSError):
|
|
375
381
|
binary.chmod(0o755)
|
|
382
|
+
complete = directory / ".complete"
|
|
383
|
+
if not complete.exists():
|
|
384
|
+
complete.write_text("simulated\n", encoding="utf-8")
|
|
376
385
|
return {"event": "result", "binary": str(binary), "reused": True}
|
|
377
386
|
|
|
378
387
|
def _download_one(
|
|
@@ -397,6 +406,8 @@ class SimulatedExecutor:
|
|
|
397
406
|
"done": size,
|
|
398
407
|
"total": size,
|
|
399
408
|
"bytes_per_s": max(1, size),
|
|
409
|
+
"source": "cache",
|
|
410
|
+
"connections": 0,
|
|
400
411
|
}
|
|
401
412
|
)
|
|
402
413
|
return
|
|
@@ -416,6 +427,8 @@ class SimulatedExecutor:
|
|
|
416
427
|
"done": done,
|
|
417
428
|
"total": size,
|
|
418
429
|
"bytes_per_s": rate,
|
|
430
|
+
"source": "cache",
|
|
431
|
+
"connections": 0,
|
|
419
432
|
}
|
|
420
433
|
)
|
|
421
434
|
part.unlink(missing_ok=True)
|