Repository navigation
Conversation
LaneHost.Info gains default_decode_share (?f64, null): the flag wins, the env's TENSORFOLD_PREFILL_SHARE wins over it (and never opts into the chunk cap), other backends pass null. LaneHost.init resolves: the flag unchanged; no flag plus an engine default with no env share arms the default's complement and offers the cap (the chunk-invariant gate unchanged); an env share keeps its time-only meaning; the env's row budget survives, as under the flag. The CUDA engine opts in at 0.25 (#3397 receipt, cold 128k beside fills: default 6.9-8.5 tok/s; 0.25: 58.6-69.1, 4x+, sha-identical outputs, TTFT unchanged). Host tests in lane_host_decode_share_test.zig style fail to compile on main (no such field).
The CUDA engine no longer arms a default decode-share: the flag and TENSORFOLD_PREFILL_SHARE stay the only opt-ins, so no measured cell pays the short-prompt cost unasked. LaneHost.Info.default_decode_share and the resolution order stay (flag > env > engine default > null), covered by the host tests. New comments trimmed to the 120-column lean rule.
LaneHost arms the CUDA engine's 0.25 default only while a filling prompt has default_arm_rows (32,768) left: past it the long prompt shares its steps beside live decoders and takes the 512-row chunk hint, exactly as --decode-share 0.25 does; below it the prompt fills whole at main's pace, so the short-prompt cells the review measured pay nothing. The flag keeps sharing every long prompt; the env keeps its time-only meaning and never arms the cap (env_share marks it, so an explicit 1 holds the default off). Host tests cover the threshold on both sides of capRows and longStep.
zig fmt + the 600-line rule forced the resolution out of lane_host.zig; the module carries fromDecode/withDecode/resolved/capped; no behavior change (same precedence: flag wins, env beats a default and never arms the cap, a default arms past Share.default_arm_rows); the glm/flashnext test call sites migrate to capRows' 2-arg form with each stream's live remaining rows.
…amespace>__<tool>, and call items carry the child's name plus its namespace (#3266)
…paces refuse by name, and the namespace contract gains prompt-parity, WebSocket and golden tests (#3266)
Refuse a child whose own name starts with its namespace prefix before a call can map back to another child. Refuse empty input namespaces consistently and test both raw and stored-message conversion. Write call name fields through the existing translation module so responses.zig stays at600lines; remove the unused allocator and fix the requested comments and documentation wrapping. Preserve main's generated corpus and add the namespace cases on their isolated step.
Owner
Author
|
CI red on this tip (zig-windows,benchmark-clients); the PRs go on as two smaller trains. |
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.
CI for a landing train: #3486 #3610 #4132 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.