@camstack/addon-post-analysis 1.2.369 → 1.2.371
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/{clip-model-registry-C_-tWzrX.mjs → clip-model-registry-DnJSHCsn.mjs} +1620 -51
- package/dist/{clip-model-registry-E4CGZ8NR.js → clip-model-registry-aWakBGm3.js} +1643 -50
- package/dist/embedding-encoder/index.js +13 -2
- package/dist/embedding-encoder/index.mjs +13 -2
- package/dist/pipeline-analytics/_stub.js +752 -631
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Bac17NNv.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-DzBqyp65.mjs} +3 -3
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BRMRfKVO.mjs +26 -0
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CYfz4e5v.mjs +26 -0
- package/dist/pipeline-analytics/{hostInit-CMFNXHOl.mjs → hostInit-B83y5X7G.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +3158 -2001
- package/dist/pipeline-analytics/index.mjs +3189 -2032
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +5 -1
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DOGD-EFh.mjs +0 -26
- package/dist/pipeline-analytics/_virtual_mf___mfe_internal__addon_pipeline_analytics_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Bb1tsxlC.mjs +0 -26
|
@@ -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-aWakBGm3.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");
|
|
@@ -1036,10 +1036,21 @@ var EmbeddingEncoderAddon = class extends require_clip_model_registry.BaseAddon
|
|
|
1036
1036
|
});
|
|
1037
1037
|
/** Disposes NON-active text towers idle for `TEXT_ENGINE_IDLE_MS` (never prefetched). */
|
|
1038
1038
|
idleSweep = null;
|
|
1039
|
+
warnedUnknownConfigModel = false;
|
|
1039
1040
|
/** The cluster row's CLIP model — what an unnamed request encodes in (D649). */
|
|
1040
1041
|
activeModel = new ActiveClipModel({
|
|
1041
1042
|
readRow: () => this.readClusterRow(),
|
|
1042
|
-
fallbackModelId: () =>
|
|
1043
|
+
fallbackModelId: () => {
|
|
1044
|
+
if (require_clip_model_registry.BUILTIN_CLIP_MODELS.resolve(this.config.modelId) !== null) return this.config.modelId;
|
|
1045
|
+
if (!this.warnedUnknownConfigModel) {
|
|
1046
|
+
this.warnedUnknownConfigModel = true;
|
|
1047
|
+
this.ctx.logger.warn("CLIP encoder config names a model that is not in the catalog", { meta: {
|
|
1048
|
+
configured: this.config.modelId,
|
|
1049
|
+
using: require_clip_model_registry.DEFAULT_CLIP_MODEL
|
|
1050
|
+
} });
|
|
1051
|
+
}
|
|
1052
|
+
return require_clip_model_registry.DEFAULT_CLIP_MODEL;
|
|
1053
|
+
},
|
|
1043
1054
|
now: () => Date.now(),
|
|
1044
1055
|
logger: {
|
|
1045
1056
|
info: (message, extras) => this.ctx.logger.info(message, extras),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as PoolMemoryWatchdog, Ii as normalizeNodeId, Oi as BaseAddon, Rr as parseProcStatus, Xr as resolvePoolMemoryPolicy, a as CLIP_EMBEDDING_STEP_ID, i as CLIP_TEXT_MODELS, ir as embeddingModelFailedError, l as resolveClusterModelPin, n as DEFAULT_CLIP_MODEL, or as embeddingRequirementsFailedError, r as CLIP_IMAGE_MODELS, rr as embeddingEncoderCapability, sr as embeddingRequirementsUnavailableError, t as BUILTIN_CLIP_MODELS } from "../clip-model-registry-DnJSHCsn.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";
|
|
@@ -1044,10 +1044,21 @@ var EmbeddingEncoderAddon = class extends BaseAddon {
|
|
|
1044
1044
|
});
|
|
1045
1045
|
/** Disposes NON-active text towers idle for `TEXT_ENGINE_IDLE_MS` (never prefetched). */
|
|
1046
1046
|
idleSweep = null;
|
|
1047
|
+
warnedUnknownConfigModel = false;
|
|
1047
1048
|
/** The cluster row's CLIP model — what an unnamed request encodes in (D649). */
|
|
1048
1049
|
activeModel = new ActiveClipModel({
|
|
1049
1050
|
readRow: () => this.readClusterRow(),
|
|
1050
|
-
fallbackModelId: () =>
|
|
1051
|
+
fallbackModelId: () => {
|
|
1052
|
+
if (BUILTIN_CLIP_MODELS.resolve(this.config.modelId) !== null) return this.config.modelId;
|
|
1053
|
+
if (!this.warnedUnknownConfigModel) {
|
|
1054
|
+
this.warnedUnknownConfigModel = true;
|
|
1055
|
+
this.ctx.logger.warn("CLIP encoder config names a model that is not in the catalog", { meta: {
|
|
1056
|
+
configured: this.config.modelId,
|
|
1057
|
+
using: DEFAULT_CLIP_MODEL
|
|
1058
|
+
} });
|
|
1059
|
+
}
|
|
1060
|
+
return DEFAULT_CLIP_MODEL;
|
|
1061
|
+
},
|
|
1051
1062
|
now: () => Date.now(),
|
|
1052
1063
|
logger: {
|
|
1053
1064
|
info: (message, extras) => this.ctx.logger.info(message, extras),
|