From 6fae9aceb93209a02e728e76c2aba1754f4bbd79 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Wed, 20 Sep 2023 13:26:10 +0100 Subject: [PATCH] [ML] Assume ELSER v2 has the same memory requirement as ELSER v1 While we wait for our improved memory estimation functionality we can continue to use the same hardcoded ELSER memory requirement for v2 that we used for v1. The hardcoded value is likely an overestimate, but we don't have time to do anything better for the current release. --- .../StartTrainedModelDeploymentAction.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartTrainedModelDeploymentAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartTrainedModelDeploymentAction.java index b00dcfd731aee..ad9ab7088fef5 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartTrainedModelDeploymentAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/StartTrainedModelDeploymentAction.java @@ -62,11 +62,11 @@ public class StartTrainedModelDeploymentAction extends ActionType