diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-02-27 17:02:23 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-02-27 18:13:08 +0100 |
commit | 5271b5d7241aa2aa2538b2072b8cae9b8f3d689a (patch) | |
tree | 12f025b12e86e5f9490b74dd2cae68283f779e67 /model-integration/pom.xml | |
parent | 6b40c6053b8542ae20a5bbe669f84f2d478fd697 (diff) |
Replace `OnnxEvaluatorCache` with OnnxRuntime
Require an `OnnxRuntime` instance to create `OnnxEvaluator` instances.
Cache underlying `OrtSession` instead of `OnnxEvaluator`.
Move static helpers for checking Onnx runtime availability from `OnnxEvaluator` to `OnnxRuntime`.
Diffstat (limited to 'model-integration/pom.xml')
-rw-r--r-- | model-integration/pom.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/model-integration/pom.xml b/model-integration/pom.xml index 8f26758cf65..9bb60827a68 100644 --- a/model-integration/pom.xml +++ b/model-integration/pom.xml @@ -69,6 +69,12 @@ <scope>provided</scope> </dependency> <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>component</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <scope>provided</scope> |