From be61668aa6d6bd577df65f817f48df2b004e0434 Mon Sep 17 00:00:00 2001 From: wt Date: Fri, 1 Oct 2021 09:25:50 +0800 Subject: [PATCH] [skip ci] Add condition of milvus limit deploy on benchmark (#9004) Signed-off-by: wangting0128 --- tests/benchmark/milvus_benchmark/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmark/milvus_benchmark/update.py b/tests/benchmark/milvus_benchmark/update.py index e0b90c5875..3b479abc35 100644 --- a/tests/benchmark/milvus_benchmark/update.py +++ b/tests/benchmark/milvus_benchmark/update.py @@ -75,7 +75,7 @@ def update_values(src_values_file, deploy_params_file): cpus = res["cpus"] mems = res["mems"] gpus = res["gpus"] - if cpus: + if cpus and mems: # Set the scope of cpu application according to the configuration resources = { "limits": {