Repository navigation
Conversation
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.
#1449's two kernels give tf_glm_scores' and tf_glm_select_rows' bytes, so a prompt chunk takes them unless TF_GLM_INDEX_CUDA=0; scores still bisects. Shapes the kernels do not take keep the old launches either way: a recorded-launch test pins prompt chunks to the kernels and a decode row, an unaligned key cache and a small pool cap to tf_glm_scores.
…ine for the default With the kernels on by default, the warning a failed load prints reaches people who never set TF_GLM_INDEX_CUDA, so it starts glm:, as GLM's other start-up lines do, and says the fallback is what TF_GLM_INDEX_CUDA=0 asks for. The changelog line records the new default: unset takes the kernels, 0 keeps tf_glm_scores.
Owner
Author
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: #3159 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.