From ab4857f172586814b19addffbdb5a2042657189e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sat, 10 Oct 2026 11:30:23 +0000 Subject: [PATCH] kev-deploy and kev-finetune: pin KEV_REF to fc4a17e (device probe in a child process #218 #231, compare null diagnostics #217) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- skills/kev-deploy/scripts/kev_serve.py | 2 +- skills/kev-finetune/scripts/kev_modal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/kev-deploy/scripts/kev_serve.py b/skills/kev-deploy/scripts/kev_serve.py index a32df6a2..b252c4ea 100644 --- a/skills/kev-deploy/scripts/kev_serve.py +++ b/skills/kev-deploy/scripts/kev_serve.py @@ -28,7 +28,7 @@ import modal import modal.experimental -KEV_REF = "84847f0a883d900f7de5b7a57eaa341ca7f9a6b4" # github.com/jaredpalmer/kev commit whose kev package this endpoint runs +KEV_REF = "fc4a17e194bca35a48c57211392ec49ea54a94ac" # github.com/jaredpalmer/kev commit whose kev package this endpoint runs # GPU preference lists (Modal takes the first with capacity), from runs/serve-*/, runs/fused-27b-*/ and runs/serving-*/report.json in the repo. # An L4 is enough for the 0.8B but runs out of compute on the 4B; the L40S is the cheapest GPU that answers the 4B in tens # of milliseconds, the H100 the fastest for the 4B and 9B. The A100 is slower than the L40S here and costs more. Kev-27B diff --git a/skills/kev-finetune/scripts/kev_modal.py b/skills/kev-finetune/scripts/kev_modal.py index e1d5962d..1fa4cc56 100644 --- a/skills/kev-finetune/scripts/kev_modal.py +++ b/skills/kev-finetune/scripts/kev_modal.py @@ -29,7 +29,7 @@ # Launch-time settings that the container must see identically: they travel in the image env (names only, never secret # values). The module is re-evaluated inside the container, and a Secret list or a served run that differs there either # fails the container ("Function has N dependencies but got M") or serves the wrong model. -SETTINGS = {"KEV_APP_NAME": "kev-finetune", "KEV_REF": "84847f0a883d900f7de5b7a57eaa341ca7f9a6b4", "KEV_SERVE_RUN": "jaredpalmer/kev-4b", "KEV_HF_SECRET": "", "KEV_SERVE_SECRET": ""} +SETTINGS = {"KEV_APP_NAME": "kev-finetune", "KEV_REF": "fc4a17e194bca35a48c57211392ec49ea54a94ac", "KEV_SERVE_RUN": "jaredpalmer/kev-4b", "KEV_HF_SECRET": "", "KEV_SERVE_SECRET": ""} SETTINGS = {k: os.environ.get(k, v) for k, v in SETTINGS.items()} APP_NAME, KEV_REF, SERVE_RUN = SETTINGS["KEV_APP_NAME"], SETTINGS["KEV_REF"], SETTINGS["KEV_SERVE_RUN"] KEV_REPO = "https://github.com/jaredpalmer/kev.git"