Skip to content

train 1109071719: #2658 #2642 (CI only) - #2659

Closed
ashhart wants to merge 9 commits into
mainfrom
lead/train-1109071719
Closed

ashhart wants to merge 9 commits into
mainfrom
lead/train-1109071719

Conversation

@ashhart

@ashhart ashhart commented Nov 9, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #2658 #2642 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.

… panics

6a1feb2 sent cuda_device.setting through the strict environment table.
TF_DRAMA_PREFILL_ROWS and TF_DRAMA_REFERENCE_CACHE had no rows, so every
CUDA Drama 3 open reached rule()'s "unregistered strict environment parser"
panic, set or not.

Both get .u32 rows trimmed of spaces, as their old reader was, in a new
drama3 scope that the startup check leaves alone; drama_open keeps its own
bounds and messages. setting() now takes its name at compile time and the
build stops on a name with no row, so this cannot recur through it.

Text of only tabs or line breaks, which the old reader refused, now reads
as unset like every other table setting; docs/environment.md says so.
…unk at a time

A long reasoning reply re-reads the whole visible text on every chunk in
several places, so the request thread's work per chunk grows with the
reply. zig build bench-stream-scan measures it on the real path: a scripted
engine hands 30,000 reasoning tokens, prose and a Qwen XML, GLM, DSML or
Kimi call to the chat, Messages and Responses handlers one or two tokens a
chunk, a write hook times every frame, and the step prints each chunk's
time at 1k to 30k tokens, the whole-text steps' times alone, and the
request arena. Built ReleaseSafe as the native server's HTTP side is
(-Dstream-scan-optimize for another mode). Under test-server-cpu the same
tests run a 300-token reply and check that every route's streamed
reasoning, prose and call arguments equal the reply's.
…to the whole parse instead of failing

The incremental parse asserted every id has bytes; with a padded vocabulary an id past the specials has none, and the
whole parse (main's path) decodes it. The stream now marks itself and every later chunk takes that path.
@ashhart

ashhart commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

Landed: #2658 #2642 as main f212eea. This PR only carried their CI.

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.

1 participant