@simplexai/localmodels-darwin-arm64 0.1.0-dev.45 → 0.1.0-dev.48
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 +38 -36
- package/modules/localmodels/__init__.py +1 -1
- package/modules/localmodels/catalog.json +150 -0
- package/modules/localmodels/catalog.py +20 -5
- package/modules/localmodels/catalog_recipes.py +8 -0
- package/modules/localmodels/context_policy.py +32 -9
- package/modules/localmodels/deploy.py +20 -14
- package/modules/localmodels/engines-b12588-mix-c0c3de8.json +98 -0
- package/modules/localmodels/engines.py +28 -2
- package/modules/localmodels/estimator.py +12 -3
- package/modules/localmodels/gateway_bifrost.py +95 -22
- package/modules/localmodels/gguf.py +6 -2
- package/modules/localmodels/harness_probe.py +60 -13
- package/modules/localmodels/library_pricing.py +6 -4
- package/modules/localmodels/library_state.py +6 -4
- package/modules/localmodels/probe.py +38 -11
- package/modules/localmodels/process_identity.py +47 -33
- package/modules/localmodels/process_identity_linux.py +135 -0
- package/modules/localmodels/process_windows.py +150 -1
- package/modules/localmodels/runtime_windows_acl.py +100 -0
- package/modules/localmodels/service_probe.py +26 -20
- package/modules/localmodels/setup_inspection.py +132 -36
- package/modules/localmodels/setup_text.py +17 -3
- package/modules/localmodels/stack_binding.py +117 -12
- package/modules/localmodels/stack_lifecycle.py +7 -4
- package/modules/localmodels/stack_view_llm.py +1 -1
- package/modules/localmodels/stack_view_sandbox.py +3 -1
- package/modules/localmodels/stack_warm.py +18 -7
- package/modules/localmodels/strata_poly_server.py +4 -2
- package/modules/localmodels/transport.py +7 -1
- package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/METADATA +1 -1
- package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/RECORD +35 -33
- package/package.json +1 -1
- package/tool.json +1 -1
- /package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/WHEEL +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/entry_points.txt +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/licenses/NOTICE +0 -0
- /package/modules/{simplex_localmodels-0.1.0.dev45.dist-info → simplex_localmodels-0.1.0.dev48.dist-info}/licenses/localmodels/HERMES-LICENSE +0 -0
package/bootstrap.identity
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
darwin-arm64
|
|
1
|
+
darwin-arm64 284e6b71a05556189b68a831a329ca21dbb0a722 0.1.0.dev48 python/bin/python3.12 modules
|
package/bootstrap.sha256
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
974c3dad3971ec93de00b1821345ac071cf0df1e5716f99dd375384b0b78c3ca bootstrap.identity
|
|
2
2
|
15f49306ae54bb208f5a65763f59522a9193d5b01b31279c9bab116bba7ffe5c kit.py
|
|
3
3
|
821556e6336796450ab852d375117b48a4887e71d255794fd6318d99982a5ab6 modules/localmodels/HERMES-LICENSE
|
|
4
|
-
|
|
4
|
+
09b13521bc5eaaafbfd2ffaaea9d8a1149523e8e2c790e4e86ff1ae36b67fca7 modules/localmodels/__init__.py
|
|
5
5
|
621e43ff0982247fb512979ef5d26d0b8c12f5d058669fd10dc220f2b6e92779 modules/localmodels/__main__.py
|
|
6
6
|
d58431790b752ed9c5819872e8a237c49d3c0e15d8b5b4d4be24a61e504d4a56 modules/localmodels/app.py
|
|
7
7
|
411de68b0ef44694442bacbe20cb4be1e3e4f29f6d533fdc8192174f15e57243 modules/localmodels/approval.py
|
|
@@ -19,39 +19,40 @@ f8c9a56c9700411c0a0c80b3dc4310689658542ff877f1106dbff75d26ccf35f modules/localm
|
|
|
19
19
|
dce42834f72fd15c85cc9860c718d6d519d327de9de8f74ad0d526504c8ad4f6 modules/localmodels/bifrost_provider.py
|
|
20
20
|
e1666d11575ac2590e7c92cdc1751de78633cb3c410698db7d5a06c46b1bfcbc modules/localmodels/bifrost_unit.py
|
|
21
21
|
fce25fdf243f56461a2be37dc2dd4dd9368936d93b9870a114cfaba63ee67af8 modules/localmodels/budget.py
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
76fa06a1cf69e82b25245ec1cadc1b208b639d5af21442cd2b17513e0660fac7 modules/localmodels/catalog.json
|
|
23
|
+
1e3f37817db776704e92576c8c04bbc1bd47b8bc4d32e8609c72acb4bcd82f58 modules/localmodels/catalog.py
|
|
24
24
|
969006f2f57c8d5f454d84e6d9589d925219da92f75696add3cbd0497c9e8726 modules/localmodels/catalog_add.py
|
|
25
25
|
eef0cd1dc8df8b9606b434585ca26d027a4d52927c005d8d822ccd08d9bc9406 modules/localmodels/catalog_license.py
|
|
26
|
-
|
|
26
|
+
d7925e184dacefc15ba465151781c67d7266b1771057ba548851b86c44185643 modules/localmodels/catalog_recipes.py
|
|
27
27
|
962a1b38405afa335fe5ce74d8f496f60cafac9678c7f9c84dca399c92700cf2 modules/localmodels/chat_template.py
|
|
28
28
|
ee4884b3b976b3d31b47e33420fdb29a324f12058a4436178690044e43eab96b modules/localmodels/chat_templates/qwen3.8-27b.jinja
|
|
29
29
|
5e011976073062e9ad423e383b51ebd257be13c64aa903de5fe8799bc5d7230d modules/localmodels/cli_help.py
|
|
30
30
|
b1c7d13ac7f1e8536437179669e74a5247a972e42691b4de9ece2a1e719a64e0 modules/localmodels/cli_parser.py
|
|
31
31
|
8242cc85bc75504c12037a135b2e5ddc0d560fbbc87c0e99140e40e4e15efc8c modules/localmodels/component.py
|
|
32
32
|
42bbe61e8d4e57ae401b12d5b698e0b39c499b77e0882f2f27ff14cfd6ba2c42 modules/localmodels/console.py
|
|
33
|
-
|
|
33
|
+
72c744f3923a305123572cd335f19735dbc237f092e5e44240f531c817d2f81d modules/localmodels/context_policy.py
|
|
34
34
|
e01d7d20d6a3e61328569598a022ada7ed45f67a19e064297112a0b8dad8ef84 modules/localmodels/contracts.py
|
|
35
35
|
6f3a13d048eea5d67bee8dbc760b07623fa81557824d72353c86f7043d223309 modules/localmodels/debug_cli.py
|
|
36
36
|
d2c5df82d153382fb2eab8f8620c985dbf3b60c9c1ccf9f3af9d363f77377f1b modules/localmodels/debug_mode.py
|
|
37
37
|
10b9fe767087740931cb3698d864872692d772a7455cc575dc0a7f5c1fb24702 modules/localmodels/debug_stub_server.py
|
|
38
38
|
54b6140716fceaf4fc4ba4d682c5795449fbf1e2f889ec83a8265991dcf2c9fd modules/localmodels/decode_calibration.json
|
|
39
39
|
635e473e316f819425a0a34548534a3ea8d5cd625c4d6b52b7337e79fcace040 modules/localmodels/decode_calibration.py
|
|
40
|
-
|
|
40
|
+
71366116091f9d22594b4cf9f7f14f347e7cb348ee1e202fb6cff13a8c21f05e modules/localmodels/deploy.py
|
|
41
41
|
fec85b53155e19316bff730e2ca1e5f940d72020dce991fd920996ea43145452 modules/localmodels/deploy_steps.py
|
|
42
42
|
7ddedfe13ca133b595e2f2bf05556b1eb7c59b252db0add2cd9ec1c7ca7b5680 modules/localmodels/desktop.py
|
|
43
43
|
af779fcc28ac4a872b64489ca94872a1383c2742ad8f18ca94b32dd7df967341 modules/localmodels/diagnostics.py
|
|
44
44
|
0cf10a17bd8147a43ec40ddb1b24309553b755014b7bc937dc8e7e4d57ed9c44 modules/localmodels/discovery.py
|
|
45
45
|
c760cac21e1eec67962a409e446f6c4a648da25b560b583da004c6aca4848f18 modules/localmodels/download-mirrors.json
|
|
46
46
|
885ea52269767fbffd00968c2760787d2d9a7076912c44ae3f2703f0fb0a88d3 modules/localmodels/engines-b11583.json
|
|
47
|
+
dfe4ff8f5af499cc831c064f227d5e88a9d0a93ccaefa6dd27eaa27136f83128 modules/localmodels/engines-b12588-mix-c0c3de8.json
|
|
47
48
|
466ee2f01c7e4783cf30442967411b047b783f13998622df900aff1effa3f5c1 modules/localmodels/engines-strata-0.1.47.json
|
|
48
49
|
5263e150b61e1246d9655354fe55067b4dcae31410be6c1b241e64c27dbf307b modules/localmodels/engines-strata-0.1.49.2.json
|
|
49
50
|
a1530ce73b5f93dd2f4a031897518f404d43bc33abc1fff54706b4a408f52fb8 modules/localmodels/engines-strata-0.1.59.1.json
|
|
50
51
|
10c3564187cf9a1af480dcdd4e089f941419fa6074c2a1c04fc8b72ac3549e06 modules/localmodels/engines-strata-poly-0.1.45-poly.9.json
|
|
51
52
|
fade27ca119b66aeeb80d36a2af6e192ccb7d4dc8d6bedbc7a9a354e5b55092d modules/localmodels/engines-whisper-b5454.json
|
|
52
53
|
f83b086fb074f5487b1498dffbe25ac9a2324cfbbfe83d4f42a238a0fa0dd526 modules/localmodels/engines.json
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
ba274600e80961c0e00bc6999edac0ca120a1dd7efc4ababb52c1071e9e470b9 modules/localmodels/engines.py
|
|
55
|
+
28fa1f7d466184a5f98ad29740d2003d51e776d25260823754aabcb4b46b0819 modules/localmodels/estimator.py
|
|
55
56
|
59dfb9a4acb36fe2a2affc14bacbee2920ff435cb13cc314a08c13f66ba7860e modules/localmodels/fixtures/jfk.wav
|
|
56
57
|
7a49e928bb35cb2ae70a4c1288ce371b381f52b3ed2e64a36f58006a0c741a0d modules/localmodels/fixtures/stack-research-demo-plan.json
|
|
57
58
|
fff4343321a2cb00d759d4afcf2fda0559736f7abd02c130b8920cc732c6fd4b modules/localmodels/frontend.py
|
|
@@ -59,7 +60,7 @@ fff4343321a2cb00d759d4afcf2fda0559736f7abd02c130b8920cc732c6fd4b modules/localm
|
|
|
59
60
|
d32bd8b2802b338d37d3cb7bd42fe1d33c0d955af5f9b02fa67f9c35a3a8859b modules/localmodels/gateway_accept.py
|
|
60
61
|
977a5a05dd792a61b81b2a12326257d9b83d3fe4355fa5cffbae3dd756ff81c4 modules/localmodels/gateway_admin.py
|
|
61
62
|
d494471dc8c1733be3bee92ad5305f8e0ce4c7f333b29c59ec2ceb3dc6c2ff15 modules/localmodels/gateway_app_bifrost.py
|
|
62
|
-
|
|
63
|
+
ee86db7a1291643143d7b0daf03757d6163139a7b7019eb53ab64ca2df12c561 modules/localmodels/gateway_bifrost.py
|
|
63
64
|
edfcae45788203bf2aecfd1aeb679303444ab9f7ea7924d35ce996b10892cc24 modules/localmodels/gateway_cli.py
|
|
64
65
|
c1a5228bc8463087a975fedc917f3e0e5a92149ba2e7bf3d490e7ce7331de65c modules/localmodels/gateway_clients.py
|
|
65
66
|
382d7410df8d09f69172c362478efeef5bacb079b7cd5ccd0371650c08fafc51 modules/localmodels/gateway_foundations.py
|
|
@@ -70,7 +71,7 @@ aa1ceeabf556f8f8dacc1225f577d280b9b5d22fab1f52fa7ae61fa920e38bcf modules/localm
|
|
|
70
71
|
b4d1d278d4b1228f76334a4e4626b4ac94a86137f427ccda715597f4bcce8033 modules/localmodels/gateway_server.py
|
|
71
72
|
a383698c70e35da41a1462ab87d0458aebfa4ee310714021991f28228d585304 modules/localmodels/gateway_speed.py
|
|
72
73
|
0c880e62ba300bb970b8ac87bf5207ece2bdd998eca1b3f7179664eaf546044a modules/localmodels/gateway_switch.py
|
|
73
|
-
|
|
74
|
+
fd8a7d7900f32e6424cd333be7dc951f050962f2308a585c0e1c4e82620fec9e modules/localmodels/gguf.py
|
|
74
75
|
df03fe707e9acacb5a24a1fd3e937af40a3bc526aeb9f85b744c0c18cc144dc4 modules/localmodels/gpu_specs.py
|
|
75
76
|
152ab61d4157ae79832e3184da744d1cf31f154b01273fd4725288ad12874b79 modules/localmodels/guard-requirements.lock
|
|
76
77
|
863a02affaa3dc5654e08293636c7b1a8ea1040980d8e1469f41d214613b4cdc modules/localmodels/guard.py
|
|
@@ -78,7 +79,7 @@ cd6aad804272bd9582b6b055780f9e494dbcbc1d7fcd5f29b6d0aa63452a872f modules/localm
|
|
|
78
79
|
405f816a85053ba91985d39191eee7c6435250cfa1abc8efcb477f50a68c66b5 modules/localmodels/harness.py
|
|
79
80
|
8d0b3d98cb7d3367139900a2d5ff844e426830a95c87bed4e11db115db5ce06b modules/localmodels/harness_cleanup.py
|
|
80
81
|
56fc92847fb0e6f84e46e6a15f708c7c6cf874208de7ddc63c46b7b8f3fb6b5f modules/localmodels/harness_gateway.py
|
|
81
|
-
|
|
82
|
+
4eea55edc30f33f84b9cfc941ef753df5d663c272a19013c2cbbc19eb777b72f modules/localmodels/harness_probe.py
|
|
82
83
|
4ac09373d0ff5b3799c3c6723d1f288a70273415815ba191632cd0f4c833326c modules/localmodels/hf_repo.py
|
|
83
84
|
466342aa6381a965d35915324b1ab8a8ab48e76f6e49560720c1a7ab79cefd01 modules/localmodels/hosts.py
|
|
84
85
|
c07dac3e7c06dfe65555dcb172e391814013195c6c818f3429c885b2ec851d78 modules/localmodels/http_local.py
|
|
@@ -89,9 +90,9 @@ ec5614a8c16f13866d25ed907647296c81a29d20ca7eb74933ce802bc4b6c3b6 modules/localm
|
|
|
89
90
|
eeb3e126b1aedd1aa51558e2ac4f8a5bc2ba8dde15b4bc42d3b6001ff53e4e6d modules/localmodels/library_gateway.py
|
|
90
91
|
b8adadedc6dc6d5f20a05ed4d1758e8a179e43100eab6798314a61add9ddb19e modules/localmodels/library_jobs.py
|
|
91
92
|
cbd5abd9a86d3e570fb179f7ed83de4b771ebe29ef05fd91f7bb3db980fd8bd5 modules/localmodels/library_model.py
|
|
92
|
-
|
|
93
|
+
59969d1c317bf79cd0bf02d55d5eea7a4934030736cf07f4d1c0f29c472554d7 modules/localmodels/library_pricing.py
|
|
93
94
|
bf23f45911998a8926de7c37678ddb632f3c1c1bd18f323520c866b08167a8cf modules/localmodels/library_serve.py
|
|
94
|
-
|
|
95
|
+
2aec5a566b1f9828050821891649dafd3842b25bf5e7c4f5a0c22a357236ba97 modules/localmodels/library_state.py
|
|
95
96
|
1007dd2df7f0c11f8e86d936d49e1ae2565ea5d9f6bdf1df53995a81c413b975 modules/localmodels/library_status.py
|
|
96
97
|
38e2a35befca5bf7f7cd6ed497e2a4ec76e2cbc8aac9573cda09becc9af7c6d0 modules/localmodels/llm_rank.py
|
|
97
98
|
0286664dffd19f21c732bc4a9f5abb5c7d7bb74ce6de18affaad0b2202c4e5c4 modules/localmodels/magpie_setup.py
|
|
@@ -109,9 +110,10 @@ b054849c733e1f9aca64a2890a5de0080130e1aaa5181336d6837d9a56784b11 modules/localm
|
|
|
109
110
|
a3308bd747cd61cc58e52f3bac3a95f7a7bcb5dca4dd954c5054148e56bd8d38 modules/localmodels/preparation.py
|
|
110
111
|
4b10583c45a7e0882ea1e36dcd5e86536afdfcfc44ca22b355b3a5f745680472 modules/localmodels/privacy.py
|
|
111
112
|
0aee52c415e2e7fd246d8ae94bb4b1012ff2a71ebf17e33f2f53e08e2526e396 modules/localmodels/privacy_acceptance.py
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
a9bce784034c2f1c3d73a58afd8c7f54029f5f6e668e241651e3023245a7a45e modules/localmodels/probe.py
|
|
114
|
+
195ba9a059c131af1afb06f78d4dfc3478b83af10f0ff20c1694bbfda4358aa7 modules/localmodels/process_identity.py
|
|
115
|
+
3ddb3ed330ac4e1acf56fd2c647ff822505eb97cbde61f6dc5a0e52732b98e2c modules/localmodels/process_identity_linux.py
|
|
116
|
+
3fd467c97d644b24f7c60a93341dcf324fe60d6f11209bc8219ef95157ce7fe0 modules/localmodels/process_windows.py
|
|
115
117
|
70249629ab362d3f3c852f576e6640b1091bf5e227bda354a564fa361ad00f78 modules/localmodels/python-bootstrap-lock.json
|
|
116
118
|
a9bad854b6797dc7e91ce87e003bf8c0a22e9f1a699a4281bc9a7c6d754c3cb1 modules/localmodels/quant_formats.py
|
|
117
119
|
3a37ccb21c84d2e878481c7a37f04b27cb38d0bcba95e68c85728fc65e7c3b07 modules/localmodels/recommend.py
|
|
@@ -138,20 +140,20 @@ b6c11f70a92d8fd9b610a501f77cf08bf9ece29d0ddbdae163f4915446b1d7a8 modules/localm
|
|
|
138
140
|
6794edeefd3de47269b84e6bf44d28eb8628b387581128030facc90d6f4e0ab9 modules/localmodels/runtime_pi.py
|
|
139
141
|
a785412104d407392d13cbd98dc649842bf5d4af3b563a86ac3a740a83f9f7a3 modules/localmodels/runtime_process.py
|
|
140
142
|
18ba4cbaaac0895f1c769b44513c6b4eed2735abe9b63abc2bcd19cd7e109f8e modules/localmodels/runtime_releases.py
|
|
141
|
-
|
|
143
|
+
8e6ec174f59b29a2c51908b4976faf434a73d82341010204441a82ecdd7c39c8 modules/localmodels/runtime_windows_acl.py
|
|
142
144
|
a4b7df305d2c2bfb9cc323cb5f579f08d1db03c7e7d2432bdda64cc393086a53 modules/localmodels/service_autostart.py
|
|
143
145
|
d04438dd8c7502714a7714d19f9eb1abeca38c90a2b159c7b52f2faf98c188a8 modules/localmodels/service_control.py
|
|
144
146
|
1af2334c1970cd171e3bd058173b12ef5a2e82aa25bebe11ce6939be73498a22 modules/localmodels/service_deployment.py
|
|
145
147
|
048e624a7dbc6adecc6418f3fd5a6d5d12aedbdf87dd5bcb3e73e7d5ec0fc265 modules/localmodels/service_jobs.py
|
|
146
|
-
|
|
148
|
+
aa6ea4eb2e97edb95675c0614dd279938f6d9a2e8e59bf927cbc66b313ba423f modules/localmodels/service_probe.py
|
|
147
149
|
d345bf04686937599fe093bf259135f45ec24c434f711d7bd5c7155bdc2d69e3 modules/localmodels/service_stop.py
|
|
148
150
|
4ff2d2d54ef7101f65a8c0de383b70ad2b4e926f410959504561530ea5a22065 modules/localmodels/service_supervisor.py
|
|
149
151
|
6b009fcdfb79ba57e24dbec000a77d9497cda233237a1ec717ec48dd55ac8bd9 modules/localmodels/service_upgrade.py
|
|
150
152
|
5cef8c68d602d29491575aa11ae678ae1ba6e8794fa1804204294362d0a67359 modules/localmodels/service_wiring.py
|
|
151
153
|
755221cad6ee03d9b213ffa7ddce105f7e1b00c90fc031716f5f4889f3a55436 modules/localmodels/service_worker.py
|
|
152
154
|
1e36bc24edbdb3d3159f5c8b245383c017563ee07a54458dbe1c5a1c5dc9f648 modules/localmodels/services_cli.py
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
56d7345d67914f88b539541faac4e2f01d25500687ac2c60bb6efeace3617578 modules/localmodels/setup_inspection.py
|
|
156
|
+
357ce0c65447c2a78cd7699cf6f4b1cb928e74a6f644f1ccd1f942445b5ab46f modules/localmodels/setup_text.py
|
|
155
157
|
34518b9390e66192afe786cf6d956c94ed16af27616279209b958b03ee90cb53 modules/localmodels/sizecalc.py
|
|
156
158
|
ae907b9ea8b6cd729266750ca0bdf5d1deefc9fce9c685521fe9a5576ed524eb modules/localmodels/sizecalc_cli.py
|
|
157
159
|
77247b3d4e8fe49a20bc29548fa999f95d40db4c08f17baf218e177783c52f4d modules/localmodels/slot_cache.py
|
|
@@ -163,7 +165,7 @@ ffbc2756cac11d013e3c63f7b046b5bbaca2d631c7a7eda9d41b6d161413ad97 modules/localm
|
|
|
163
165
|
7552531dd59454e29e548a70b6c33390559b4a2000fa5814deb424ae19657de5 modules/localmodels/stack_args.py
|
|
164
166
|
60cdf1510e3cf7e16a3f6b813d3a182651aea8c8e61f327ebabb6b5720fd42e5 modules/localmodels/stack_auto.py
|
|
165
167
|
3a038bcdcf5954c0daad0d619153ab1c9d9083904c9f73bae1733fc667cf1992 modules/localmodels/stack_aux_gpu.py
|
|
166
|
-
|
|
168
|
+
46c06dcec00cd710632c444d6975e9b105d3c73793bdd6c99eb749509d17929c modules/localmodels/stack_binding.py
|
|
167
169
|
16570ee078cbe3fb1bfaa3a26a14ec203c322e62e3894b9ecfd922f9f5092d19 modules/localmodels/stack_capacity.py
|
|
168
170
|
edc0e7d2b168e6a5a11f565cadb268f72dba4de261cfa7cb3c14f671ef0c29df modules/localmodels/stack_card.py
|
|
169
171
|
e6364b4fa45c5f2234b9213736711a4e303f455444762b916d75b8353b804666 modules/localmodels/stack_cleanup.py
|
|
@@ -182,7 +184,7 @@ b78f93e6ee42177082ec74c2e721a14600cce7c522fbcc476037b7b2a1a8d81f modules/localm
|
|
|
182
184
|
7a0f469e6c9020df7215d8cc309e90e4d85542172fbb5d50cf863e5c20e295fe modules/localmodels/stack_hardware_text.py
|
|
183
185
|
8e1c51ca353f4544ea52b7719290b3533d372308edb74adfdba956b5c4e2755d modules/localmodels/stack_journal.py
|
|
184
186
|
92ad77166502bcf0bec7b75a414c42c0309368a8708689114999a807827000d1 modules/localmodels/stack_ledger.py
|
|
185
|
-
|
|
187
|
+
9d8d081f75fa5363e6ac37a1c7f31df5fad86077cefb0a77362ee8ba7f69bcd9 modules/localmodels/stack_lifecycle.py
|
|
186
188
|
8046646a0a789c8e4a75ec68576e69fdafbe433ced0af483e685f2e579c770d9 modules/localmodels/stack_llm_ram.py
|
|
187
189
|
2499da826297698e496f4d74e816ed248ed95d08829d13c7ac9230980b99cda1 modules/localmodels/stack_mcp.py
|
|
188
190
|
a4e4c64fec78dd463eab69fb90e3ce534c6f3c2abe97fb8ea5ca187620ad885e modules/localmodels/stack_memory.py
|
|
@@ -217,25 +219,25 @@ a6214eb7b7a5e6b0a8c6c1e75ef6b48c6dfda16a73d852e6a8c0bc130cbfaadd modules/localm
|
|
|
217
219
|
ea3b25e2deed4d19afa955034c0efbdc071cc8279485cc9d0bfde0f9d16cd852 modules/localmodels/stack_view_gpu.py
|
|
218
220
|
6b6e0969e139dcf86fc8e4040b22461ba8a4d3af7f7b9866a9648d13c1cbfdd7 modules/localmodels/stack_view_hub.py
|
|
219
221
|
3214187a4e2a27dc2c4a3a110032bf4ac147a4e3cbbe0409d1163a56716a3cf5 modules/localmodels/stack_view_hub_cli.py
|
|
220
|
-
|
|
222
|
+
b1d7d75eb3eb560d4fe2b140219901794d5ef6341c445456e3fc50d80a8764a6 modules/localmodels/stack_view_llm.py
|
|
221
223
|
d447fd2de344fc5ae3bb6241bad48a57c5700acd6097d99099a473eaa32affd1 modules/localmodels/stack_view_measure.py
|
|
222
|
-
|
|
224
|
+
367d03678d620432d93c4ed9d687e3d049e7bbbcc55397d286433410d7f0e1fc modules/localmodels/stack_view_sandbox.py
|
|
223
225
|
ea1dd2cd6432e3c537e8c118f23323181e0b836606c811e640b6a62dd1948742 modules/localmodels/stack_view_schema.py
|
|
224
226
|
9bcb65e75b15776d1b0f2b9c2ba94e9045d34c5953a74cd7b4f934bb9a773735 modules/localmodels/stack_view_serve.py
|
|
225
227
|
97b0b2bed90d4368b6535310f734a0ae7e96ee08f4cd18e062932294b5262de2 modules/localmodels/stack_view_service.py
|
|
226
228
|
519ca4c536f45bb0fbf67252775855f199a71ba8162215ae3aa83bc78b255721 modules/localmodels/stack_view_slots.py
|
|
227
229
|
e8a441731317dbfdde647213a7857e938ddc5633c57390ea51e5a62b1ac55178 modules/localmodels/stack_view_text.py
|
|
228
230
|
6cfe6ad67e230dba0520944f9e7fba5de1759377d51a9cf3c6fa7617c2d8eb8d modules/localmodels/stack_view_words.py
|
|
229
|
-
|
|
231
|
+
8b92f7d48b5ddb07fb2eafd82b75b195503a8eac64e31728891eb36e83c7d72f modules/localmodels/stack_warm.py
|
|
230
232
|
7401de0128a6b8f2ebc79f90fa073f47afa714f32e8dd54ec55c40f032fea5d9 modules/localmodels/stack_warm_store.py
|
|
231
233
|
77bc15dc0254b24865973162e52a88709ff23d402e0f8085ca4c768e39e0c64b modules/localmodels/stack_whatif.py
|
|
232
234
|
aa2496ee31f531000907de70ff117909d24c07d989b7315d429a648350a97eba modules/localmodels/startlux-decide-83fe6c7d.txt
|
|
233
235
|
8947263e85d798386df10f8966c37d339ffc3bbe7808c5af3302311b2e57f888 modules/localmodels/strata-poly-serve-0.1.45-poly.9.txt
|
|
234
|
-
|
|
236
|
+
309c0aab9791fc05611d837768a59ef21cf78790e187bd6210f947a949db15b9 modules/localmodels/strata_poly_server.py
|
|
235
237
|
fe831be67f52c0440d3476714ebdd9f57ae2ad4bff27d52fd83c31e3b56c72e4 modules/localmodels/suite.py
|
|
236
238
|
de1cb029bf2c36425aac0cd6f4aadfd68b4a1efdb446b00c5811fe4d148f08ea modules/localmodels/tool_archive.py
|
|
237
239
|
3fc53d0e9ae000e7b8e81b4a14a1e3627c366517ebd39da22aedaa81dfbafd25 modules/localmodels/tools.json
|
|
238
|
-
|
|
240
|
+
fd1e3fe9b189d807e92742b05323f35c6489a8a2193eab6b2a73170cb55ccaf2 modules/localmodels/transport.py
|
|
239
241
|
3225834c48a59ed70b2e7505956274741eaf420794eb78e9a48135a5cdeb0e56 modules/localmodels/tts_server.py
|
|
240
242
|
cebdd481997ccb6241b0cd5a5678b7b527f39ab3a9e12c12f42b5e80279b6844 modules/localmodels/tui.py
|
|
241
243
|
a5d43a1e0b5b87a36c8f91b54cd9775873b691643de1fac4f3e20aec4edcbe47 modules/localmodels/tui_dialogs.py
|
|
@@ -262,13 +264,13 @@ c6edbad2bfe9c9e834651a93405e60aa69f2dc5ddd0ce1e9ed0cc61e47ae6b83 modules/localm
|
|
|
262
264
|
65ebcb2faa3acab2902d8b8b5e374f335e5f6e8a9a46bbb080b00e09ddea60c9 modules/localmodels/web/view/view.css
|
|
263
265
|
e54c50c578fd0aec78d3c1b5e0cd734e9a691308488e56a1b7872060551ce32a modules/localmodels/web/view/view.js
|
|
264
266
|
d3be4542d9b3f32a61bc65cc4264a74301b0eab6f302a30f43e878e9e9b228d6 modules/localmodels/windows_job.py
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
d5d0ff1a812a108c50ed59eb504c60763fde1316386f85207d1d2206518a55a7 modules/simplex_localmodels-0.1.0.
|
|
268
|
-
3a3059212ac60178113110eaaeafa6dbafe72c598d64d3616cbb498ae9c881f7 modules/simplex_localmodels-0.1.0.
|
|
269
|
-
b57710affc4ca11c13057cf73ff661bcd50fba0455d2ebe0e23b40cb11c5a6eb modules/simplex_localmodels-0.1.0.
|
|
270
|
-
821556e6336796450ab852d375117b48a4887e71d255794fd6318d99982a5ab6 modules/simplex_localmodels-0.1.0.
|
|
271
|
-
|
|
267
|
+
33f1a02ec54b5bb2f3dcc4c06ddad1ec08f8083244e9f19efdd029e183f38807 modules/simplex_localmodels-0.1.0.dev48.dist-info/METADATA
|
|
268
|
+
5b38a52db4d68b74e498cf45043a8ad34560b13b0701644e53de1a279e572edc modules/simplex_localmodels-0.1.0.dev48.dist-info/RECORD
|
|
269
|
+
d5d0ff1a812a108c50ed59eb504c60763fde1316386f85207d1d2206518a55a7 modules/simplex_localmodels-0.1.0.dev48.dist-info/WHEEL
|
|
270
|
+
3a3059212ac60178113110eaaeafa6dbafe72c598d64d3616cbb498ae9c881f7 modules/simplex_localmodels-0.1.0.dev48.dist-info/entry_points.txt
|
|
271
|
+
b57710affc4ca11c13057cf73ff661bcd50fba0455d2ebe0e23b40cb11c5a6eb modules/simplex_localmodels-0.1.0.dev48.dist-info/licenses/NOTICE
|
|
272
|
+
821556e6336796450ab852d375117b48a4887e71d255794fd6318d99982a5ab6 modules/simplex_localmodels-0.1.0.dev48.dist-info/licenses/localmodels/HERMES-LICENSE
|
|
273
|
+
d3ccda7995a4e0d37b6c9b30b75c618e900c8950463e57c0b8fa9199d2b9ebd7 package.json
|
|
272
274
|
7a427de7a538c033f821bae69d18dba1fcf01e1947f8fdfece0d9654f680a787 python/bin/python3.12
|
|
273
275
|
3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf python/lib/python3.12/LICENSE.txt
|
|
274
276
|
981d4c398849f9ebcab72300d9c1fe288fd6d7f28957b3b3fa3a493a5836d95c python/lib/python3.12/__future__.py
|
|
@@ -1362,4 +1364,4 @@ ac7fb403e4371d07482ef2fda81dbcf6879484e9fc41d4be42c156d7e54c68a8 python/lib/pyt
|
|
|
1362
1364
|
67deaf0ba41aa4865e007297677207485a89b75629eea0ee5c472be8a3e83bf6 python/lib/python3.12/zoneinfo/_common.py
|
|
1363
1365
|
5dc473af6f6ae35e5531cc9705a1e4923aa07e7d35f6b4c275b90c6a3c2591c4 python/lib/python3.12/zoneinfo/_tzpath.py
|
|
1364
1366
|
ebb9b679519a23252eb90541003a2fdbb3f2d7bc36713fd70672baa575dcdcb6 python/lib/python3.12/zoneinfo/_zoneinfo.py
|
|
1365
|
-
|
|
1367
|
+
42b22bef25e9c57b2f2421bbd02ac08b30d1ec26b57dca1f71c9d1a7de1cb310 tool.json
|
|
@@ -1381,6 +1381,156 @@
|
|
|
1381
1381
|
},
|
|
1382
1382
|
"ssm_d_conv": 4
|
|
1383
1383
|
},
|
|
1384
|
+
{
|
|
1385
|
+
"id": "inkling-2-mini",
|
|
1386
|
+
"display_name": "Inkling 2 Mini",
|
|
1387
|
+
"description": "Compact 26.4B reasoning model from Thinking Machines with native vision and fast replies for 24 GB graphics cards and 32 GB Macs.",
|
|
1388
|
+
"note": "Thinking Machines Inkling 2 Mini (26.4B total / 3.4B active unique / 5.4B effective Looped MoE, 1M context, native vision) at UD-Q4_K_M using llama.cpp b12588-mix-c0c3de8 and -ub 128. Never pass --reasoning-budget 0 (triggers an infinite special-token loop on 8K+ prompts); use reasoning_effort instead. At 128K x 2 --kv-unified with GPU mmproj-BF16.gguf (no DSpark), -ub 256 peaked at 24,024 MiB CUDA (exceeding the 23,552 MiB 24 GB gate) and 22.93 GiB Metal wired delta; -ub 128 cuts compute by 1,437.5 MiB to 21,730.2 MiB MTL0 / 21.52 GiB wired delta (~22.5 GiB CUDA), fitting both 24 GB GPUs and 32 GB Macs cleanly. Candidate listed in localmodels library status pending five-layer acceptance and SimplexAI scoring.",
|
|
1389
|
+
"repo": "unsloth/Inkling-2-Mini-GGUF",
|
|
1390
|
+
"base_model": "thinkingmachines/Inkling-2-Mini",
|
|
1391
|
+
"license": "Apache-2.0",
|
|
1392
|
+
"license_url": "https://huggingface.co/thinkingmachines/Inkling-2-Mini/blob/ed40e7da625f594fc9c4990f5f66be24873c22d7/README.md",
|
|
1393
|
+
"family": "other",
|
|
1394
|
+
"publisher": "Thinking Machines",
|
|
1395
|
+
"parameters": "26.4B",
|
|
1396
|
+
"active_parameters": "3.4B",
|
|
1397
|
+
"status": "candidate",
|
|
1398
|
+
"library": true,
|
|
1399
|
+
"engine": "b12588-mix-c0c3de8",
|
|
1400
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
1401
|
+
"ubatch": 128,
|
|
1402
|
+
"tasks": [
|
|
1403
|
+
"llm",
|
|
1404
|
+
"vision"
|
|
1405
|
+
],
|
|
1406
|
+
"evidence": [],
|
|
1407
|
+
"variants": [
|
|
1408
|
+
{
|
|
1409
|
+
"quant": "UD-Q4_K_M",
|
|
1410
|
+
"files": [
|
|
1411
|
+
{
|
|
1412
|
+
"path": "Inkling-2-Mini-UD-Q4_K_M.gguf",
|
|
1413
|
+
"size_bytes": 16610543328,
|
|
1414
|
+
"revision": "ae9327c5fbc7333116ba32eee78bb5d2bbefae4f",
|
|
1415
|
+
"sha256": "f90c5a4df44d335ac9f9eea2a15c31d6c5a377b1b3cd9ff7fc2cf123f3cdf7e1"
|
|
1416
|
+
}
|
|
1417
|
+
],
|
|
1418
|
+
"lazy_bytes": 0,
|
|
1419
|
+
"embd_table_bytes": 492106752,
|
|
1420
|
+
"mtp_layer_bytes": 0
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1423
|
+
"mmproj": {
|
|
1424
|
+
"path": "mmproj-BF16.gguf",
|
|
1425
|
+
"size_bytes": 641805760,
|
|
1426
|
+
"local": "mmproj-Inkling-2-Mini-BF16.gguf",
|
|
1427
|
+
"revision": "ae9327c5fbc7333116ba32eee78bb5d2bbefae4f",
|
|
1428
|
+
"sha256": "2c165c78790e78a3f45a2d1e9e931083e52ee69d45ff2a0dc9c281fdf1a666e7"
|
|
1429
|
+
},
|
|
1430
|
+
"n_ctx_train": 1048576,
|
|
1431
|
+
"full_layers": 8,
|
|
1432
|
+
"recurrent_layers": 0,
|
|
1433
|
+
"per_layer_f16": 4096,
|
|
1434
|
+
"swa_layers": 40,
|
|
1435
|
+
"swa_window": 1024,
|
|
1436
|
+
"moe": true,
|
|
1437
|
+
"n_vocab": 201024,
|
|
1438
|
+
"architecture": "inkling2",
|
|
1439
|
+
"n_embd": 2304,
|
|
1440
|
+
"tied_embeddings": false,
|
|
1441
|
+
"decode_fraction": 0.2,
|
|
1442
|
+
"sampling": {
|
|
1443
|
+
"temp": "1.0",
|
|
1444
|
+
"top-p": "1.0",
|
|
1445
|
+
"top-k": "0",
|
|
1446
|
+
"min-p": "0.0"
|
|
1447
|
+
},
|
|
1448
|
+
"quality": {
|
|
1449
|
+
"score": 0,
|
|
1450
|
+
"sources": [
|
|
1451
|
+
{
|
|
1452
|
+
"type": "editorial",
|
|
1453
|
+
"ref": "unranked candidate pending five-layer evaluation and SimplexAI scoring (Thinking Machines Inkling-2-Mini release 2026-11-20)",
|
|
1454
|
+
"date": "2026-11-21"
|
|
1455
|
+
}
|
|
1456
|
+
]
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"id": "inkling-2-mini-iq3xxs",
|
|
1461
|
+
"display_name": "Inkling 2 Mini",
|
|
1462
|
+
"description": "A smaller build of Inkling 2 Mini for 16 GB graphics cards and 24 GB Macs, keeping native vision and fast reasoning.",
|
|
1463
|
+
"note": "Thinking Machines Inkling 2 Mini at UD-IQ3_XXS using llama.cpp b12588-mix-c0c3de8 and -ub 128 for 16 GB NVIDIA cards (Linux and Windows WDDM) and 24 GB Macs. Phase 0 measured 13,758 MiB at 64K x 2 -ub 128 with CPU mmproj offload. Never pass --reasoning-budget 0; use reasoning_effort instead. Candidate listed in localmodels library status pending five-layer acceptance and SimplexAI scoring.",
|
|
1464
|
+
"repo": "unsloth/Inkling-2-Mini-GGUF",
|
|
1465
|
+
"base_model": "thinkingmachines/Inkling-2-Mini",
|
|
1466
|
+
"license": "Apache-2.0",
|
|
1467
|
+
"license_url": "https://huggingface.co/thinkingmachines/Inkling-2-Mini/blob/ed40e7da625f594fc9c4990f5f66be24873c22d7/README.md",
|
|
1468
|
+
"family": "other",
|
|
1469
|
+
"publisher": "Thinking Machines",
|
|
1470
|
+
"parameters": "26.4B",
|
|
1471
|
+
"active_parameters": "3.4B",
|
|
1472
|
+
"status": "candidate",
|
|
1473
|
+
"library": true,
|
|
1474
|
+
"engine": "b12588-mix-c0c3de8",
|
|
1475
|
+
"min_engine": "b12588-mix-c0c3de8",
|
|
1476
|
+
"ubatch": 128,
|
|
1477
|
+
"tasks": [
|
|
1478
|
+
"llm",
|
|
1479
|
+
"vision"
|
|
1480
|
+
],
|
|
1481
|
+
"evidence": [],
|
|
1482
|
+
"variants": [
|
|
1483
|
+
{
|
|
1484
|
+
"quant": "UD-IQ3_XXS",
|
|
1485
|
+
"files": [
|
|
1486
|
+
{
|
|
1487
|
+
"path": "Inkling-2-Mini-UD-IQ3_XXS.gguf",
|
|
1488
|
+
"size_bytes": 11663309504,
|
|
1489
|
+
"revision": "ae9327c5fbc7333116ba32eee78bb5d2bbefae4f",
|
|
1490
|
+
"sha256": "bd7ef0865adf119b5183e45e741c629bafa649769b33b5ebf689bb4bcc4690d6"
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
"lazy_bytes": 0,
|
|
1494
|
+
"embd_table_bytes": 260527104,
|
|
1495
|
+
"mtp_layer_bytes": 0
|
|
1496
|
+
}
|
|
1497
|
+
],
|
|
1498
|
+
"mmproj": {
|
|
1499
|
+
"path": "mmproj-BF16.gguf",
|
|
1500
|
+
"size_bytes": 641805760,
|
|
1501
|
+
"local": "mmproj-Inkling-2-Mini-BF16.gguf",
|
|
1502
|
+
"revision": "ae9327c5fbc7333116ba32eee78bb5d2bbefae4f",
|
|
1503
|
+
"sha256": "2c165c78790e78a3f45a2d1e9e931083e52ee69d45ff2a0dc9c281fdf1a666e7"
|
|
1504
|
+
},
|
|
1505
|
+
"n_ctx_train": 1048576,
|
|
1506
|
+
"full_layers": 8,
|
|
1507
|
+
"recurrent_layers": 0,
|
|
1508
|
+
"per_layer_f16": 4096,
|
|
1509
|
+
"swa_layers": 40,
|
|
1510
|
+
"swa_window": 1024,
|
|
1511
|
+
"moe": true,
|
|
1512
|
+
"n_vocab": 201024,
|
|
1513
|
+
"architecture": "inkling2",
|
|
1514
|
+
"n_embd": 2304,
|
|
1515
|
+
"tied_embeddings": false,
|
|
1516
|
+
"decode_fraction": 0.2,
|
|
1517
|
+
"sampling": {
|
|
1518
|
+
"temp": "1.0",
|
|
1519
|
+
"top-p": "1.0",
|
|
1520
|
+
"top-k": "0",
|
|
1521
|
+
"min-p": "0.0"
|
|
1522
|
+
},
|
|
1523
|
+
"quality": {
|
|
1524
|
+
"score": 0,
|
|
1525
|
+
"sources": [
|
|
1526
|
+
{
|
|
1527
|
+
"type": "editorial",
|
|
1528
|
+
"ref": "unranked candidate pending five-layer evaluation and SimplexAI scoring (Thinking Machines Inkling-2-Mini release 2026-11-20)",
|
|
1529
|
+
"date": "2026-11-21"
|
|
1530
|
+
}
|
|
1531
|
+
]
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1384
1534
|
{
|
|
1385
1535
|
"id": "ornith-1.5-9b",
|
|
1386
1536
|
"display_name": "Ornith 1.5 9B",
|
|
@@ -131,6 +131,9 @@ class CatalogEntry:
|
|
|
131
131
|
# The agent posture's window never grows past this (0: no cap beyond the posture's target);
|
|
132
132
|
# the Mac small-memory ladder runs Spark-X2.6 at 64K shared by two slots (decision 57).
|
|
133
133
|
max_agent_window: int = 0
|
|
134
|
+
ubatch: int = 0 # micro-batch ceiling (-ub); 0 keeps the posture default
|
|
135
|
+
engine: str = "" # optional per-model engine lock tag (engines-<tag>.json)
|
|
136
|
+
library: bool = False # list candidate in library status without admitting to --llm auto
|
|
134
137
|
swa_layers: int = 0
|
|
135
138
|
swa_window: int = 0
|
|
136
139
|
moe: bool = False
|
|
@@ -210,6 +213,18 @@ class CatalogEntry:
|
|
|
210
213
|
mtp_layer_bytes=variant.mtp_layer_bytes,
|
|
211
214
|
)
|
|
212
215
|
|
|
216
|
+
def agent_posture(self, posture: AgentPosture) -> AgentPosture:
|
|
217
|
+
"""``posture`` capped by this entry's window and micro-batch ceilings."""
|
|
218
|
+
updated = posture
|
|
219
|
+
if self.max_agent_window:
|
|
220
|
+
cap = self.max_agent_window
|
|
221
|
+
updated = replace(
|
|
222
|
+
updated, target=min(updated.target, cap), preferred=min(updated.preferred, cap)
|
|
223
|
+
)
|
|
224
|
+
if self.ubatch:
|
|
225
|
+
updated = replace(updated, ubatch=min(updated.ubatch, self.ubatch))
|
|
226
|
+
return updated
|
|
227
|
+
|
|
213
228
|
def launch_plan(
|
|
214
229
|
self,
|
|
215
230
|
variant: QuantVariant,
|
|
@@ -218,11 +233,7 @@ class CatalogEntry:
|
|
|
218
233
|
agent: AgentPosture | None = None,
|
|
219
234
|
) -> LaunchPlan:
|
|
220
235
|
if agent is not None:
|
|
221
|
-
|
|
222
|
-
cap = self.max_agent_window
|
|
223
|
-
agent = replace(
|
|
224
|
-
agent, target=min(agent.target, cap), preferred=min(agent.preferred, cap)
|
|
225
|
-
)
|
|
236
|
+
agent = self.agent_posture(agent)
|
|
226
237
|
profile = eager(self.profile(variant)) # the agent argv has no --lazy-mode
|
|
227
238
|
depth = self.mtp_draft_depth if self.agent_mtp and self.mtp_capable else 0
|
|
228
239
|
return vision.priced(self.mmproj, profile, budget, agent, mtp_depth=depth)
|
|
@@ -232,6 +243,7 @@ class CatalogEntry:
|
|
|
232
243
|
budget,
|
|
233
244
|
mtp_capable=self.mtp_capable,
|
|
234
245
|
fixed_overhead=RUNTIME_OVERHEAD_BYTES + self.companion_bytes,
|
|
246
|
+
ubatch=self.ubatch,
|
|
235
247
|
)
|
|
236
248
|
|
|
237
249
|
def download_files(self, variant: QuantVariant) -> tuple[AssetFile, ...]:
|
|
@@ -437,6 +449,9 @@ def load_catalog(value: object) -> tuple[CatalogEntry, ...]:
|
|
|
437
449
|
recurrent_layers=m["recurrent_layers"],
|
|
438
450
|
per_layer_f16=m["per_layer_f16"],
|
|
439
451
|
max_agent_window=m.get("max_agent_window", 0),
|
|
452
|
+
ubatch=m.get("ubatch", 0),
|
|
453
|
+
engine=m.get("engine", ""),
|
|
454
|
+
library=bool(m.get("library", False)),
|
|
440
455
|
swa_layers=m.get("swa_layers", 0),
|
|
441
456
|
swa_window=m.get("swa_window", 0),
|
|
442
457
|
moe=m.get("moe", False),
|
|
@@ -105,6 +105,9 @@ class CardData(TypedDict, total=False):
|
|
|
105
105
|
class OptionalModelData(ModelData, ProvenanceData, CardData, total=False):
|
|
106
106
|
runtime: str
|
|
107
107
|
max_agent_window: int # since 2026-11-16: the agent posture's window cap, tokens
|
|
108
|
+
ubatch: int # since 2026-11-21: micro-batch ceiling (-ub) for large compute-buffer archs
|
|
109
|
+
engine: str # since 2026-11-21: per-model engine lock tag (engines-<tag>.json)
|
|
110
|
+
library: bool # since 2026-11-21: list candidate in library status without entering --llm auto
|
|
108
111
|
swa_layers: int
|
|
109
112
|
swa_window: int
|
|
110
113
|
moe: bool
|
|
@@ -329,6 +332,11 @@ def problems(value: object) -> list[str]:
|
|
|
329
332
|
issues = _entry_problems(m, "llm", "llama.cpp")
|
|
330
333
|
if m.get("runtime", "llama.cpp") not in ("llama.cpp", "mlx-lm"):
|
|
331
334
|
issues.append("runtime is unknown")
|
|
335
|
+
if (tag := m.get("engine")) is not None:
|
|
336
|
+
if not tag or not CATALOG_PATH.with_name(f"engines-{tag}.json").is_file():
|
|
337
|
+
issues.append(f"engine lock engines-{tag}.json does not exist")
|
|
338
|
+
if (ub := m.get("ubatch")) is not None and ub <= 0:
|
|
339
|
+
issues.append("ubatch must be positive")
|
|
332
340
|
quality = m.get("quality")
|
|
333
341
|
if not isinstance(quality, dict) or not quality["sources"]:
|
|
334
342
|
issues.append("quality has no sources")
|
|
@@ -280,13 +280,17 @@ class LaunchPlan:
|
|
|
280
280
|
profile: ModelProfile | None = None # as priced at the chosen posture (posture_profile)
|
|
281
281
|
|
|
282
282
|
|
|
283
|
-
def posture_profile(
|
|
283
|
+
def posture_profile(
|
|
284
|
+
profile: ModelProfile, *, mtp_capable: bool, mtp_prefill: bool, ubatch: int = 0
|
|
285
|
+
) -> ModelProfile:
|
|
284
286
|
"""``profile`` at one launch posture: window-scaled compute buffers grow with the microbatch
|
|
285
287
|
launch_args passes, and MTP runs a second context beside the target."""
|
|
286
|
-
|
|
288
|
+
effective = PREFILL_UBATCH if mtp_prefill or not mtp_capable else DEFAULT_UBATCH
|
|
289
|
+
if ubatch > 0:
|
|
290
|
+
effective = min(effective, ubatch)
|
|
287
291
|
contexts = 2 if mtp_capable else 1
|
|
288
292
|
return replace(
|
|
289
|
-
profile, window_compute_per_token=profile.window_compute_bytes *
|
|
293
|
+
profile, window_compute_per_token=profile.window_compute_bytes * effective * contexts
|
|
290
294
|
)
|
|
291
295
|
|
|
292
296
|
|
|
@@ -297,6 +301,7 @@ def plan_launch(
|
|
|
297
301
|
mtp_capable: bool = False,
|
|
298
302
|
fixed_overhead: int = RUNTIME_OVERHEAD_BYTES,
|
|
299
303
|
requested_window: int | None = None,
|
|
304
|
+
ubatch: int = 0,
|
|
300
305
|
) -> LaunchPlan:
|
|
301
306
|
"""Window first, then prefill; price both postures at the effective window.
|
|
302
307
|
|
|
@@ -309,7 +314,9 @@ def plan_launch(
|
|
|
309
314
|
initial: dict[bool, WindowDecision | PhysicsRefusal] = {}
|
|
310
315
|
|
|
311
316
|
def candidate(stacked: bool) -> LaunchPlan:
|
|
312
|
-
posture = posture_profile(
|
|
317
|
+
posture = posture_profile(
|
|
318
|
+
profile, mtp_capable=mtp_capable, mtp_prefill=stacked, ubatch=ubatch
|
|
319
|
+
)
|
|
313
320
|
overhead = fixed_overhead + ub_logits_bytes(
|
|
314
321
|
profile.n_vocab, mtp_capable=mtp_capable, mtp_prefill=stacked
|
|
315
322
|
)
|
|
@@ -364,6 +371,7 @@ def fit_to_free_memory(
|
|
|
364
371
|
*,
|
|
365
372
|
mtp_capable: bool = False,
|
|
366
373
|
fixed_overhead: int = RUNTIME_OVERHEAD_BYTES,
|
|
374
|
+
ubatch: int = 0,
|
|
367
375
|
) -> LaunchPlan:
|
|
368
376
|
"""Narrow a resident capacity plan to the window the card's free memory holds now.
|
|
369
377
|
|
|
@@ -375,7 +383,9 @@ def fit_to_free_memory(
|
|
|
375
383
|
decision = plan.decision
|
|
376
384
|
if not isinstance(decision, WindowDecision) or decision.spilled:
|
|
377
385
|
return plan
|
|
378
|
-
now = plan_launch(
|
|
386
|
+
now = plan_launch(
|
|
387
|
+
profile, live, mtp_capable=mtp_capable, fixed_overhead=fixed_overhead, ubatch=ubatch
|
|
388
|
+
)
|
|
379
389
|
if isinstance(now.decision, WindowDecision) and not now.decision.spilled:
|
|
380
390
|
if now.decision.window >= decision.window:
|
|
381
391
|
return plan
|
|
@@ -451,6 +461,7 @@ def launch_args(
|
|
|
451
461
|
mtp_draft_depth: int = 3,
|
|
452
462
|
uma: bool = False,
|
|
453
463
|
mtp_prefill: bool = False,
|
|
464
|
+
ubatch: int = 0,
|
|
454
465
|
) -> list[str]:
|
|
455
466
|
"""Per-model launch flags from a window decision. Explicit -c puts fit into
|
|
456
467
|
spill-weights-and-hold-ctx; q8 KV cache wherever flash attention exists; -ot placement on
|
|
@@ -466,7 +477,19 @@ def launch_args(
|
|
|
466
477
|
"--spec-draft-backend-sampling",
|
|
467
478
|
]
|
|
468
479
|
if mtp_prefill:
|
|
469
|
-
|
|
480
|
+
effective = min(PREFILL_UBATCH, ubatch) if ubatch > 0 else PREFILL_UBATCH
|
|
481
|
+
args += [
|
|
482
|
+
"-b",
|
|
483
|
+
str(max(4096, effective) if ubatch <= 0 else max(DEFAULT_UBATCH, effective)),
|
|
484
|
+
"-ub",
|
|
485
|
+
str(effective),
|
|
486
|
+
]
|
|
487
|
+
elif ubatch > 0:
|
|
488
|
+
effective = min(DEFAULT_UBATCH, ubatch)
|
|
489
|
+
args += ["-b", str(DEFAULT_UBATCH), "-ub", str(effective)]
|
|
490
|
+
elif ubatch > 0:
|
|
491
|
+
effective = min(PREFILL_UBATCH, ubatch)
|
|
492
|
+
args += ["-b", str(max(DEFAULT_UBATCH, effective)), "-ub", str(effective)]
|
|
470
493
|
else:
|
|
471
494
|
args += ["-b", str(PREFILL_UBATCH), "-ub", str(PREFILL_UBATCH)]
|
|
472
495
|
if flash_attention:
|
|
@@ -651,7 +674,7 @@ def agent_launch_args(decision: WindowDecision, posture: AgentPosture = AGENT) -
|
|
|
651
674
|
"-fa",
|
|
652
675
|
"on",
|
|
653
676
|
"-b",
|
|
654
|
-
str(posture.ubatch),
|
|
677
|
+
str(max(AGENT.ubatch, posture.ubatch)),
|
|
655
678
|
"-ub",
|
|
656
679
|
str(posture.ubatch),
|
|
657
680
|
"--fit",
|
|
@@ -675,10 +698,10 @@ def agent_launch_args(decision: WindowDecision, posture: AgentPosture = AGENT) -
|
|
|
675
698
|
if posture.ctx_checkpoints is not None
|
|
676
699
|
else []
|
|
677
700
|
),
|
|
678
|
-
# llama.cpp reads 0 as thinking off and -1 as no cap:
|
|
701
|
+
# llama.cpp reads 0 as thinking off and -1 as no cap: only a positive cap emits the flag.
|
|
679
702
|
*(
|
|
680
703
|
["--reasoning-budget", str(posture.reasoning_budget)]
|
|
681
|
-
if posture.reasoning_budget
|
|
704
|
+
if posture.reasoning_budget > 0
|
|
682
705
|
else []
|
|
683
706
|
),
|
|
684
707
|
]
|