From 570201a0dccfb580b3e2f112df1d49ec4b437280 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Sun, 25 Oct 2026 03:54:44 +0100 Subject: [PATCH] deploy: the rtx5090-32g profile uses the adaptive speculative window (spec_min_p 0): +5.1% decode on the live CRM replay Co-Authored-By: Claude Sonnet 5.5 --- deploy/rust-runtime/profiles/rtx5090-32g.json | 4 ++-- docs/adaptive-spec.md | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/deploy/rust-runtime/profiles/rtx5090-32g.json b/deploy/rust-runtime/profiles/rtx5090-32g.json index 5f3c0c99..ff2fbc65 100644 --- a/deploy/rust-runtime/profiles/rtx5090-32g.json +++ b/deploy/rust-runtime/profiles/rtx5090-32g.json @@ -1,9 +1,9 @@ { "name": "rtx5090-32g", - "description": "RTX 5090 class server (sm_120, 32 GB VRAM, >= 100 GiB RAM). The 55 GB level-2 KAR archive is copied once into a sealed memfd and the 50 GB routed-expert bank is a page-locked RAM copy (the bring-up smoke form). Reference-equivalent agent configuration (docs/e2e-run.md 7d: 30 GiB GPU budget, expert tier auto-sized per layer from data/expert-profile.bin, spec-min-p 0.5, MTP draft vocabulary, prefix cache auto): weighted decode 129-130 tok/s in real Codex sessions on the 5090. Not a formally quality-gated profile.", + "description": "RTX 5090 class server (sm_120, 32 GB VRAM, >= 100 GiB RAM). The 55 GB level-2 KAR archive is copied once into a sealed memfd and the 50 GB routed-expert bank is a page-locked RAM copy (the bring-up smoke form). Reference-equivalent agent configuration (docs/e2e-run.md 7d: 30 GiB GPU budget, expert tier auto-sized per layer from data/expert-profile.bin, adaptive speculative window with spec-min-p 0, MTP draft vocabulary, prefix cache auto with request-end checkpoints (reply), chain kernels): weighted decode 129-130 tok/s in the reference-equivalent real Codex sessions on the 5090, +5 % from the adaptive window in the CRM replay. Not a formally quality-gated profile.", "select": {"sm_min": 120, "sm_max": 130, "vram_mib_min": 30000, "vram_mib_max": 1000000}, "gpu_budget_bytes": 32212254720, - "spec_min_p": 0.5, + "spec_min_p": 0.0, "expert_profile": "data/expert-profile.bin", "context_tokens": 262144, "kar_source": "memfd", diff --git a/docs/adaptive-spec.md b/docs/adaptive-spec.md index 941b3cae..dcaff72e 100644 --- a/docs/adaptive-spec.md +++ b/docs/adaptive-spec.md @@ -113,3 +113,12 @@ not a policy effect: the adaptive arm is no further from fixed4 than fixed3 or f Not feasible / not done: windows beyond 8 rows (`kVerifyMaxT = 8` is compiled into the window kernels); the 100k/180k jobs 9a3/9a4 are void (the raw-text prompt makes the model stop after two tokens; the replay 9b3 at 80-90k context replaces them); 9b4 (static-tier replay) was skipped by the queue; the chain-step graphs are captured lazily per request, the policy's deeper chains pay a capture the first time a depth is used in a request. + +## Results on the live CRM session (job 9b7) and the profile default + +Replay of the first 24 requests of the live Codex CRM session 9e3 (34,443 tokens in every arm, auto expert tier, 3-4 repeats, weighted decode tok/s): +fixed window 4 @ 0.5 (the reference configuration) 148.71 (147.98 / 149.25 / 149.06 / 148.55), adaptive @ 0 **156.26** (+5.1 %; 156.00 / 156.12 / 156.65), +adaptive @ 0.7 154.43 (+3.8 %). On the tic-tac-toe replay (job 9b5) the same arms gave +1.6 % (@0) and +0.9 % (@0.7), and adaptive @ 0.5 was 0.7 % below the +fixed window. `spec_min_p` is the ceiling of the adaptive policy's floor (0 = 0.9), so the `rtx5090-32g` profile now sets `spec_min_p: 0` (the adaptive +window is the default of the serve stack). The speculative controller only chooses window shapes and drafts; the verified tokens are the verifier's, and +window shapes are inside the Original's own envelope in `docs/quality-gate.md` (R3, `--spec 2`).