aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2023-05-09 09:49:40 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2023-05-09 13:02:43 +0200
commit372bd2c677bb9707c55a9153f860fb2017ce6ffc (patch)
tree064bccc8e96f496e76ac5be148ab2f91e65c5ed7 /configdefinitions
parent9a41de7b23dce838df8a8ebac42fc41da3478bb9 (diff)
Reapply "Bjorncs/embedder onnx gpu"
Updated model-integration to depend on configdefinitions instead of searchcore as OnnxModelsConfig is moved there.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/onnx-models.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/onnx-models.def b/configdefinitions/src/vespa/onnx-models.def
index b8f5d319075..67a83e2afb7 100644
--- a/configdefinitions/src/vespa/onnx-models.def
+++ b/configdefinitions/src/vespa/onnx-models.def
@@ -1,6 +1,9 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.search.core
+# Number of GPUs available for ONNX evaluation, or -1 if unknown.
+gpu.count int default=-1
+
model[].name string
model[].fileref file
model[].input[].name string