@camstack/addon-post-analysis 1.2.330 → 1.2.332
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/THIRD_PARTY_MODELS.md +6 -30
- package/dist/{clip-model-registry-DQmmIYXS.js → clip-model-registry-CthiqMDB.js} +120 -254
- package/dist/{clip-model-registry-CGaaUvAD.mjs → clip-model-registry-cujWRWxP.mjs} +120 -254
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/_stub.js +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BNJdXVq8.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-BthiFwI_.mjs} +2 -2
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DxUsRAkr.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-Bj7szOak.mjs → hostInit-CR18-6F0.mjs} +2 -2
- package/dist/pipeline-analytics/index.js +487 -183
- package/dist/pipeline-analytics/index.mjs +487 -183
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-n9xCtjjZ.mjs +0 -26
|
@@ -11490,11 +11490,11 @@ var ModelVariantGroupSchema = object({
|
|
|
11490
11490
|
/** Quantization axis. Omit ⇒ the fp32 base build. */
|
|
11491
11491
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
11492
11492
|
/**
|
|
11493
|
-
*
|
|
11494
|
-
*
|
|
11495
|
-
*
|
|
11493
|
+
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
11494
|
+
* an alternate training of the same family (Scrypted `relu_test`); chip
|
|
11495
|
+
* label is "Test".
|
|
11496
11496
|
*/
|
|
11497
|
-
optimization: _enum(["standard", "
|
|
11497
|
+
optimization: _enum(["standard", "test"]).optional(),
|
|
11498
11498
|
/**
|
|
11499
11499
|
* Input-resolution axis (square input side, px). Omit ⇒ the family's native
|
|
11500
11500
|
* resolution (640 for yolo26). Reduced-input builds (320 / 256) are a big,
|
|
@@ -11517,9 +11517,10 @@ var ModelProviderIdSchema = _enum([
|
|
|
11517
11517
|
* are per upstream. A persisted custom-model row written when this field was a
|
|
11518
11518
|
* string still parses — the string is lifted into `{ weights }`.
|
|
11519
11519
|
*
|
|
11520
|
-
* Every licence surface (the
|
|
11521
|
-
*
|
|
11522
|
-
*
|
|
11520
|
+
* Every machine licence surface (`THIRD_PARTY_MODELS.md`, the Hugging Face
|
|
11521
|
+
* model table) is GENERATED from these records by
|
|
11522
|
+
* `scripts/gen-model-licenses.ts` (D661). Operator-facing docs live in
|
|
11523
|
+
* `camstack/docs` → `/docs/detection/models`.
|
|
11523
11524
|
*/
|
|
11524
11525
|
var ModelLicenseSchema = preprocess((value) => typeof value === "string" ? { weights: value } : value, object({
|
|
11525
11526
|
/** SPDX id of the WEIGHTS' terms, a `LicenseRef-*` for non-SPDX terms, or `UNKNOWN`. */
|
|
@@ -18354,7 +18355,7 @@ method(object({
|
|
|
18354
18355
|
timeoutMs: 6e5
|
|
18355
18356
|
});
|
|
18356
18357
|
method(object({
|
|
18357
|
-
|
|
18358
|
+
targetNodeId: string(),
|
|
18358
18359
|
modelId: string(),
|
|
18359
18360
|
format: _enum(MODEL_FORMATS),
|
|
18360
18361
|
entry: ModelCatalogEntrySchema
|
|
@@ -23217,39 +23218,19 @@ var CLUSTER_MODEL_SCOPED_STEPS = [{
|
|
|
23217
23218
|
label: "Face recognition model",
|
|
23218
23219
|
defaultModelId: "auraface-r100",
|
|
23219
23220
|
indexName: "the enrolled face gallery",
|
|
23220
|
-
options: [
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
|
|
23224
|
-
},
|
|
23225
|
-
{
|
|
23226
|
-
id: "arcface-r100",
|
|
23227
|
-
label: "ArcFace (ResNet34)"
|
|
23228
|
-
},
|
|
23229
|
-
{
|
|
23230
|
-
id: "inception-resnet-v1",
|
|
23231
|
-
label: "Inception ResNet V1"
|
|
23232
|
-
}
|
|
23233
|
-
]
|
|
23221
|
+
options: [{
|
|
23222
|
+
id: "auraface-r100",
|
|
23223
|
+
label: "AuraFace R100"
|
|
23224
|
+
}]
|
|
23234
23225
|
}, {
|
|
23235
23226
|
stepId: "clip-embedding",
|
|
23236
23227
|
label: "Semantic search model",
|
|
23237
|
-
defaultModelId: "
|
|
23228
|
+
defaultModelId: "siglip2-b16-224",
|
|
23238
23229
|
indexName: "the object semantic-search index",
|
|
23239
|
-
options: [
|
|
23240
|
-
|
|
23241
|
-
|
|
23242
|
-
|
|
23243
|
-
},
|
|
23244
|
-
{
|
|
23245
|
-
id: "mobileclip-s2",
|
|
23246
|
-
label: "MobileCLIP S2"
|
|
23247
|
-
},
|
|
23248
|
-
{
|
|
23249
|
-
id: "siglip2-b16-224",
|
|
23250
|
-
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
23251
|
-
}
|
|
23252
|
-
]
|
|
23230
|
+
options: [{
|
|
23231
|
+
id: "siglip2-b16-224",
|
|
23232
|
+
label: "SigLIP2 B/16 (Apache-2.0)"
|
|
23233
|
+
}]
|
|
23253
23234
|
}];
|
|
23254
23235
|
/**
|
|
23255
23236
|
* The settings key holding one step's cluster model choice.
|
|
@@ -36545,7 +36526,13 @@ var OsdStatusSchema = object({ overlays: array(object({
|
|
|
36545
36526
|
*/
|
|
36546
36527
|
availablePositions: array(OsdPositionEnum).readonly(),
|
|
36547
36528
|
/** Firmware does not allow editing the `text` field (e.g. timestamp). */
|
|
36548
|
-
readOnly: boolean().optional()
|
|
36529
|
+
readOnly: boolean().optional(),
|
|
36530
|
+
/**
|
|
36531
|
+
* Firmware text ceiling for this overlay. Absent = no known limit.
|
|
36532
|
+
* The OSD manager truncates here on every write — never stores its own
|
|
36533
|
+
* copy on the binding.
|
|
36534
|
+
*/
|
|
36535
|
+
maxCharacters: number().int().positive().optional()
|
|
36549
36536
|
})).readonly() });
|
|
36550
36537
|
var OsdOverlayPatchSchema = object({
|
|
36551
36538
|
enabled: boolean().optional(),
|
|
@@ -36596,7 +36583,9 @@ var OsdTemplateBindingSchema = object({
|
|
|
36596
36583
|
valuePath: string().min(1).max(64),
|
|
36597
36584
|
/** Convert TO this unit at render (`tryConvertUnit`). Absent = source unit. */
|
|
36598
36585
|
displayUnit: string().max(16).optional(),
|
|
36599
|
-
maxDecimals: number().int().min(0).max(4).default(1)
|
|
36586
|
+
maxDecimals: number().int().min(0).max(4).default(1),
|
|
36587
|
+
/** Raw value → display text (same shape as slot binding). Empty string hides. */
|
|
36588
|
+
valueMap: record(string(), string()).optional()
|
|
36600
36589
|
});
|
|
36601
36590
|
/**
|
|
36602
36591
|
* A named template: bindings (alias → leaf field) + a parser that
|
|
@@ -36646,18 +36635,11 @@ var OsdSlotBindingSchema = object({
|
|
|
36646
36635
|
source: OsdSourceSchema,
|
|
36647
36636
|
/** `${value}` and `${unit}` are substituted; every occurrence. */
|
|
36648
36637
|
template: string().max(96).default("${value}"),
|
|
36649
|
-
/** Truncate with an ellipsis past this length. Absent = no limit. */
|
|
36650
|
-
maxCharacters: number().int().min(4).max(64).optional(),
|
|
36651
36638
|
/**
|
|
36652
36639
|
* Decimal places for a numeric value. `0` yields an integer — the
|
|
36653
36640
|
* documented workaround for firmwares that reject `.` in overlay text.
|
|
36654
36641
|
*/
|
|
36655
36642
|
maxDecimals: number().int().min(0).max(4).default(1),
|
|
36656
|
-
/**
|
|
36657
|
-
* Appended via `${unit}` when no unit conversion produces a label.
|
|
36658
|
-
* Prefer `source.displayUnit` for converted device-state values.
|
|
36659
|
-
*/
|
|
36660
|
-
unitLabel: string().max(8).optional(),
|
|
36661
36643
|
/** Raw value → display text, e.g. `{"true":"MOTION","false":""}`. */
|
|
36662
36644
|
valueMap: record(string(), string()).optional(),
|
|
36663
36645
|
/** Time windows in which the slot is shown. Absent = always. */
|
|
@@ -36666,9 +36648,7 @@ var OsdSlotBindingSchema = object({
|
|
|
36666
36648
|
* Display gate, in the notification centre's condition vocabulary.
|
|
36667
36649
|
* Only the keys reported by `getConditionSupport` are accepted.
|
|
36668
36650
|
*/
|
|
36669
|
-
conditions: NcConditionsSchema.optional()
|
|
36670
|
-
/** Rendered when the gate is closed or the value unreadable. Empty = hide. */
|
|
36671
|
-
fallbackText: string().max(64).default("")
|
|
36651
|
+
conditions: NcConditionsSchema.optional()
|
|
36672
36652
|
});
|
|
36673
36653
|
/** One camera slot, as the operator sees it: firmware truth + our binding. */
|
|
36674
36654
|
var OsdSlotViewSchema = object({
|
|
@@ -55985,7 +55965,7 @@ var NC_TEMPLATE_VARS = [
|
|
|
55985
55965
|
{
|
|
55986
55966
|
name: "devices",
|
|
55987
55967
|
label: "Devices",
|
|
55988
|
-
description: "node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / refusal: HOW MANY devices are armed (or open).",
|
|
55968
|
+
description: "node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / arming / refusal: HOW MANY devices are armed (or open).",
|
|
55989
55969
|
example: "Ingresso, Garage",
|
|
55990
55970
|
group: "system",
|
|
55991
55971
|
families: ["rule"],
|
|
@@ -55994,6 +55974,7 @@ var NC_TEMPLATE_VARS = [
|
|
|
55994
55974
|
systemEventKinds: [
|
|
55995
55975
|
"node-inference-unavailable",
|
|
55996
55976
|
"alarm-armed",
|
|
55977
|
+
"alarm-arming",
|
|
55997
55978
|
"alarm-arm-refused"
|
|
55998
55979
|
]
|
|
55999
55980
|
},
|
|
@@ -56214,18 +56195,18 @@ var NC_TEMPLATE_VARS = [
|
|
|
56214
56195
|
{
|
|
56215
56196
|
name: "rules",
|
|
56216
56197
|
label: "Covering rules",
|
|
56217
|
-
description: "How many enabled rules the armed mode gates.",
|
|
56198
|
+
description: "How many enabled rules the armed / arming mode gates.",
|
|
56218
56199
|
example: "2",
|
|
56219
56200
|
group: "system",
|
|
56220
56201
|
families: ["rule"],
|
|
56221
56202
|
fields: [...RULE_TEXT],
|
|
56222
56203
|
kinds: ["system"],
|
|
56223
|
-
systemEventKinds: ["alarm-armed"]
|
|
56204
|
+
systemEventKinds: ["alarm-armed", "alarm-arming"]
|
|
56224
56205
|
},
|
|
56225
56206
|
{
|
|
56226
56207
|
name: "names",
|
|
56227
56208
|
label: "Device names",
|
|
56228
|
-
description: "Armed: the devices
|
|
56209
|
+
description: "Armed / arming: the Active devices (or every skipped name when none are Active). Refusal: the open sensors.",
|
|
56229
56210
|
example: "Ingresso, Garage",
|
|
56230
56211
|
group: "system",
|
|
56231
56212
|
families: ["rule"],
|
|
@@ -56246,7 +56227,29 @@ var NC_TEMPLATE_VARS = [
|
|
|
56246
56227
|
families: ["rule"],
|
|
56247
56228
|
fields: [...RULE_TEXT],
|
|
56248
56229
|
kinds: ["system"],
|
|
56249
|
-
systemEventKinds: ["alarm-armed"]
|
|
56230
|
+
systemEventKinds: ["alarm-armed", "alarm-arming"]
|
|
56231
|
+
},
|
|
56232
|
+
{
|
|
56233
|
+
name: "active",
|
|
56234
|
+
label: "Active count",
|
|
56235
|
+
description: "How many named devices the armed / arming mode is watching (title: n attivi / n active).",
|
|
56236
|
+
example: "3",
|
|
56237
|
+
group: "system",
|
|
56238
|
+
families: ["rule"],
|
|
56239
|
+
fields: [...RULE_TEXT],
|
|
56240
|
+
kinds: ["system"],
|
|
56241
|
+
systemEventKinds: ["alarm-armed", "alarm-arming"]
|
|
56242
|
+
},
|
|
56243
|
+
{
|
|
56244
|
+
name: "skipped",
|
|
56245
|
+
label: "Skipped count",
|
|
56246
|
+
description: "How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).",
|
|
56247
|
+
example: "1",
|
|
56248
|
+
group: "system",
|
|
56249
|
+
families: ["rule"],
|
|
56250
|
+
fields: [...RULE_TEXT],
|
|
56251
|
+
kinds: ["system"],
|
|
56252
|
+
systemEventKinds: ["alarm-armed", "alarm-arming"]
|
|
56250
56253
|
},
|
|
56251
56254
|
{
|
|
56252
56255
|
name: "bypassedNames",
|
|
@@ -57923,23 +57926,8 @@ async function readClusterModelPinStrict(api, stepId) {
|
|
|
57923
57926
|
reason: choice.reason
|
|
57924
57927
|
};
|
|
57925
57928
|
}
|
|
57926
|
-
|
|
57927
|
-
|
|
57928
|
-
code: "MIT",
|
|
57929
|
-
upstream: {
|
|
57930
|
-
name: "Apple ml-mobileclip",
|
|
57931
|
-
url: "https://github.com/apple/ml-mobileclip"
|
|
57932
|
-
},
|
|
57933
|
-
url: "https://github.com/apple/ml-mobileclip/blob/main/LICENSE_MODELS",
|
|
57934
|
-
attribution: "Apple Machine Learning Research Model is licensed under the Apple Machine Learning Research Model License Agreement.",
|
|
57935
|
-
modifications: "model derivative: vision encoders converted to OpenVINO IR and CoreML FP16",
|
|
57936
|
-
hosting: "camstack-hf",
|
|
57937
|
-
nonCommercial: true
|
|
57938
|
-
};
|
|
57939
|
-
var APPLE_MOBILECLIP_TEXT_AMLR = {
|
|
57940
|
-
...APPLE_MOBILECLIP_AMLR,
|
|
57941
|
-
modifications: "model derivative: text encoders quantised to INT8 ONNX and converted to OpenVINO IR"
|
|
57942
|
-
};
|
|
57929
|
+
//#endregion
|
|
57930
|
+
//#region src/embedding-encoder/catalogs/model-licenses.ts
|
|
57943
57931
|
var SIGLIP2_APACHE = {
|
|
57944
57932
|
weights: "Apache-2.0",
|
|
57945
57933
|
code: "Apache-2.0",
|
|
@@ -57965,13 +57953,11 @@ var SIGLIP2_TEXT_APACHE = {
|
|
|
57965
57953
|
var HF_REPO = "camstack/camstack-models";
|
|
57966
57954
|
var hf = (path) => hfModelUrl(HF_REPO, path);
|
|
57967
57955
|
/**
|
|
57968
|
-
*
|
|
57969
|
-
* text-encoder onnx
|
|
57970
|
-
* it lands beside the model.
|
|
57971
|
-
*
|
|
57956
|
+
* SigLIP2's tokenizer (HF `tokenizers` format, Gemma SentencePiece, 256k,
|
|
57957
|
+
* lower-casing), hosted next to the text-encoder onnx and fetched as a sibling
|
|
57958
|
+
* file so it lands beside the model. It has its own file name on purpose: see
|
|
57959
|
+
* `ClipModelMeta.tokenizerFile`.
|
|
57972
57960
|
*/
|
|
57973
|
-
var TOKENIZER_FILE = "tokenizer.json";
|
|
57974
|
-
/** SigLIP2's tokenizer — a DIFFERENT file name on purpose: see `ClipModelMeta.tokenizerFile`. */
|
|
57975
57961
|
var SIGLIP2_TOKENIZER_FILE = "camstack-siglip2-b16-224-tokenizer.json";
|
|
57976
57962
|
var ovFormat = (url, sizeMB) => {
|
|
57977
57963
|
const base = url.split("/").pop() ?? "";
|
|
@@ -57984,195 +57970,75 @@ var ovFormat = (url, sizeMB) => {
|
|
|
57984
57970
|
};
|
|
57985
57971
|
};
|
|
57986
57972
|
/**
|
|
57987
|
-
* Files inside an .mlpackage directory bundle.
|
|
57988
|
-
* Must be fetched alongside the package root when isDirectory is true.
|
|
57989
|
-
*/
|
|
57990
|
-
var MLPACKAGE_FILES = [
|
|
57991
|
-
"Manifest.json",
|
|
57992
|
-
"Data/com.apple.CoreML/model.mlmodel",
|
|
57993
|
-
"Data/com.apple.CoreML/weights/weight.bin"
|
|
57994
|
-
];
|
|
57995
|
-
/**
|
|
57996
|
-
* The MobileCLIP feature-space contract (D649 — see `clip-model.ts` in
|
|
57997
|
-
* `@camstack/types`). S1 and S2 share the historical 512-d `object-clip` index,
|
|
57998
|
-
* separated by each row's `modelId`; the CLIP BPE window is 77 tokens padded
|
|
57999
|
-
* with 0; 0.2 is the floor the search always shipped with, measured to keep 96%
|
|
58000
|
-
* of matched COCO caption-image pairs on S1.
|
|
58001
|
-
*/
|
|
58002
|
-
var mobileclipMeta = (textModelId) => ({
|
|
58003
|
-
textModelId,
|
|
58004
|
-
embeddingDim: 512,
|
|
58005
|
-
vectorIndex: "object-clip",
|
|
58006
|
-
tokenizerFile: TOKENIZER_FILE,
|
|
58007
|
-
contextLength: 77,
|
|
58008
|
-
padId: 0,
|
|
58009
|
-
searchMinScore: .2
|
|
58010
|
-
});
|
|
58011
|
-
/**
|
|
58012
|
-
* SigLIP2 B/16-224 (D649). 768-d, so its OWN index; a 64-token Gemma
|
|
58013
|
-
* SentencePiece window padded with 0 (the hosted `tokenizer.json` lower-cases,
|
|
58014
|
-
* see `scripts/build-siglip2-model.py`). The floor is SIGLIP2_SEARCH_MIN_SCORE.
|
|
58015
|
-
*/
|
|
58016
|
-
var SIGLIP2_META = {
|
|
58017
|
-
textModelId: "siglip2-b16-224-text",
|
|
58018
|
-
embeddingDim: 768,
|
|
58019
|
-
vectorIndex: "object-clip-siglip2-b16-224",
|
|
58020
|
-
tokenizerFile: SIGLIP2_TOKENIZER_FILE,
|
|
58021
|
-
contextLength: 64,
|
|
58022
|
-
padId: 0,
|
|
58023
|
-
searchMinScore: .1
|
|
58024
|
-
};
|
|
58025
|
-
/**
|
|
58026
57973
|
* NO onnx vision builds, deliberately (2026-08-21). The int8 ONNX vision
|
|
58027
57974
|
* exports were measured misaligned with the text encoders (matched image↔text
|
|
58028
57975
|
* cosine ≈ 0.01 vs ≈ 0.22 for the fp16 openvino/coreml builds) — see the
|
|
58029
57976
|
* catalog note in `addon-pipeline/.../model-catalogs.ts`. The image-encode leg
|
|
58030
57977
|
* that consumed them here (`embeddingEncoder.encode` → PythonRawTensorEngine)
|
|
58031
|
-
* is retired with them
|
|
58032
|
-
*
|
|
58033
|
-
*
|
|
58034
|
-
|
|
58035
|
-
|
|
58036
|
-
|
|
58037
|
-
|
|
58038
|
-
|
|
58039
|
-
|
|
58040
|
-
|
|
58041
|
-
|
|
58042
|
-
|
|
58043
|
-
|
|
58044
|
-
|
|
58045
|
-
|
|
58046
|
-
|
|
58047
|
-
|
|
58048
|
-
|
|
58049
|
-
|
|
58050
|
-
|
|
58051
|
-
|
|
58052
|
-
|
|
58053
|
-
|
|
58054
|
-
|
|
58055
|
-
|
|
58056
|
-
|
|
58057
|
-
|
|
58058
|
-
|
|
58059
|
-
|
|
58060
|
-
|
|
58061
|
-
|
|
58062
|
-
|
|
58063
|
-
|
|
58064
|
-
|
|
58065
|
-
|
|
58066
|
-
|
|
58067
|
-
|
|
58068
|
-
labels: [],
|
|
58069
|
-
inputNormalization: "none",
|
|
58070
|
-
clip: mobileclipMeta("mobileclip-s2-text"),
|
|
58071
|
-
formats: {
|
|
58072
|
-
openvino: ovFormat(hf("clip/mobileclip-s2/openvino/camstack-mobileclip-s2-vision.xml"), 90),
|
|
58073
|
-
coreml: {
|
|
58074
|
-
url: hf("clip/mobileclip-s2/coreml/camstack-mobileclip-s2-vision.mlpackage"),
|
|
58075
|
-
sizeMB: 110,
|
|
58076
|
-
isDirectory: true,
|
|
58077
|
-
files: [...MLPACKAGE_FILES],
|
|
58078
|
-
runtimes: ["python"]
|
|
58079
|
-
}
|
|
58080
|
-
}
|
|
58081
|
-
},
|
|
58082
|
-
{
|
|
58083
|
-
id: "siglip2-b16-224",
|
|
58084
|
-
license: SIGLIP2_APACHE,
|
|
58085
|
-
name: "SigLIP2 B/16",
|
|
58086
|
-
description: "Google SigLIP2 base, patch 16, 224×224 — Apache-2.0 vision encoder, 768-dim (fp16 OpenVINO/CoreML)",
|
|
58087
|
-
inputSize: {
|
|
58088
|
-
width: 224,
|
|
58089
|
-
height: 224
|
|
58090
|
-
},
|
|
58091
|
-
labels: [],
|
|
58092
|
-
inputNormalization: "none",
|
|
58093
|
-
clip: SIGLIP2_META,
|
|
58094
|
-
formats: {
|
|
58095
|
-
openvino: ovFormat(hf("clip/siglip2/openvino/camstack-siglip2-b16-224-vision.xml"), 186),
|
|
58096
|
-
coreml: {
|
|
58097
|
-
url: hf("clip/siglip2/coreml/camstack-siglip2-b16-224-vision.mlpackage"),
|
|
58098
|
-
sizeMB: 185,
|
|
58099
|
-
isDirectory: true,
|
|
58100
|
-
files: [...MLPACKAGE_FILES],
|
|
58101
|
-
runtimes: ["python"]
|
|
58102
|
-
}
|
|
57978
|
+
* is retired with them.
|
|
57979
|
+
*
|
|
57980
|
+
* SigLIP2 is the SOLE survivor: MobileCLIP S0/S1/S2 (Apple AMLR, non-commercial)
|
|
57981
|
+
* left the catalog and the cluster for good (D703).
|
|
57982
|
+
*/
|
|
57983
|
+
var CLIP_IMAGE_MODELS = [{
|
|
57984
|
+
id: "siglip2-b16-224",
|
|
57985
|
+
license: SIGLIP2_APACHE,
|
|
57986
|
+
name: "SigLIP2 B/16",
|
|
57987
|
+
description: "Google SigLIP2 base, patch 16, 224×224 — Apache-2.0 vision encoder, 768-dim (fp16 OpenVINO/CoreML)",
|
|
57988
|
+
inputSize: {
|
|
57989
|
+
width: 224,
|
|
57990
|
+
height: 224
|
|
57991
|
+
},
|
|
57992
|
+
labels: [],
|
|
57993
|
+
inputNormalization: "none",
|
|
57994
|
+
clip: {
|
|
57995
|
+
textModelId: "siglip2-b16-224-text",
|
|
57996
|
+
embeddingDim: 768,
|
|
57997
|
+
vectorIndex: "object-clip-siglip2-b16-224",
|
|
57998
|
+
tokenizerFile: SIGLIP2_TOKENIZER_FILE,
|
|
57999
|
+
contextLength: 64,
|
|
58000
|
+
padId: 0,
|
|
58001
|
+
searchMinScore: .1
|
|
58002
|
+
},
|
|
58003
|
+
formats: {
|
|
58004
|
+
openvino: ovFormat(hf("clip/siglip2/openvino/camstack-siglip2-b16-224-vision.xml"), 186),
|
|
58005
|
+
coreml: {
|
|
58006
|
+
url: hf("clip/siglip2/coreml/camstack-siglip2-b16-224-vision.mlpackage"),
|
|
58007
|
+
sizeMB: 185,
|
|
58008
|
+
isDirectory: true,
|
|
58009
|
+
files: [...[
|
|
58010
|
+
"Manifest.json",
|
|
58011
|
+
"Data/com.apple.CoreML/model.mlmodel",
|
|
58012
|
+
"Data/com.apple.CoreML/weights/weight.bin"
|
|
58013
|
+
]],
|
|
58014
|
+
runtimes: ["python"]
|
|
58103
58015
|
}
|
|
58104
58016
|
}
|
|
58105
|
-
];
|
|
58106
|
-
/**
|
|
58107
|
-
|
|
58108
|
-
|
|
58109
|
-
|
|
58110
|
-
|
|
58111
|
-
|
|
58112
|
-
|
|
58113
|
-
|
|
58114
|
-
|
|
58115
|
-
|
|
58116
|
-
|
|
58117
|
-
|
|
58118
|
-
|
|
58119
|
-
|
|
58120
|
-
|
|
58121
|
-
|
|
58122
|
-
},
|
|
58123
|
-
labels: [],
|
|
58124
|
-
formats: {
|
|
58125
|
-
onnx: {
|
|
58126
|
-
url: hf("clip/mobileclip-s1/onnx/camstack-mobileclip-s1-text.onnx"),
|
|
58127
|
-
sizeMB: 61,
|
|
58128
|
-
files: [TOKENIZER_FILE]
|
|
58129
|
-
},
|
|
58130
|
-
openvino: ovFormat(hf("clip/mobileclip-s1/openvino/camstack-mobileclip-s1-text.xml"), 121)
|
|
58131
|
-
}
|
|
58132
|
-
},
|
|
58133
|
-
{
|
|
58134
|
-
id: "mobileclip-s2-text",
|
|
58135
|
-
license: APPLE_MOBILECLIP_TEXT_AMLR,
|
|
58136
|
-
name: "MobileCLIP S2 Text Encoder",
|
|
58137
|
-
description: "Text encoder for MobileCLIP S2, 512-dim, int8 quantized (61 MB)",
|
|
58138
|
-
inputSize: {
|
|
58139
|
-
width: 0,
|
|
58140
|
-
height: 0
|
|
58141
|
-
},
|
|
58142
|
-
labels: [],
|
|
58143
|
-
formats: {
|
|
58144
|
-
onnx: {
|
|
58145
|
-
url: hf("clip/mobileclip-s2/onnx/camstack-mobileclip-s2-text.onnx"),
|
|
58146
|
-
sizeMB: 61,
|
|
58147
|
-
files: [TOKENIZER_FILE]
|
|
58148
|
-
},
|
|
58149
|
-
openvino: ovFormat(hf("clip/mobileclip-s2/openvino/camstack-mobileclip-s2-text.xml"), 121)
|
|
58150
|
-
}
|
|
58151
|
-
},
|
|
58152
|
-
{
|
|
58153
|
-
id: "siglip2-b16-224-text",
|
|
58154
|
-
license: SIGLIP2_TEXT_APACHE,
|
|
58155
|
-
name: "SigLIP2 B/16 Text Encoder",
|
|
58156
|
-
description: "Text encoder for SigLIP2 B/16, 768-dim, fp16 (565 MB)",
|
|
58157
|
-
inputSize: {
|
|
58158
|
-
width: 0,
|
|
58159
|
-
height: 0
|
|
58017
|
+
}];
|
|
58018
|
+
/** The text tower of the one CLIP model (fp16 onnx, aligned with the fp16 vision space). */
|
|
58019
|
+
var CLIP_TEXT_MODELS = [{
|
|
58020
|
+
id: "siglip2-b16-224-text",
|
|
58021
|
+
license: SIGLIP2_TEXT_APACHE,
|
|
58022
|
+
name: "SigLIP2 B/16 Text Encoder",
|
|
58023
|
+
description: "Text encoder for SigLIP2 B/16, 768-dim, fp16 (565 MB)",
|
|
58024
|
+
inputSize: {
|
|
58025
|
+
width: 0,
|
|
58026
|
+
height: 0
|
|
58027
|
+
},
|
|
58028
|
+
labels: [],
|
|
58029
|
+
formats: {
|
|
58030
|
+
onnx: {
|
|
58031
|
+
url: hf("clip/siglip2/onnx/camstack-siglip2-b16-224-text.onnx"),
|
|
58032
|
+
sizeMB: 565,
|
|
58033
|
+
files: [SIGLIP2_TOKENIZER_FILE]
|
|
58160
58034
|
},
|
|
58161
|
-
|
|
58162
|
-
formats: {
|
|
58163
|
-
onnx: {
|
|
58164
|
-
url: hf("clip/siglip2/onnx/camstack-siglip2-b16-224-text.onnx"),
|
|
58165
|
-
sizeMB: 565,
|
|
58166
|
-
files: [SIGLIP2_TOKENIZER_FILE]
|
|
58167
|
-
},
|
|
58168
|
-
openvino: ovFormat(hf("clip/siglip2/openvino/camstack-siglip2-b16-224-text.xml"), 565)
|
|
58169
|
-
}
|
|
58035
|
+
openvino: ovFormat(hf("clip/siglip2/openvino/camstack-siglip2-b16-224-text.xml"), 565)
|
|
58170
58036
|
}
|
|
58171
|
-
];
|
|
58037
|
+
}];
|
|
58172
58038
|
//#endregion
|
|
58173
58039
|
//#region src/shared/clip/clip-model-registry.ts
|
|
58174
58040
|
/** The model in force when nobody has chosen — the cluster row's default. */
|
|
58175
|
-
var DEFAULT_CLIP_MODEL = "
|
|
58041
|
+
var DEFAULT_CLIP_MODEL = "siglip2-b16-224";
|
|
58176
58042
|
/**
|
|
58177
58043
|
* Build a registry from catalog entries. Throws when two models share an index
|
|
58178
58044
|
* at different dimensions: that is a catalog defect, and the vector store would
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_clip_model_registry = require("../clip-model-registry-
|
|
5
|
+
const require_clip_model_registry = require("../clip-model-registry-CthiqMDB.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_clip_model_registry.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as resolvePoolMemoryPolicy, Jt as PoolMemoryWatchdog, Kn as embeddingRequirementsFailedError, Un as embeddingEncoderCapability, Wn as embeddingModelFailedError, a as CLIP_EMBEDDING_STEP_ID, br as parseProcStatus, c as resolveClusterModelPin, fi as normalizeNodeId, i as CLIP_TEXT_MODELS, ii as BaseAddon, n as DEFAULT_CLIP_MODEL, qn as embeddingRequirementsUnavailableError, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS } from "../clip-model-registry-
|
|
1
|
+
import { Ar as resolvePoolMemoryPolicy, Jt as PoolMemoryWatchdog, Kn as embeddingRequirementsFailedError, Un as embeddingEncoderCapability, Wn as embeddingModelFailedError, a as CLIP_EMBEDDING_STEP_ID, br as parseProcStatus, c as resolveClusterModelPin, fi as normalizeNodeId, i as CLIP_TEXT_MODELS, ii as BaseAddon, n as DEFAULT_CLIP_MODEL, qn as embeddingRequirementsUnavailableError, r as CLIP_IMAGE_MODELS, t as BUILTIN_CLIP_MODELS } from "../clip-model-registry-cujWRWxP.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, o as r, r as i, t as a } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react__loadShare__.js-C0AuF9av.mjs";
|
|
2
2
|
import { t as o } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B3Wx5J80.mjs";
|
|
3
|
-
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-
|
|
3
|
+
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DxUsRAkr.mjs";
|
|
4
4
|
import { n as m, r as h, t as g } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-Bm-iyjmq.mjs";
|
|
5
5
|
import { t as _ } from "./_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BdFzCOK8.mjs";
|
|
6
6
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.304",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.231",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|