Skip to content

K3 misfit-serving stack → canary (submodule bump + docs) - #2073

Merged
joelteply merged 3 commits into
canaryfrom
k3-serving-canary
Aug 1, 2026
Merged

joelteply merged 3 commits into
canaryfrom
k3-serving-canary

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Syncs the K3 serving work onto canary (off current canary — no divergence).

Submodule bump core/vendor/llama.cpp → eee635ba2 (clean FF, +30 over canary's stale 66594cc3f):

  • container-serve resident-override (LLAMA_RESIDENT_OVERRIDE) — experts from NVMe, resident from device-fit, no clone
  • rung-2 ResidencyCache plan-file consumer (GGML_MOE_PLAN_FILE: budget/window/pin_list)
  • score-hint / generation-bias actuator (replaces hard evict-exempt; RUN-1/RUN-2 convicted the hard actuator)
  • PagerCaptureEvent JSONL emit + fit-device --reserve-gb

Measured: K3 (2.8T) warm decode 0.33 tok/s on a 32 GB consumer card — WASTE parity.

Docs: RUN-1 trace fixture + tkey→layer table, RL-policy reference prototypes.

Validated: llama.cpp fork builds+links clean on windows-msvc (CUDA); serving measured live. Continuum-core unchanged by this PR (submodule + docs only).

🤖 Generated with Claude Code

joelteply and others added 3 commits August 1, 2026 03:49
…nto canary

Advances the vendored llama.cpp fork 30 commits (clean FF over canary's stale
66594cc3f): container-serve resident-override (LLAMA_RESIDENT_OVERRIDE), the
rung-2 ResidencyCache plan-file consumer, the score-hint/generation-bias
actuator, PagerCaptureEvent emit, fit-device --reserve-gb. Makes canary USE the
K3 misfit-serving stack (measured 0.33 tok/s WASTE-parity on a 32GB card).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
…M5's replay

Live GGML_MOE_TRACE_FILE slice (12B records: u64 tkey + u32 e) + the reverse
table so BanditPlanController recovers (layer,expert): tkey=FNV-1a of
blk.{layer}.ffn_{gate,up,down}_exps.weight, e=within-layer expert idx, expert
identity=(layer,e) deduped across the 3 matrices. RUN-1 static-pin datum input.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
The actual std-only Rust prototypes written against live K3 traces this
session: trace_replay (recency beats LFU 3-4x), predictor (offline
learned-decay +5pts held-out), online_predictor (bandit 49.8 vs 47.8
best-fixed on non-stationary), self_optimize (joint speed×quality). These
are the faithful-port source for the learned policy behind TierPolicy
(continuum-core expert_tier_policy.rs, #276). Numbers are properties of
these exact constants + reward math — reproduce before improving.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc
@joelteply
joelteply merged commit d385140 into canary Aug 1, 2026
4 checks passed
@joelteply
joelteply deleted the k3-serving-canary branch August 1, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant