@atomic-chat/core 0.18.3 → 0.18.4
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/dist/app-daemon.js +4 -6
- package/dist/app-daemon.js.map +1 -1
- package/dist/backend/advisor/advisor.d.ts +6 -1
- package/dist/backend/advisor/advisor.js +69 -7
- package/dist/backend/advisor/advisor.js.map +1 -1
- package/dist/backend/catalog/prism-manifest.d.ts +2 -0
- package/dist/backend/catalog/prism-manifest.js +3 -2
- package/dist/backend/catalog/prism-manifest.js.map +1 -1
- package/dist/cli/main.d.ts +1 -1
- package/dist/cli/main.js +2 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/contracts/backend-advisor.d.ts +12 -0
- package/dist/contracts/errors.d.ts +6 -1
- package/dist/contracts/errors.js.map +1 -1
- package/dist/core/atomic-core.d.ts +1 -1
- package/dist/host/recipes/executor-io-windows.d.ts +11 -0
- package/dist/host/recipes/executor-io-windows.js +23 -5
- package/dist/host/recipes/executor-io-windows.js.map +1 -1
- package/dist/runtime/foundry-local/foundry-host.d.ts +18 -0
- package/dist/runtime/foundry-local/foundry-host.js +23 -0
- package/dist/runtime/foundry-local/foundry-host.js.map +1 -0
- package/dist/runtime/foundry-local/host/run.js +1 -1
- package/dist/runtime/foundry-local/host/run.js.map +1 -1
- package/dist/runtime/foundry-local/host-process.d.ts +3 -0
- package/dist/runtime/foundry-local/host-process.js +3 -0
- package/dist/runtime/foundry-local/host-process.js.map +1 -1
- package/dist/runtime/foundry-local/index.d.ts +0 -1
- package/dist/runtime/foundry-local/index.js +0 -1
- package/dist/runtime/foundry-local/index.js.map +1 -1
- package/dist/server/control/routes/models.js +3 -2
- package/dist/server/control/routes/models.js.map +1 -1
- package/dist/server/http.js +43 -7
- package/dist/server/http.js.map +1 -1
- package/dist/settings/public.d.ts +7 -0
- package/dist/settings/public.js +8 -0
- package/dist/settings/public.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +10 -3
- package/src/settings/schema/atomic-prism.json +0 -433
- package/src/settings/schema/foundation-models.json +0 -1
- package/src/settings/schema/foundry-local.json +0 -14
- package/src/settings/schema/llamacpp-upstream.json +0 -498
- package/src/settings/schema/llamacpp.json +0 -475
- package/src/settings/schema/mlx.json +0 -136
- package/src/settings/schema/sglang.json +0 -251
- package/src/settings/schema/tensorrt-llm.json +0 -253
- package/src/settings/schema/vllm.json +0 -273
|
@@ -1,433 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"key": "version_backend",
|
|
4
|
-
"title": "Version & Backend",
|
|
5
|
-
"description": "Version and Backend for PrismML llama.cpp",
|
|
6
|
-
"controllerType": "dropdown",
|
|
7
|
-
"controllerProps": {
|
|
8
|
-
"value": "none",
|
|
9
|
-
"options": [],
|
|
10
|
-
"recommended": ""
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"key": "allow_candidate_builds",
|
|
15
|
-
"title": "Allow unverified PrismML builds",
|
|
16
|
-
"description": "Offer PrismML releases Atomic Chat has not verified on real hardware yet. Off by default: only verified builds are recommended and offered as updates.",
|
|
17
|
-
"controllerType": "checkbox",
|
|
18
|
-
"controllerProps": {
|
|
19
|
-
"value": false
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"key": "concurrent_mode",
|
|
24
|
-
"title": "Concurrent Mode",
|
|
25
|
-
"description": "Run the model as a multi-slot server: serves multiple chat requests in parallel on one loaded model. Overrides Parallel Sequences and Continuous Batching and exposes Prometheus /metrics.",
|
|
26
|
-
"controllerType": "checkbox",
|
|
27
|
-
"controllerProps": {
|
|
28
|
-
"value": false
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"key": "concurrent_slots",
|
|
33
|
-
"title": "Concurrent Slots",
|
|
34
|
-
"description": "Number of parallel slots when Concurrent Mode is enabled. Per-slot context = ctx_size / slots. Higher values serve more concurrent requests but give each less context.",
|
|
35
|
-
"controllerType": "input",
|
|
36
|
-
"controllerProps": {
|
|
37
|
-
"value": 8,
|
|
38
|
-
"placeholder": "8",
|
|
39
|
-
"type": "number",
|
|
40
|
-
"textAlign": "right",
|
|
41
|
-
"min": 2,
|
|
42
|
-
"max": 16
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"key": "expose_metrics",
|
|
47
|
-
"title": "Expose Prometheus /metrics",
|
|
48
|
-
"description": "Start llama-server with --metrics so the local API server can proxy /v1/metrics?model=<id>. Automatically enabled by Concurrent Mode.",
|
|
49
|
-
"controllerType": "checkbox",
|
|
50
|
-
"controllerProps": {
|
|
51
|
-
"value": false
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"key": "parallel",
|
|
56
|
-
"title": "Parallel Sequences",
|
|
57
|
-
"description": "Number of parallel sequences to decode (0 = llama.cpp default of 1). Set to 1 to also enable -kvu for optimized single-request serving. Ignored when Concurrent Mode is on.",
|
|
58
|
-
"controllerType": "input",
|
|
59
|
-
"controllerProps": {
|
|
60
|
-
"value": 1,
|
|
61
|
-
"placeholder": "1",
|
|
62
|
-
"type": "number",
|
|
63
|
-
"textAlign": "right",
|
|
64
|
-
"min": 0
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"key": "cont_batching",
|
|
69
|
-
"title": "Continuous Batching",
|
|
70
|
-
"description": "Enable continuous batching (a.k.a dynamic batching) for concurrent requests.",
|
|
71
|
-
"controllerType": "checkbox",
|
|
72
|
-
"controllerProps": {
|
|
73
|
-
"value": false
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"key": "llamacpp_env",
|
|
78
|
-
"title": "Environmental variables",
|
|
79
|
-
"description": "Environmental variables for llama.cpp(KEY=VALUE), separated by ';'",
|
|
80
|
-
"controllerType": "input",
|
|
81
|
-
"controllerProps": {
|
|
82
|
-
"value": "",
|
|
83
|
-
"placeholder": "Eg. GGML_VK_VISIBLE_DEVICES=0,1",
|
|
84
|
-
"type": "text",
|
|
85
|
-
"textAlign": "right"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"key": "reasoning_preserve",
|
|
90
|
-
"title": "Preserve Reasoning",
|
|
91
|
-
"description": "Preserve supported reasoning traces across conversation turns. Requires a compatible chat template and llama.cpp b9837 or newer.",
|
|
92
|
-
"controllerType": "checkbox",
|
|
93
|
-
"controllerProps": {
|
|
94
|
-
"value": false
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"key": "extra_args",
|
|
99
|
-
"title": "Additional llama-server Arguments",
|
|
100
|
-
"description": "Advanced: append arbitrary llama-server arguments. Separate arguments with spaces and quote values containing spaces. Arguments are passed directly without shell expansion.",
|
|
101
|
-
"controllerType": "input",
|
|
102
|
-
"controllerProps": {
|
|
103
|
-
"value": "",
|
|
104
|
-
"placeholder": "--reasoning-format deepseek --reasoning-budget 4096",
|
|
105
|
-
"type": "text",
|
|
106
|
-
"textAlign": "right"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"key": "timeout",
|
|
111
|
-
"title": "Timeout for llamacpp",
|
|
112
|
-
"description": "Llamacpp connection and load timeout in seconds. Model loading and chat streaming both use at least 1800s regardless of a lower value here.",
|
|
113
|
-
"controllerType": "input",
|
|
114
|
-
"controllerProps": {
|
|
115
|
-
"value": "1800",
|
|
116
|
-
"placeholder": "e.g 1800",
|
|
117
|
-
"type": "number",
|
|
118
|
-
"textAlign": "right"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"key": "fit",
|
|
123
|
-
"title": "Fit context to device memory",
|
|
124
|
-
"description": "Let llama.cpp pick the largest context window that fits this device's memory (--fit). While on, the context-size slider is set by the engine; turn off to set it by hand. (env: LLAMA_ARG_FIT)",
|
|
125
|
-
"controllerType": "checkbox",
|
|
126
|
-
"controllerProps": {
|
|
127
|
-
"value": true
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"key": "fit_target",
|
|
132
|
-
"title": "Fit Target per Device (MiB)",
|
|
133
|
-
"description": "Target margin per device for fit, comma-separated list of MiB values. Single value is broadcast across all devices. (env: LLAMA_ARG_FIT_TARGET)",
|
|
134
|
-
"controllerType": "input",
|
|
135
|
-
"controllerProps": {
|
|
136
|
-
"value": "1024",
|
|
137
|
-
"placeholder": "1024 or MiB0,MiB1,...",
|
|
138
|
-
"type": "text",
|
|
139
|
-
"textAlign": "right"
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"key": "fit_ctx",
|
|
144
|
-
"title": "Fit Minimum Context Size",
|
|
145
|
-
"description": "Minimum context size (tokens) that can be set by --fit option. (env: LLAMA_ARG_FIT_CTX)",
|
|
146
|
-
"controllerType": "input",
|
|
147
|
-
"controllerProps": {
|
|
148
|
-
"value": 4096,
|
|
149
|
-
"placeholder": "4096",
|
|
150
|
-
"type": "number",
|
|
151
|
-
"textAlign": "right"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"key": "threads",
|
|
156
|
-
"title": "Threads",
|
|
157
|
-
"description": "Number of threads to use during generation (-1 for logical cores).",
|
|
158
|
-
"controllerType": "input",
|
|
159
|
-
"controllerProps": {
|
|
160
|
-
"value": -1,
|
|
161
|
-
"placeholder": "-1",
|
|
162
|
-
"type": "number",
|
|
163
|
-
"textAlign": "right"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"key": "threads_batch",
|
|
168
|
-
"title": "Threads (Batch)",
|
|
169
|
-
"description": "Number of threads for batch and prompt processing (default: same as Threads).",
|
|
170
|
-
"controllerType": "input",
|
|
171
|
-
"controllerProps": {
|
|
172
|
-
"value": -1,
|
|
173
|
-
"placeholder": "-1 (same as Threads)",
|
|
174
|
-
"type": "number",
|
|
175
|
-
"textAlign": "right"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"key": "ctx_shift",
|
|
180
|
-
"title": "Context Shift",
|
|
181
|
-
"description": "Allow model to cut text in the beginning to accommodate new text in its memory",
|
|
182
|
-
"controllerType": "checkbox",
|
|
183
|
-
"controllerProps": {
|
|
184
|
-
"value": false
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"key": "n_predict",
|
|
189
|
-
"title": "Max Tokens to Predict",
|
|
190
|
-
"description": "Maximum number of tokens to generate (-1 = infinity).",
|
|
191
|
-
"controllerType": "input",
|
|
192
|
-
"controllerProps": {
|
|
193
|
-
"value": -1,
|
|
194
|
-
"placeholder": "-1",
|
|
195
|
-
"type": "number",
|
|
196
|
-
"textAlign": "right"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"key": "ubatch_size",
|
|
201
|
-
"title": "uBatch Size",
|
|
202
|
-
"description": "Physical maximum batch size for processing prompts.",
|
|
203
|
-
"controllerType": "input",
|
|
204
|
-
"controllerProps": {
|
|
205
|
-
"value": 512,
|
|
206
|
-
"placeholder": "512",
|
|
207
|
-
"type": "number",
|
|
208
|
-
"textAlign": "right"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"key": "device",
|
|
213
|
-
"title": "Devices for Offload",
|
|
214
|
-
"description": "Comma-separated list of devices to use for offloading (e.g., 'CUDA0', 'CUDA0,CUDA1'). Leave empty to use default/CPU only.",
|
|
215
|
-
"controllerType": "input",
|
|
216
|
-
"controllerProps": {
|
|
217
|
-
"value": "",
|
|
218
|
-
"placeholder": "CUDA0",
|
|
219
|
-
"type": "text"
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"key": "flash_attn",
|
|
224
|
-
"title": "Flash Attention",
|
|
225
|
-
"description": "Enable Flash Attention for optimized performance.",
|
|
226
|
-
"controllerType": "dropdown",
|
|
227
|
-
"controllerProps": {
|
|
228
|
-
"value": "auto",
|
|
229
|
-
"options": [
|
|
230
|
-
{
|
|
231
|
-
"value": "auto",
|
|
232
|
-
"name": "Auto"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"value": "on",
|
|
236
|
-
"name": "On"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"value": "off",
|
|
240
|
-
"name": "Off"
|
|
241
|
-
}
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"key": "no_mmap",
|
|
247
|
-
"title": "Disable mmap",
|
|
248
|
-
"description": "Do not memory-map model (slower load but may reduce pageouts if not using mlock).",
|
|
249
|
-
"controllerType": "checkbox",
|
|
250
|
-
"controllerProps": {
|
|
251
|
-
"value": false
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"key": "mlock",
|
|
256
|
-
"title": "MLock",
|
|
257
|
-
"description": "Force system to keep model in RAM, preventing swapping/compression.",
|
|
258
|
-
"controllerType": "checkbox",
|
|
259
|
-
"controllerProps": {
|
|
260
|
-
"value": false
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"key": "cache_type_k",
|
|
265
|
-
"title": "KV Cache K Type",
|
|
266
|
-
"description": "KV cache data type for Keys (default: f16).",
|
|
267
|
-
"controllerType": "dropdown",
|
|
268
|
-
"controllerProps": {
|
|
269
|
-
"value": "f16",
|
|
270
|
-
"options": [
|
|
271
|
-
{
|
|
272
|
-
"value": "f32",
|
|
273
|
-
"name": "f32"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"value": "f16",
|
|
277
|
-
"name": "f16"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"value": "bf16",
|
|
281
|
-
"name": "bf16"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"value": "q8_0",
|
|
285
|
-
"name": "q8_0"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"value": "q4_0",
|
|
289
|
-
"name": "q4_0"
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
"value": "q4_1",
|
|
293
|
-
"name": "q4_1"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"value": "iq4_nl",
|
|
297
|
-
"name": "iq4_nl"
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"value": "q5_0",
|
|
301
|
-
"name": "q5_0"
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"value": "q5_1",
|
|
305
|
-
"name": "q5_1"
|
|
306
|
-
}
|
|
307
|
-
]
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"key": "cache_type_v",
|
|
312
|
-
"title": "KV Cache V Type",
|
|
313
|
-
"description": "KV cache data type for Values (default: f16). Quantized values require Flash Attention to be enabled (Auto or On).",
|
|
314
|
-
"controllerType": "dropdown",
|
|
315
|
-
"controllerProps": {
|
|
316
|
-
"value": "f16",
|
|
317
|
-
"options": [
|
|
318
|
-
{
|
|
319
|
-
"value": "f32",
|
|
320
|
-
"name": "f32"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"value": "f16",
|
|
324
|
-
"name": "f16"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"value": "bf16",
|
|
328
|
-
"name": "bf16"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"value": "q8_0",
|
|
332
|
-
"name": "q8_0"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"value": "q4_0",
|
|
336
|
-
"name": "q4_0"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"value": "q4_1",
|
|
340
|
-
"name": "q4_1"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"value": "iq4_nl",
|
|
344
|
-
"name": "iq4_nl"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"value": "q5_0",
|
|
348
|
-
"name": "q5_0"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
"value": "q5_1",
|
|
352
|
-
"name": "q5_1"
|
|
353
|
-
}
|
|
354
|
-
]
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"key": "defrag_thold",
|
|
359
|
-
"title": "KV Cache Defragmentation Threshold",
|
|
360
|
-
"description": "Threshold for KV cache defragmentation (< 0 to disable).",
|
|
361
|
-
"controllerType": "input",
|
|
362
|
-
"controllerProps": {
|
|
363
|
-
"value": 0.1,
|
|
364
|
-
"placeholder": "0.1",
|
|
365
|
-
"type": "number",
|
|
366
|
-
"textAlign": "right",
|
|
367
|
-
"step": 0.01
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
"key": "rope_scaling",
|
|
372
|
-
"title": "RoPE Scaling Method",
|
|
373
|
-
"description": "RoPE frequency scaling method.",
|
|
374
|
-
"controllerType": "dropdown",
|
|
375
|
-
"controllerProps": {
|
|
376
|
-
"value": "none",
|
|
377
|
-
"options": [
|
|
378
|
-
{
|
|
379
|
-
"value": "none",
|
|
380
|
-
"name": "None"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"value": "linear",
|
|
384
|
-
"name": "Linear"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"value": "yarn",
|
|
388
|
-
"name": "YaRN"
|
|
389
|
-
}
|
|
390
|
-
]
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"key": "rope_scale",
|
|
395
|
-
"title": "RoPE Scale Factor",
|
|
396
|
-
"description": "RoPE context scaling factor.",
|
|
397
|
-
"controllerType": "input",
|
|
398
|
-
"controllerProps": {
|
|
399
|
-
"value": 1.0,
|
|
400
|
-
"placeholder": "1.0",
|
|
401
|
-
"type": "number",
|
|
402
|
-
"textAlign": "right",
|
|
403
|
-
"min": 0,
|
|
404
|
-
"step": 0.01
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"key": "rope_freq_base",
|
|
409
|
-
"title": "RoPE Frequency Base",
|
|
410
|
-
"description": "RoPE base frequency (0 = loaded from model).",
|
|
411
|
-
"controllerType": "input",
|
|
412
|
-
"controllerProps": {
|
|
413
|
-
"value": 0,
|
|
414
|
-
"placeholder": "0 (model default)",
|
|
415
|
-
"type": "number",
|
|
416
|
-
"textAlign": "right"
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
"key": "rope_freq_scale",
|
|
421
|
-
"title": "RoPE Frequency Scale Factor",
|
|
422
|
-
"description": "RoPE frequency scaling factor.",
|
|
423
|
-
"controllerType": "input",
|
|
424
|
-
"controllerProps": {
|
|
425
|
-
"value": 1.0,
|
|
426
|
-
"placeholder": "1.0",
|
|
427
|
-
"type": "number",
|
|
428
|
-
"textAlign": "right",
|
|
429
|
-
"min": 0,
|
|
430
|
-
"step": 0.01
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"key": "timeout",
|
|
4
|
-
"title": "Timeout for Foundry Local",
|
|
5
|
-
"description": "How long a Foundry Local model may take to load, in seconds: registering it, building its ONNX Runtime session and starting the host's server.",
|
|
6
|
-
"controllerType": "input",
|
|
7
|
-
"controllerProps": {
|
|
8
|
-
"value": 600,
|
|
9
|
-
"placeholder": "e.g 600",
|
|
10
|
-
"type": "number",
|
|
11
|
-
"textAlign": "right"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
]
|