Skip to content

Commit

Permalink
remove reference to ensure_higher
Browse files Browse the repository at this point in the history
  • Loading branch information
cmelone committed Oct 23, 2024
1 parent a34cecd commit 3a7f629
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gantry/routes/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 3a7f629

Please sign in to comment.