Repository navigation
Conversation
… 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.
Owner
Author
4 of 8 tasks
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: #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.