diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-02-22 11:51:06 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-02-22 12:04:35 +0100 |
commit | 7d69590e78f7e29dd7288a401e71732211a3b5dd (patch) | |
tree | 74286f892f873ee0309a72529447f2e575cbb15e /model-integration/pom.xml | |
parent | c5513d25475c78ce6a3ecd5e03b278f3eebca481 (diff) |
Cache Onnx model instances
Manage lifecycle of OnnxEvaluator instances explicitly to allow
instances to be cached without use WeakHashmap/finalizers.
Inject shared Onnx model cache in ModelsEvaluator.
Diffstat (limited to 'model-integration/pom.xml')
-rw-r--r-- | model-integration/pom.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/model-integration/pom.xml b/model-integration/pom.xml index 1302984a314..8f26758cf65 100644 --- a/model-integration/pom.xml +++ b/model-integration/pom.xml @@ -105,6 +105,21 @@ <scope>test</scope> </dependency> <dependency> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <scope>test</scope> |