diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-06-23 11:34:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-23 11:34:47 +0200 |
commit | fda49cb2e088c53200fe4153a8eb3cad725e8941 (patch) | |
tree | 98d4c58d37c9e8d7bc71f07d5e6ce5a417b55a35 /config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java | |
parent | 47596dd5b3745d91026cdae9140fcefde0303ddd (diff) | |
parent | aecf4b2d38f185400ae3a44a2b716f04c1a2c6d3 (diff) |
Merge pull request #18376 from vespa-engine/balder/feature-flag-for-onnx-runtime-check-during-deploy
Add feature falg for controlling onnx dryrun verification.
Diffstat (limited to 'config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java')
-rw-r--r-- | config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java index fe1bf93f32b..c62dc6e4631 100644 --- a/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java +++ b/config-model/src/main/java/com/yahoo/config/model/deploy/TestProperties.java @@ -63,6 +63,7 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea private int maxMergeQueueSize = 1024; private int largeRankExpressionLimit = 0x10000; private boolean allowDisableMtls = true; + private boolean dryRunOnnxOnSetup = false; private List<X509Certificate> operatorCertificates = Collections.emptyList(); @Override public ModelContext.FeatureFlags featureFlags() { return this; } @@ -107,7 +108,12 @@ public class TestProperties implements ModelContext.Properties, ModelContext.Fea @Override public int largeRankExpressionLimit() { return largeRankExpressionLimit; } @Override public int maxConcurrentMergesPerNode() { return maxConcurrentMergesPerNode; } @Override public int maxMergeQueueSize() { return maxMergeQueueSize; } + @Override public boolean dryRunOnnxOnSetup() { return dryRunOnnxOnSetup; } + public TestProperties setDryRunOnnxOnSetup(boolean value) { + dryRunOnnxOnSetup = value; + return this; + } public TestProperties useExternalRankExpression(boolean value) { useExternalRankExpression = value; return this; |