Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/kev-deploy/scripts/kev_serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion skills/kev-finetune/scripts/kev_modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading