aboutsummaryrefslogtreecommitdiffstats
path: root/model-integration
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-09-14 22:09:14 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2021-09-14 22:09:14 +0200
commita8e46451d8fafced86defc98266d9ab351981549 (patch)
tree1827723fa9dfaccd8d3362cca3da6f673ef0806f /model-integration
parent42c6faf663e784765b6d881f3e2e73c81c989320 (diff)
Order importers by their increasing probing cost.
Diffstat (limited to 'model-integration')
-rw-r--r--model-integration/src/main/config/model-integration.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/model-integration/src/main/config/model-integration.xml b/model-integration/src/main/config/model-integration.xml
index 34f5f0ce31a..8b2fa28b9df 100644
--- a/model-integration/src/main/config/model-integration.xml
+++ b/model-integration/src/main/config/model-integration.xml
@@ -2,11 +2,12 @@
<!-- Component which can import some ml model.
This is included into the config server services.xml to enable it to translate
model pseudo features in ranking expressions during config model building.
+ The importers are order by the cost of their probing method, from cheap to expensive.
It is provided as separate bundles instead of being included in the config model
because some of these (TensorFlow) includes
JNI code, and so can only exist in one instance in the server. -->
+<component id="ai.vespa.rankingexpression.importer.vespa.VespaImporter" bundle="model-integration" />
<component id="ai.vespa.rankingexpression.importer.onnx.OnnxImporter" bundle="model-integration" />
<component id="ai.vespa.rankingexpression.importer.tensorflow.TensorFlowImporter" bundle="model-integration" />
<component id="ai.vespa.rankingexpression.importer.xgboost.XGBoostImporter" bundle="model-integration" />
<component id="ai.vespa.rankingexpression.importer.lightgbm.LightGBMImporter" bundle="model-integration" />
-<component id="ai.vespa.rankingexpression.importer.vespa.VespaImporter" bundle="model-integration" />