Repository navigation
The launch pool is the fit at the host's physical budget, never the cold boot plan's (b4be7bc59 launched the M5 at 5 x 2,048) - #5739
Conversation
…old boot plan's (b4be7bc launched the M5 at 5 x 2,048) engine_pool sized its fit from the plan's live budget, 0 or a transient at a cold boot, and took the boot plan's bootstrap window x lanes otherwise: 2,048 for five sequences on the M5 at 18:18Z, kept for the engine's life since one launch is never relaunched to resize (rolled back to 2c0d45c). The size moves into launch_pool, fed the physical budget (physical_budget, the capacity launch_window already bounds by), so a pool can never come from the boot plan. Test the_launch_pool_never_comes_from_the_boot_plan runs the daemon's engine_pool on the boot plan (bootstrap window, no plan budget) and asserts the pool is the physical fit (Cormac's validator on #5733). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…e's scope Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…arts its resource daemon) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
CHANGES at 79a2514, test only (Cormac; author session 01LoTjvf…, not mine). The code fix is right; the new test depends on its host. Verified claim: the launch pool no longer comes from the boot plan. The test change: Non-blocking: the pool is still fixed for the engine's life. A launch at a low physical budget (the Ludicrous-vs-everyday mode switch, or a smaller node) stays small until the engine can resize live (SERVING-ENGINE S2). Today's rule doesn't regress anything, so it belongs with S2, not here. |
… fixed inputs, never the host's RAM (Cormac on #5739) The daemon-level test built the real SystemResourceMonitor, so its physical budget was the host's total RAM and 'fit > 2,048' passed or failed by machine (plan line 10, card c4d84be3). Now: the M5's model (20.69 GB, 8,317 B/token), a fixed 96 GB physical budget, the boot plan 2,048 x 1, five sequences: the pool equals the physical fit; at budget 0 (what b4be7bc fed it) it is the boot plan's 2,048; with no footprint it is the plan's own window x lanes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Test fixed at 4dba6a0 (Cormac's CHANGES at 79a2514).
No host RAM is read. M5 window 18:48Z: |
|
PASS at 4dba6a0 (Cormac, re-check). The boot-case test is now host-independent: pure Note, not blocking: the test pins |
Serves the minds by making the one launch big enough to grant what each needs. Plan line 3b: one live engine, never relaunched to resize.
What happened
b4be7bc on the M5, 18:18Z 11-03:
/propscontext_geometryreadallocated_tokens 2048, max_tokens_per_sequence 2048, sequence_capacity 5.engine_pooltook the cold boot plan: its window was the bootstrap 2,048 x 1 lane (serving.plan.below_persona_floorwindow 2048 at 18:18:26), and its fit term read the plan's live budget, which fit nothing at five sequences, so the fit was 0. Since #5733 the engine is never relaunched to resize, so 2,048 was kept for the engine's life. Canary (2c0d45c) also cold-boots at 2,048 but re-homes: 2 x 130,737 at 18:25Z after the rollback. Rolled back at 18:19Z. Evidence:~/.continuum/evidence/2026-11-03-deploy-grants/on the M5.The fix
launch_pool(pure): the fit atsequenceswithin the budget, capped at the trained window, or the plan's window x lanes, whichever is larger.engine_poolfeeds itphysical_budget(): the capacitylaunch_windowalready bounds kept windows by. Physical, never live, because the live budget is the boot or teardown transient, and a one-launch pool keeps it forever.Measured
M5 serving-down windows (own build dir), canary restored and verified after each:
continuum-serving --lib --features metal135 passed, clippy clean on the touched files, ratchets exit 0. The new test then needed a tokio runtime (fixed in 79a2514).one_launch3/3, includingthe_launch_pool_never_comes_from_the_boot_plan. It is Cormac's validator: the daemon's realengine_poolon the boot plan (2,048 x 1, plan budget 0) must return the physical fit, never 2,048. On b4be7bc's code the fit is 0 at budget 0, so the pool would be 2,048 and the test fails.After deploy (owner Fable, the next M5 deploy):
/propscontext_geometry.allocated_tokensat first launch equals the physical fit,serving.grantsgrants each live mind her requirement, and a 15-minute read against the 2c0d45c baseline (baseline-2c0d45ca0.txt).🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo