@qvac/llm-llamacpp 0.60.0 → 0.61.0

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/NOTICE CHANGED
@@ -239,4 +239,5 @@ C++ Dependencies
239
239
  https://github.com/nlohmann/json
240
240
  qvac-fabric
241
241
  https://github.com/tetherto/qvac-fabric-llm.cpp
242
-
242
+ stb_image v2.30 (MIT or public domain)
243
+ https://github.com/nothings/stb
package/README.md CHANGED
@@ -193,6 +193,7 @@ const config = {
193
193
  | frequency_penalty | float | 0 | Frequency penalty for sampling |
194
194
  | tools | `"true"` or `"false"` | `"false"` | Enable tool calling with jinja templating |
195
195
  | verbosity | 0 – 3 (0=ERROR, 1=WARNING, 2=INFO, 3=DEBUG) | 0 | Logging verbosity level |
196
+ | image-max-megapixels | positive integer | 50 | Maximum reported image pixel count in millions, checked before decode. Alias: `image_max_megapixels`. |
196
197
  | main-gpu | integer, `"integrated"`, or `"dedicated"` | — | GPU selection for multi-GPU systems |
197
198
  | backend | comma-separated list of `cuda`, `vulkan`, `metal`, `opencl`, or `auto` | N/A | Overrides which GPU backend is used, in priority order (e.g. `"cuda,vulkan"`). `auto` means no preference. An unrecognised name is rejected; a recognised one with no device present is skipped. Use `device: "cpu"` to run on CPU. Cannot be combined with `split-mode` or `devices` |
198
199
  | split-mode | `"none"`, `"layer"`, or `"tensor"` | `"none"` | How to split the model across GPUs. `"tensor"` is EXPERIMENTAL and desktop-only; `"row"` is rejected ([details](./docs/multi-gpu.md)) |
@@ -411,7 +412,7 @@ Cancelling a queued job resolves immediately, whether or not the slots it was wa
411
412
  ```js
412
413
  const LlmLlamacpp = require('@qvac/llm-llamacpp')
413
414
 
414
- const fit = LlmLlamacpp.assessFit({
415
+ const fit = await LlmLlamacpp.assessFit({
415
416
  modelPath: '/models/model.gguf',
416
417
  config: { device: 'gpu', 'ctx-size': '4096' }
417
418
  })
@@ -431,7 +432,9 @@ Pinning `gpu-layers` fixes the placement: the fitter refuses to move layers off
431
432
 
432
433
  `minCtxSize` sets a floor the fitter may not reduce the context below, defaulting to llama's own `fit-ctx` of 4096. `marginBytes` is the memory to leave free on every device, defaulting to llama's `fit-target` of 1 GiB per device. `backendsDir` is where the dynamically-loaded ggml backends live.
433
434
 
434
- A model the fitter cannot read is `status: "error"`; only a broken request throws.
435
+ `assessFit` returns a Promise. Concurrent calls run one at a time within this addon.
436
+
437
+ A model the fitter cannot read resolves to `status: "error"`; only a broken request rejects.
435
438
 
436
439
  ## Fine-tuning
437
440
 
package/fit.d.ts CHANGED
@@ -38,16 +38,15 @@ export interface LlamaFitResult {
38
38
  * and never weight data. The registry's weightless copy of a model answers the
39
39
  * same as the model itself, so this can run before anything is downloaded.
40
40
  *
41
- * A model the fitter cannot read comes back as `status: "error"`; only a broken
42
- * request throws.
41
+ * A model the fitter cannot read resolves to `status: "error"`; only a broken
42
+ * request rejects.
43
43
  *
44
- * Runs synchronously on the calling thread and builds the model twice without
45
- * allocating weights, so a caller that must stay responsive runs it off its
46
- * own loop.
44
+ * Builds the model twice without allocating weights. Concurrent calls run one
45
+ * at a time.
47
46
  *
48
47
  * The projection reads the model's vocabulary, and llama asserts on a
49
48
  * vocabulary it finds inconsistent. An assert aborts rather than throwing, so
50
49
  * a corrupt file ends the process instead of returning a status: take the
51
50
  * model from a source you trust, or call this behind a process boundary.
52
51
  */
53
- export declare function assessFit(request: LlamaFitRequest): LlamaFitResult;
52
+ export declare function assessFit(request: LlamaFitRequest): Promise<LlamaFitResult>;
package/fit.js CHANGED
@@ -6,20 +6,19 @@ exports.assessFit = assessFit;
6
6
  * and never weight data. The registry's weightless copy of a model answers the
7
7
  * same as the model itself, so this can run before anything is downloaded.
8
8
  *
9
- * A model the fitter cannot read comes back as `status: "error"`; only a broken
10
- * request throws.
9
+ * A model the fitter cannot read resolves to `status: "error"`; only a broken
10
+ * request rejects.
11
11
  *
12
- * Runs synchronously on the calling thread and builds the model twice without
13
- * allocating weights, so a caller that must stay responsive runs it off its
14
- * own loop.
12
+ * Builds the model twice without allocating weights. Concurrent calls run one
13
+ * at a time.
15
14
  *
16
15
  * The projection reads the model's vocabulary, and llama asserts on a
17
16
  * vocabulary it finds inconsistent. An assert aborts rather than throwing, so
18
17
  * a corrupt file ends the process instead of returning a status: take the
19
18
  * model from a source you trust, or call this behind a process boundary.
20
19
  */
21
- function assessFit(request) {
20
+ async function assessFit(request) {
22
21
  // eslint-disable-next-line @typescript-eslint/no-require-imports -- native binding is resolved lazily from package prebuilds.
23
22
  const binding = require('./binding.js');
24
- return binding.assessFit({ ...request, config: { ...request.config } });
23
+ return await binding.assessFit({ ...request, config: { ...request.config } });
25
24
  }
package/index.d.ts CHANGED
@@ -244,6 +244,10 @@ declare namespace LlmLlamacpp {
244
244
  devices?: string;
245
245
  "cache-type-k"?: string;
246
246
  "cache-type-v"?: string;
247
+ /** Maximum reported image pixel count in megapixels before decoding. Default: 50. */
248
+ "image-max-megapixels"?: string;
249
+ /** Alias for image-max-megapixels. Set only one spelling. */
250
+ image_max_megapixels?: string;
247
251
  /**
248
252
  * Run the multimodal projector (mmproj / vision encoder) on the GPU. Accepts
249
253
  * 'true'/'on'/'1' or 'false'/'off'/'0'. When unset, the backend is auto-selected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/llm-llamacpp",
3
- "version": "0.60.0",
3
+ "version": "0.61.0",
4
4
  "description": "llama addon for qvac",
5
5
  "addon": true,
6
6
  "scripts": {
@@ -73,8 +73,8 @@
73
73
  "bugs": "https://github.com/tetherto/qvac/issues",
74
74
  "homepage": "https://qvac.tether.io",
75
75
  "devDependencies": {
76
- "@qvac/fabric-android-arm64": "0.21.1",
77
- "@qvac/fabric-ios": "0.21.1",
76
+ "@qvac/fabric-android-arm64": "0.22.0",
77
+ "@qvac/fabric-ios": "0.22.0",
78
78
  "@types/node": "^24.2.1",
79
79
  "bare-crypto": "^1.15.3",
80
80
  "bare-process": "^4.2.2",
@@ -96,22 +96,22 @@
96
96
  "typescript-eslint": "^8.63.0"
97
97
  },
98
98
  "dependencies": {
99
- "@qvac/fabric": "^0.21.1",
100
- "@qvac/infer-base": "^0.6.2",
99
+ "@qvac/fabric": "^0.22.0",
100
+ "@qvac/infer-base": "^0.8.0",
101
101
  "@qvac/logging": "^0.1.0",
102
102
  "bare-fs": "^4.5.1",
103
103
  "bare-path": "^3.0.0"
104
104
  },
105
105
  "optionalDependencies": {
106
- "@qvac/fabric-linux-x64": "^0.21.1",
107
- "@qvac/fabric-linux-arm64": "^0.21.1",
108
- "@qvac/fabric-darwin-arm64": "^0.21.1",
109
- "@qvac/fabric-darwin-x64": "^0.21.1",
110
- "@qvac/fabric-win32-x64": "^0.21.1"
106
+ "@qvac/fabric-linux-x64": "^0.22.0",
107
+ "@qvac/fabric-linux-arm64": "^0.22.0",
108
+ "@qvac/fabric-darwin-arm64": "^0.22.0",
109
+ "@qvac/fabric-darwin-x64": "^0.22.0",
110
+ "@qvac/fabric-win32-x64": "^0.22.0"
111
111
  },
112
112
  "peerDependencies": {
113
- "@qvac/fabric-android-arm64": "^0.21.1",
114
- "@qvac/fabric-ios": "^0.21.1"
113
+ "@qvac/fabric-android-arm64": "^0.22.0",
114
+ "@qvac/fabric-ios": "^0.22.0"
115
115
  },
116
116
  "peerDependenciesMeta": {
117
117
  "@qvac/fabric-android-arm64": {
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.60"
10
+ "version": "0.61"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -39,6 +39,8 @@
39
39
  "__ZN28qvac_lib_inference_addon_cpp17MultiJobScheduler14tlWorkerOwner_E"
40
40
  ],
41
41
  "weak": [
42
+ "__ZZN30qvac_lib_inference_addon_llama6runFitENS_10FitRequestEE8fitMutex",
43
+ "__ZGVZN30qvac_lib_inference_addon_llama6runFitENS_10FitRequestEE8fitMutex",
42
44
  "__ZNSt3__19__any_imp17__unique_typeinfoIN24llama_finetuning_helpers21FinetuneProgressStatsEE4__idE",
43
45
  "__ZZN10InitLoader17getLoadingContextERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEE12numInstances",
44
46
  "__ZN28qvac_lib_inference_addon_cpp6logger8JsLogger6state_E",
@@ -47,7 +49,6 @@
47
49
  "__ZNSt3__119piecewise_constructE",
48
50
  "__ZN8picojson12last_error_tIbE1sE",
49
51
  "__ZGVN28qvac_lib_inference_addon_cpp11JsInterface10instances_E",
50
- "__ZGVZN30qvac_lib_inference_addon_llama9assessFitEP8js_env_sP18js_callback_info_sE8fitMutex",
51
52
  "__ZNSt3__19__any_imp17__unique_typeinfoINS_6vectorINS_4pairINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_7variantIJdxEEEEENS7_ISC_EEEEE4__idE",
52
53
  "__ZN28qvac_lib_inference_addon_cpp6logger8JsLogger13logger_async_E",
53
54
  "__ZGVN28qvac_lib_inference_addon_cpp6logger8JsLogger10log_queue_E",
@@ -71,7 +72,6 @@
71
72
  "__ZNSt3__16ranges5__cpo4findE",
72
73
  "__ZN30qvac_lib_inference_addon_llama10JsBatchIds11kMintPrefixE",
73
74
  "__ZGVN28qvac_lib_inference_addon_cpp11JsInterface13instancesMtx_E",
74
- "__ZZN30qvac_lib_inference_addon_llama9assessFitEP8js_env_sP18js_callback_info_sE8fitMutex",
75
75
  "__ZNSt3__19__any_imp17__unique_typeinfoIN28qvac_lib_inference_addon_cpp6Output5ErrorEE4__idE",
76
76
  "__ZZN30qvac_lib_inference_addon_llama10JsBatchIds4mintEvE4next",
77
77
  "__ZNSt3__19__any_imp17__unique_typeinfoINS_6vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS6_IS8_EEEEE4__idE"
@@ -81,7 +81,6 @@
81
81
  "global": [
82
82
  "__ZNK14MtmdLlmContext20getVisionEncodeTilesEv",
83
83
  "__ZN19LlamaBackendsHandleC2EOS_",
84
- "_bare_get_module_name_v0",
85
84
  "__ZN24llama_finetuning_helpers23optEpochCallbackWrapperEbP16ggml_opt_contextP16ggml_opt_datasetP15ggml_opt_resultxxx",
86
85
  "__ZThn24_N10LlamaModelD0Ev",
87
86
  "__ZN14MtmdLlmContext8setNPastEi",
@@ -91,7 +90,6 @@
91
90
  "__ZN10LlamaModel30discardFinetuneCancelSaveModesERKNSt3__16vectorIyNS0_9allocatorIyEEEE",
92
91
  "__ZN30qvac_lib_inference_addon_llama8batching7RequestC1EjO11PrefillPlanji",
93
92
  "__ZN30qvac_lib_inference_addon_llama5utils25partialSnapshotFromStreamERNSt3__113basic_istreamIcNS1_11char_traitsIcEEEEyiNS0_15SnapshotStorageERKNS1_12basic_stringIcS4_NS1_9allocatorIcEEEERKNS1_8functionIFvPKhmEEERNS0_21SequenceStateSnapshotE",
94
- "__ZNK13ModelMetaData10isU32OneOfEPKcSt16initializer_listIjE",
95
93
  "__ZN10LlamaModelD0Ev",
96
94
  "__ZN24llama_finetuning_helpers18schedulerLrForStepERKNS_20LoraLrSchedulerStateEx",
97
95
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler10setRamTierENSt3__110shared_ptrINS0_14SlotStateCacheEEE",
@@ -120,6 +118,7 @@
120
118
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler12processBatchEONSt3__16vectorINS0_13SubmitRequestENS2_9allocatorIS4_EEEEy",
121
119
  "__ZN14TextLlmContext6getCtxEv",
122
120
  "__ZNK10LlamaModel24singleRuntimeStatsLockedEv",
121
+ "__ZNK13ModelMetaData10isU32OneOfEPKcSt16initializer_listIjE",
123
122
  "__ZN14LlamaFinetuner8finetuneERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsEPN22FinetuneTerminalResult5StatsENSt3__18functionIFvRKN24llama_finetuning_helpers21FinetuneProgressStatsEEEE",
124
123
  "__ZN30qvac_lib_inference_addon_llama5utils25selectReasoningBudgetTagsERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEES9_RKNS1_6vectorIS7_NS5_IS7_EEEERKNS1_8optionalINS0_13ReasoningTagsEEE",
125
124
  "__ZThn32_N10LlamaModelD0Ev",
@@ -179,10 +178,10 @@
179
178
  "__ZN14LlamaFinetuner23initializeCheckpointingERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsEP18llama_adapter_loraPN24llama_finetuning_helpers20LoraLrSchedulerStateE",
180
179
  "__ZN14TextLlmContext12tokenizeChatERKNSt3__16vectorI15common_chat_msgNS0_9allocatorIS2_EEEERKNS1_I16common_chat_toolNS3_IS8_EEEERNS1_IiNS3_IiEEEEb",
181
180
  "__ZN14MtmdLlmContext17removeLastNTokensEi",
181
+ "__ZN19LlamaBackendsHandleD2Ev",
182
182
  "__ZN24llama_finetuning_helpers25findLatestPauseCheckpointERKNSt3__14__fs10filesystem4pathE",
183
183
  "__ZN14MtmdLlmContext35refreshCurrentCacheTokensFromMemoryEv",
184
184
  "__ZN30qvac_lib_inference_addon_llama5utils17resolveToolChoiceERKNSt3__18optionalINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEERKNS1_6vectorI16common_chat_toolNS6_ISD_EEEE",
185
- "__ZN19LlamaBackendsHandleD2Ev",
186
185
  "__ZN30qvac_lib_inference_addon_llama8batching7RequestC1EjONSt3__16vectorIiNS2_9allocatorIiEEEEji",
187
186
  "__ZN30qvac_lib_inference_addon_llama8batching14timeDecodeStepEP13llama_contextR11llama_batchRKNSt3__18functionIFiS2_S4_EEERKNS6_IFvS2_EEE",
188
187
  "__ZN30qvac_lib_inference_addon_llama8batching19MultiRequestBatcher20completeMediaBarrierEjiRKNSt3__18functionIFvjimEEE",
@@ -208,9 +207,9 @@
208
207
  "__ZN14LlamaFinetuner22prepareDatasetFromPathERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsERKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEPKcSE_",
209
208
  "__ZN14LlamaFinetuner26validateModelForFinetuningEv",
210
209
  "__ZN10LlamaModel13processPromptERKNS_6PromptE",
211
- "__ZN30qvac_lib_inference_addon_llama5utils25requireToolChoiceHonouredE23common_chat_tool_choicebbPKc",
212
210
  "__ZN14LlamaFinetuner17createLrSchedulerERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsEx",
213
211
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler16requestCancelAllEv",
212
+ "__ZN30qvac_lib_inference_addon_llama5utils25requireToolChoiceHonouredE23common_chat_tool_choicebbPKc",
214
213
  "__ZN14TextLlmContext22commitCancelledRequestERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE",
215
214
  "__ZN12CacheManager15saveBeforeResetEv",
216
215
  "__ZNK10LlamaModel23batchRuntimeStatsLockedEv",
@@ -224,11 +223,14 @@
224
223
  "__ZNK30qvac_lib_inference_addon_llama8batching20RuntimeStatsSnapshot22prefillTokensPerSecondEv",
225
224
  "__ZN10LlamaModel13setInitLoaderENSt3__18optionalIN10InitLoader11LOADER_TYPEEEENS1_I23FinetuneConfigOverridesEE",
226
225
  "__ZNK30qvac_lib_inference_addon_llama8batching7Request13tokenToFeedAtEi",
226
+ "__ZN14MtmdLlmContextC1ER13common_paramsNSt3__110unique_ptrI18common_init_resultNS2_14default_deleteIS4_EEEEy",
227
227
  "__ZNK14MtmdLlmContext19residentStateTokensEv",
228
228
  "__ZNK30qvac_lib_inference_addon_llama8batching7Request21chunkConsumesAllUnfedEj",
229
229
  "__ZN10LlamaModel7processERKNSt3__13anyE",
230
+ "__ZN14MtmdLlmContextC1ERK13common_paramsRK15LlmModelContextP12mtmd_contextiiy",
230
231
  "__ZThn48_N14MtmdLlmContext8onCancelERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE",
231
232
  "__ZN14MtmdLlmContext29adoptCheckpointsFromCacheFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEy",
233
+ "__ZN26LlamaLazyInitializeBackend16initializeLockedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_",
232
234
  "__ZN10LlamaModel32setFinetuneCancelSavesCheckpointEbRKNSt3__16vectorIyNS0_9allocatorIyEEEE",
233
235
  "__ZN13ModelMetaData5parseERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEERK10GGUFShardsbPKc",
234
236
  "__ZNK10LlamaModel15cancelInferenceEv",
@@ -272,14 +274,13 @@
272
274
  "__ZThn48_N14TextLlmContext32snapshotPreRequestRollbackAnchorEv",
273
275
  "__ZN30qvac_lib_inference_addon_llama5utils16isMedPsyBasenameENSt3__117basic_string_viewIcNS1_11char_traitsIcEEEE",
274
276
  "__ZN12CacheManager17acceptLoadedStateERNSt3__16vectorIiNS0_9allocatorIiEEEERKNS0_12basic_stringIcNS0_11char_traitsIcEENS2_IcEEEE",
275
- "__ZN14MtmdLlmContextC1ER13common_paramsNSt3__110unique_ptrI18common_init_resultNS2_14default_deleteIS4_EEEE",
276
277
  "__ZN14TextLlmContext8onCancelERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE",
278
+ "__ZN14TextLlmContext32snapshotPreRequestRollbackAnchorEv",
277
279
  "__ZN14LlamaFinetuner18configureOptimizerERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsEP18llama_adapter_loraRN24llama_finetuning_helpers20LoraLrSchedulerStateEPNS6_23TrainingCheckpointStateEb",
278
280
  "__ZThn40_NK10LlamaModel15consumeJobStatsEy",
279
281
  "__ZN17backend_selection30getUnknownFinetuneArchitectureEPK13ModelMetaData",
280
- "__ZN14TextLlmContext32snapshotPreRequestRollbackAnchorEv",
282
+ "__ZThn48_N14MtmdLlmContext32snapshotPreRequestRollbackAnchorEv",
281
283
  "__ZN14TextLlmContextC1ERK13common_paramsRK15LlmModelContextii",
282
- "__ZN14MtmdLlmContextC1ERK13common_paramsRK15LlmModelContextP12mtmd_contextii",
283
284
  "__ZN14MtmdLlmContext29clearCacheReconciliationStateEv",
284
285
  "__ZN30qvac_lib_inference_addon_llama8batching7Request18isOptAwaitingMediaERKNSt3__18optionalIS1_EE",
285
286
  "__ZN30qvac_lib_inference_addon_llama8batching7Request13isOptFinishedERKNSt3__18optionalIS1_EE",
@@ -291,7 +292,6 @@
291
292
  "__ZNK14LlamaFinetuner31getCurrentCheckpointStateSharedEv",
292
293
  "__ZThn16_N10LlamaModelD1Ev",
293
294
  "__ZThn48_N14MtmdLlmContext9loadCacheERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb",
294
- "__ZThn48_N14MtmdLlmContext32snapshotPreRequestRollbackAnchorEv",
295
295
  "__ZN10LlamaModelC1EONSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_ONS0_13unordered_mapIS6_S6_NS0_4hashIS6_EENS0_8equal_toIS6_EENS4_INS0_4pairIKS6_S6_EEEEEE",
296
296
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler25finalizeFinishedSequencesEv",
297
297
  "__ZN14LlamaFinetuner15saveLoraAdapterEP18llama_adapter_loraRKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsE",
@@ -305,6 +305,7 @@
305
305
  "__ZN17backend_selection23getSplitDeviceSelectionEv",
306
306
  "__ZN19LlamaBackendsHandleC1EOS_",
307
307
  "__ZN12CacheManager11handleCacheER19ParsedPromptPayloadRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8functionIFS0_SA_EEESA_b",
308
+ "__ZN17image_pixel_limit13takeMaxPixelsERNSt3__113unordered_mapINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_NS0_4hashIS7_EENS0_8equal_toIS7_EENS5_INS0_4pairIKS7_S7_EEEEEE",
308
309
  "__ZN30qvac_lib_inference_addon_llama5utils21snapshotSequenceStateEP13llama_contextiiRNS0_21SequenceStateSnapshotENS0_15SnapshotStorageENS0_13SnapshotScopeERKNSt3__112basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEE",
309
310
  "__ZNK10LlamaModel16supportsBatchingEv",
310
311
  "__ZNK30qvac_lib_inference_addon_llama8batching20RuntimeStatsSnapshot21decodeTokensPerSecondEv",
@@ -335,6 +336,7 @@
335
336
  "__ZN14TextLlmContext30capturePreRequestCacheSnapshotEv",
336
337
  "__ZN30qvac_lib_inference_addon_llama8batching19MultiRequestBatcher15extractFinishedEv",
337
338
  "__ZN14MtmdLlmContext23cancelGenerationCleanupERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE",
339
+ "__ZN26LlamaLazyInitializeBackend7acquireERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_",
338
340
  "__ZN14TextLlmContext14requireSamplerEv",
339
341
  "__ZN19LlamaBackendsHandleC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_",
340
342
  "__ZN24llama_finetuning_helpers23checkpointStepDirectoryERKNS_23TrainingCheckpointStateEx",
@@ -377,16 +379,15 @@
377
379
  "__ZN14MtmdLlmContext16generateResponseERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE",
378
380
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler14failSlotLockedEjSt13exception_ptr",
379
381
  "__ZNK14LlamaFinetuner17isFinetuneRunningEv",
380
- "__ZN14MtmdLlmContextC2ER13common_paramsNSt3__110unique_ptrI18common_init_resultNS2_14default_deleteIS4_EEEE",
381
382
  "__ZN30qvac_lib_inference_addon_llama5utils21updateReasoningBufferERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS0_14ReasoningStateE",
382
383
  "__ZThn24_N10LlamaModelD1Ev",
383
384
  "__ZN17backend_selection23applyAdrenoRestrictionsERNS_20SplitDeviceSelectionERK13ModelMetaDatab",
384
385
  "__ZThn48_N14MtmdLlmContext20onGenerationFinishedERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE20GenerationStopReason",
385
386
  "__ZN14MtmdLlmContext13resetStopFlagEv",
387
+ "__ZNK30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler12parkedSeqIdsEv",
386
388
  "__ZN30qvac_lib_inference_addon_llama5utils24requireSnapshotDirectoryERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE",
387
389
  "__ZN24llama_finetuning_helpers24pauseCheckpointDirectoryERKNSt3__14__fs10filesystem4pathEx",
388
390
  "__Z21computeMediaLoadOrderRKNSt3__16vectorI12PlannedMediaNS_9allocatorIS1_EEEE",
389
- "__ZNK30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler12parkedSeqIdsEv",
390
391
  "__ZNK30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler9occupancyEv",
391
392
  "__ZThn48_N14MtmdLlmContext24captureHistoryCheckpointEi",
392
393
  "__ZThn32_N10LlamaModelD1Ev",
@@ -467,6 +468,7 @@
467
468
  "__ZN14TextLlmContext9loadCacheERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEb",
468
469
  "__ZN30qvac_lib_inference_addon_llama8batching7Request19isOptPrefillPendingERKNSt3__18optionalIS1_EE",
469
470
  "__ZN14MtmdLlmContext21applyGenerationParamsERK16GenerationParams",
471
+ "__ZN17image_pixel_limit11checkBufferEPKhmy",
470
472
  "__ZN10LlamaModel6reloadENSt3__18optionalI23FinetuneConfigOverridesEE",
471
473
  "__ZN14LlamaFinetuner18prepareEvalDatasetERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsE",
472
474
  "__ZNK13ModelMetaData12tryGetStringEPKc",
@@ -494,13 +496,14 @@
494
496
  "__ZN18AsyncWeightsLoader30extractIndividualStreamedFilesEv",
495
497
  "__ZN30qvac_lib_inference_addon_llama8batching20computeObservedStatsENSt3__16chrono10time_pointINS2_12steady_clockENS2_8durationIxNS1_5ratioILl1ELl1000000000EEEEEEERKNS0_7RequestENS1_8optionalI20GenerationStopReasonEE",
496
498
  "__ZN10LlamaModel15getCommonParamsEv",
499
+ "__ZN14MtmdLlmContextC2ERK13common_paramsRK15LlmModelContextP12mtmd_contextiiy",
497
500
  "__ZN30qvac_lib_inference_addon_llama5utils19getHarmonyCallTokenEP13llama_context",
498
501
  "__ZN30qvac_lib_inference_addon_llama5utils21SequenceStateSnapshotD2Ev",
499
- "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler5clearEv",
500
502
  "__ZNK30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler15hasValidDriverFEv",
501
- "__ZThn48_NK14MtmdLlmContext9saveCacheERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE",
503
+ "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler5clearEv",
502
504
  "__ZThn24_N10LlamaModel7processERKNSt3__13anyEy",
503
505
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler29serviceNextMediaSegmentLockedEPNSt3__111unique_lockINS2_5mutexEEE",
506
+ "__ZThn48_NK14MtmdLlmContext9saveCacheERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE",
504
507
  "__ZN30qvac_lib_inference_addon_llama5utils13isGemma4ModelEPK11llama_model",
505
508
  "__ZN10LlamaModel24validateCheckpointBudgetERNS_15ReloadableStateE",
506
509
  "__ZN22load_fit_normalization31validateMobileMultiDeviceConfigERKNSt3__113unordered_mapINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_NS0_4hashIS7_EENS0_8equal_toIS7_EENS5_INS0_4pairIKS7_S7_EEEEEE16llama_split_mode",
@@ -559,7 +562,6 @@
559
562
  "__ZN30qvac_lib_inference_addon_llama5utils21SequenceStateSnapshotC2EOS1_",
560
563
  "__ZN13ModelMetaData28FirstFileFromGgufStreamState7provideER13BorrowablePtrINSt3__115basic_streambufIcNS2_11char_traitsIcEEEEE",
561
564
  "__ZN10LlamaModel20isConcurrentEligibleERKNS_6PromptE",
562
- "__ZN14MtmdLlmContextC2ERK13common_paramsRK15LlmModelContextP12mtmd_contextii",
563
565
  "__ZNK30qvac_lib_inference_addon_llama8batching7Request15isAwaitingMediaEv",
564
566
  "__ZNK30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler15numActiveLockedEv",
565
567
  "__ZN10LlamaModelD1Ev",
@@ -570,19 +572,20 @@
570
572
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler6cancelEjy",
571
573
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler17resetRuntimeStatsEv",
572
574
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler16saveConversationERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE",
575
+ "__ZN14MtmdLlmContextC2ER13common_paramsNSt3__110unique_ptrI18common_init_resultNS2_14default_deleteIS4_EEEEy",
573
576
  "__ZN14TextLlmContext10resetStateEb",
574
- "__ZN24llama_finetuning_helpers15tokenizeDatasetEP13llama_contextRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE",
575
577
  "__ZThn48_N14MtmdLlmContext14preparePrefillERKNSt3__16vectorI15common_chat_msgNS0_9allocatorIS2_EEEERKNS1_I16common_chat_toolNS3_IS8_EEEERKNS1_INS1_IhNS3_IhEEEENS3_ISE_EEEERKNS1_I12PlannedMediaNS3_ISJ_EEEEbb",
576
- "__ZThn48_NK14TextLlmContext25getToolDefinitionsDroppedEv",
578
+ "__ZN24llama_finetuning_helpers15tokenizeDatasetEP13llama_contextRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE",
577
579
  "__ZN17backend_selection17tryMainGpuFromMapERNSt3__113unordered_mapINS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES7_NS0_4hashIS7_EENS0_8equal_toIS7_EENS5_INS0_4pairIKS7_S7_EEEEEE",
578
580
  "__ZN14LlamaFinetuner30setPausedCheckpointStateSharedENSt3__110shared_ptrIN24llama_finetuning_helpers23TrainingCheckpointStateEEE",
581
+ "__ZThn48_NK14TextLlmContext25getToolDefinitionsDroppedEv",
579
582
  "__ZN30qvac_lib_inference_addon_llama5utils21SequenceStateSnapshot14seedForTestingENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEi",
580
583
  "__ZN19LlamaBackendsHandleC1ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_",
581
584
  "__ZN10LlamaModel7processERKNSt3__13anyEy",
582
585
  "__ZN24llama_finetuning_helpers24resolveAdapterOutputPathERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsE",
583
- "__ZN24llama_finetuning_helpers14saveCheckpointEP16ggml_opt_contextRNS_23TrainingCheckpointStateE",
586
+ "__ZN17image_pixel_limit15readRegularFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE",
584
587
  "__ZN12CacheManager39discardActiveCacheIfBackingStoreMissingEv",
585
- "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler10workerLoopEv",
588
+ "__ZN24llama_finetuning_helpers14saveCheckpointEP16ggml_opt_contextRNS_23TrainingCheckpointStateE",
586
589
  "__Z34applyGenerationOverridesToSamplingR22common_params_samplingRiRK16GenerationParams",
587
590
  "__ZN10LlamaModel17setWeightsForFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEONS0_10unique_ptrINS0_15basic_streambufIcS3_EENS0_14default_deleteISB_EEEE",
588
591
  "__ZN30qvac_lib_inference_addon_llama5utils30createPrivateSnapshotDirectoryERKNSt3__14__fs10filesystem4pathE",
@@ -590,6 +593,8 @@
590
593
  "__ZN14TextLlmContext22configureReasoningTagsERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_RKNS0_8optionalIN30qvac_lib_inference_addon_llama5utils13ReasoningTagsEEE",
591
594
  "__ZN12CacheManager15hasTurnsToFlushEv",
592
595
  "__ZThn48_N14MtmdLlmContext18adoptResidentStateERKNSt3__16vectorIiNS0_9allocatorIiEEEE",
596
+ "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler10workerLoopEv",
597
+ "__ZN17image_pixel_limit9checkFileERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEy",
593
598
  "__ZN14MtmdLlmContext27resetToolDefinitionsDroppedEv",
594
599
  "__ZNK30qvac_lib_inference_addon_llama8batching19MultiRequestBatcher12chunkSizeForEj",
595
600
  "__ZNK14LlamaFinetuner30getPausedCheckpointStateSharedEv",
@@ -597,6 +602,7 @@
597
602
  "__ZThn48_N10LlamaModelD1Ev",
598
603
  "__ZThn48_N14TextLlmContext17onPrefillCompleteEim",
599
604
  "__ZN30qvac_lib_inference_addon_llama8batching24ContinuousBatchScheduler14flushForUnloadEv",
605
+ "_bare_get_module_name_v0",
600
606
  "__ZN14LlamaFinetuner22prepareTrainingDatasetERKN30qvac_lib_inference_addon_llama21LlamaFinetuningParamsE",
601
607
  "__ZNK30qvac_lib_inference_addon_llama8batching20RuntimeStatsSnapshot9elapsedMsEv",
602
608
  "__ZN14TextLlmContext13resetStopFlagEv",
@@ -640,14 +646,18 @@
640
646
  "__ZN14MtmdLlmContext13onSequenceEndERKNSt3__18functionIFvRKNS0_12basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEEEE"
641
647
  ],
642
648
  "weak": [
649
+ "__ZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask13onEnvTeardownIN30qvac_lib_inference_addon_llama9FitResultEEEvP22js_deferred_teardown_sPv",
643
650
  "__ZZZN28qvac_lib_inference_addon_cpp16OutputCallBackJs26initializeProcessingThreadENSt3__110shared_ptrINS_11OutputQueueEEEENKUlvE_clEvENUlP11uv_handle_sE_8__invokeES7_",
644
651
  "__ZN30qvac_lib_inference_addon_llama9assessFitEP8js_env_sP18js_callback_info_s",
645
652
  "__ZN30qvac_lib_inference_addon_llama6cancelEP8js_env_sP18js_callback_info_s",
653
+ "__ZN30qvac_lib_inference_addon_llama15fitResultObjectEP8js_env_sRKNS_9FitResultE",
646
654
  "__ZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask13onEnvTeardownINSt3__19monostateEEEvP22js_deferred_teardown_sPv",
647
655
  "__ZN30qvac_lib_inference_addon_llama11activeSlotsEP8js_env_sP18js_callback_info_s",
656
+ "__ZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask13onCloseHandleIN30qvac_lib_inference_addon_llama9FitResultEEEvP11uv_handle_s",
648
657
  "__ZN28qvac_lib_inference_addon_cpp6logger8JsLogger13asyncCallbackEP10uv_async_s",
649
658
  "__ZN28qvac_lib_inference_addon_cpp11JsInterface6cancelEP8js_env_sP18js_callback_info_s",
650
659
  "__ZN28qvac_lib_inference_addon_cpp11JsInterface10activeJobsEP8js_env_sP18js_callback_info_s",
660
+ "__ZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask10onCompleteIN30qvac_lib_inference_addon_llama9FitResultEEEvP10uv_async_s",
651
661
  "__ZZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask5startINSt3__19monostateEEEP10js_value_sP8js_env_sNS1_12CallbackDataIT_E4WorkENSB_7MarshalEENUlP11uv_handle_sE_8__invokeESF_",
652
662
  "__ZN30qvac_lib_inference_addon_llama12discardCacheEP8js_env_sP18js_callback_info_s",
653
663
  "__ZN30qvac_lib_inference_addon_llama8finetuneEP8js_env_sP18js_callback_info_s",
@@ -657,6 +667,7 @@
657
667
  "__ZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask10onCompleteINSt3__19monostateEEEvP10uv_async_s",
658
668
  "__ZZN28qvac_lib_inference_addon_cpp6logger8JsLogger22closeAsyncHandleLockedEvENUlP11uv_handle_sE_8__invokeES3_",
659
669
  "__ZN30qvac_lib_inference_addon_llama14createInstanceEP8js_env_sP18js_callback_info_s",
670
+ "__ZZN28qvac_lib_inference_addon_cpp2js11JsAsyncTask5startIN30qvac_lib_inference_addon_llama9FitResultEEEP10js_value_sP8js_env_sNS1_12CallbackDataIT_E4WorkENSB_7MarshalEENUlP11uv_handle_sE_8__invokeESF_",
660
671
  "__ZN30qvac_lib_inference_addon_llama6runJobEP8js_env_sP18js_callback_info_s",
661
672
  "__ZN30qvac_lib_inference_addon_llama9saveCacheEP8js_env_sP18js_callback_info_s",
662
673
  "__ZN28qvac_lib_inference_addon_cpp11JsInterface15destroyInstanceEP8js_env_sP18js_callback_info_s",