From 3a7f629dd68727bd83dc70143c18984612ba06d7 Mon Sep 17 00:00:00 2001 From: caetano melone Date: Wed, 23 Oct 2024 18:47:55 -0300 Subject: [PATCH] remove reference to ensure_higher --- gantry/routes/prediction.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/gantry/routes/prediction.py b/gantry/routes/prediction.py index 97b80db..0d878b1 100644 --- a/gantry/routes/prediction.py +++ b/gantry/routes/prediction.py @@ -58,9 +58,6 @@ async def predict(db: aiosqlite.Connection, spec: dict) -> dict: # build jobs cannot be less than 1 predictions["build_jobs"] = max(1, round(predictions["cpu_request"])) - if strategy == "ensure_higher": - ensure_higher_pred(predictions, spec["pkg_name"]) - # convert predictions to k8s friendly format for k, v in predictions.items(): if k.startswith("cpu"):