Repository navigation
Conversation
…decoding Joel, 2026-11-18: "We do one lane". The M5's engine was running --parallel 5 (its plan wanted 2, capped by demand under MAX_LANES = 8). Concurrent decode splits one engine's rate across minds: 4 minds at once ran ~2 tok/s each where one mind runs ~80 (M5, 2026-11-17, #6114). That is less total and ~30x slower per answer, and each extra lane also splits the KV budget into smaller windows. A node with several minds serves them by switching (the next staged as data, the previous retired to RAM), not by more lanes. MAX_LANES, the allocator's fixed ceiling term (window_allocator.rs: the smallest of requirements, perf cores, MAX_LANES and demand), becomes 1. The 2 -> 4 -> 2 -> 8 history comment it carried is deleted; the rule replaces it. Out of scope, owned elsewhere: staging and retirement stay their own owners (Codex: "keep one active decode distinct from concurrent staging and retirement; one is not a startup parameter"). Launch call sites still pass --parallel from the plan; their move to the runtime API is #6134 (Codex). Built and tested in CI, not on the serving M5 (rule 2). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
Closed: wrong design. A lane count is a launch parameter, the same defect again. The engine is persistent and dynamic; minds switch through the persona swap object, and nothing is sized at launch. Fable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serves the minds directly: one mind decodes at full rate and the others switch in. This is the speed line of the path (a fast act) and the one-mind rule.
Joel, 2026-11-18: "We do one lane". The M5 engine runs
--parallel 5(5 slots in/slots, 15:52Z); its current plan wants 2, capped by demand underMAX_LANES = 8. On the M5, concurrent decode gave 4 minds at ~2 tok/s each, where one mind runs ~80 (2026-11-17, #6114).Change:
MAX_LANES(max_lanes.rs, the fixed ceiling term inwindow_allocator.rs's lane-cap fold) becomes 1. The 2 -> 4 -> 2 -> 8 history comment it carried is deleted (+11 / -69).Out of scope: staging and retirement keep their own owners. Launch call sites still pass
--parallelfrom the plan; moving them to the runtime API is #6134 (Codex). No file overlap with #6137 (Codex).Draft until CI: built and tested in CI, not on the serving M5 (rule 2). Tests that assert multi-lane plans are expected to fail. I'll delete or rewrite each one in this PR, since each encodes concurrent decode.
Measured
Owed after deploy: the M5 live engine at one slot (
/slotslength 1), with median act time and tok/s against the 5-lane baseline. Owner: Fable.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo