Repository navigation
Conversation
Drafter.blocks takes as many streams' blocks as a decode window's rows hold (two blocks of 7): their rows go through the projections, MLPs and head together, so the drafter's weights are read once a pass, while each block runs prep and attention on its own stream's cache and walks its own picks (256-byte pick sets keep the RoCE gathers aligned). draftBlock absorbs every request's kept rows first, then runs the blocks in groups; one stream is unchanged. Two GB10s, #1388's EXL3 pack, recipe harness: one stream 24.4/39.2/29.7/30.1 -> 24.3/38.5/29.5/30.3 tok/s (prose/code/structured/list), two streams 31.0/44.9/35.7/52.0 -> 33.3/49.0/39.4/55.3 in total; the quick plan passes (drafted == plain, concurrent, soak, seeded sampling).
…not only an EXL3 one The loader picks a dense layer's form from its stored dtype (mlp.held), and the B16 scratch plan counts the dense shapes whenever a dense layer is held bf16.
core: dfloat11.zig decodes one coded group, written from the format's description; dfloat11_config.zig reads config.json's dfloat11_config (the pattern steps the published configs use, others refused by name); checkpoint_coded.zig finds the groups in the headers, answers their members' weight names, decodes a group once and frees it at release; checkpoint.zig's get, expect and has fall through to it. A checkpoint with no coding attached reads as before. glm: cuda_dfloat11.zig gives the shapes the files omit (q, k, v, o, kv_b, the embedding, the head) and attaches the coding to the loader's two checkpoints; cuda_weights.zig's load calls it. Refs #3649.
Owner
Author
|
Stale CI-only train PR: its train ended on 19 Nov, and the PRs it carried land through their own 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: #1426 #3680 #3807 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.