Skip to content

train 1114091957: #2929 #2143 #3022 (CI only) - #3317

Closed
ashhart wants to merge 8 commits into
mainfrom
lead/train-1114091957
Closed

ashhart wants to merge 8 commits into
mainfrom
lead/train-1114091957

Conversation

@ashhart

@ashhart ashhart commented Nov 14, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #2929 #2143 #3022 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.

ashhart and others added 8 commits November 14, 2026 10:56
The "request text: N tokens" figure encoded the raw input on its own. It now
comes from the build itself: the request segment's rows, with the speaker-0
tag the builder adds and, on the default voice, the tokenizer's special
tokens. The family builder records them as Built.text_rows, the default
prompt as encodeCounted's text_tokens, and the check no longer re-encodes.
A test with untagged and space-led inputs checks that the figure equals the
request's share of the assembled rows on both paths; the HTTP fixtures now
expect 4110 (4096 bytes behind the 14-byte tag), which the previous head
reported as 4096.

docs/speech-sampling.md describes the exact --max-frames rule and its
message, and docs/drama-http-voices.md states the limits as they are. The
--speed-up refusal joins the Metal shape check with a test, the generic
check drops its unreachable --speed-up clause and its message no longer
lists context, lanes and TP. The CHANGELOG line comes with the landing.

Co-authored-by: akol1 <15747200+akol1@users.noreply.github.com>
reply_text.Incremental decodes a reply's new tokens with the previous
chunk as context and holds a character split across tokens until it is
whole (reply_text.zig:453-485, used at chat_generation.zig:108). No test
named either property; main's suite saw them only through other outputs
(thinking-tail and wire-byte tests for the hold, two stream arena bounds
at 7500 tokens for the window).

Two tests over a byte tokenizer whose decode spells a trailing partial
UTF-8 sequence as U+FFFD: a split euro sign streams only once whole and
the result equals a full decode; over 300 chunks no decode reads more
than four tokens. Each fails on its planted mutation (no hold, full
re-decode) and passes on main.
@ashhart
ashhart force-pushed the lead/train-1114091957 branch from 365451a to 5f3cee8 Compare November 14, 2026 10:56
@ashhart

ashhart commented Nov 14, 2026

Copy link
Copy Markdown
Owner Author

CI red on this tip (zig-windows); the PRs go on as two smaller trains.

@ashhart ashhart closed this Nov 14, 2026
@ashhart
ashhart deleted the lead/train-1114091957 branch November 14, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants