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).
…alls on the fused form With TF_FLASHNEXT_FUSED_SPLIT=1, a lane call that splits K over a cluster and has 2,048 output columns or more runs on the fused form instead: one block a 64-column tile walks its K slices and adds them in slice order, the order the cluster adds them, so the outputs keep the cluster kernel's bits. qmmf.cu gains the fused instances at the decode row tiles 16 and 32 (MXFP8 and BF16, bf16 and fp32 out); row tile 64 already had one. Unset, blank or 0 leaves cuda.qmmf.fuse_split_n at 0 and every lane call on main's kernels. Metal and HIP stop the start on 1 by name. The kernel contract gains the fused form against the cluster kernel's K slices at served and narrow split shapes, with a control that poses a 1.5x tensor scale as the cluster kernel.
…le and tokens a round Main against the branch on one GB10, alternating M1 F1 M2 F2, one fresh server an arm: 0 of 22 cells slower, greedy code faster outside the noise at 6 and 8 streams (+1.7% and +1.5%), the other 20 level, tokens a round main's in every cell. Exactness holds on main and on the branch set to 1, unset and blank, and the branch's replies equal main's. The changelog line goes under a new Unreleased section.
… row tiles 16 and 32 registry.cuda gains the eight fused instances (MXFP8 and BF16, bf16 and fp32 out) with nvcc 13.0.88's registers, static shared bytes and launch bounds for sm_80, sm_86, sm_89, sm_120 and sm_121, read from a five-SM qmmf fatbin with the contract's own cubin reader. nvcc 13.3 compiles them to the same usage, so no later set needs an override.
…sts, and zig build test reaches them The three tests of TF_FLASHNEXT_FUSED_SPLIT's reader, its CUDA threshold and the Metal and HIP refusals had no build step. They now have their own, test-flashnext-fused-split-host, which the test step depends on, as the RoPE refusal tests beside it do.
…unset as a third arm Main against the branch commit 4df765a on one GB10, both built the same way from their own commits, alternating M1 F1 U1 M2 U2 F2 with one fresh server an arm. With the setting 1: 14 of 22 decode cells faster (+1.0% to +1.8%), 8 level, 0 slower; unset: 21 level and 1 at +1.1%. Tokens a round are main's in every cell. Cold prompts of 2,048 to 65,536 tokens are level. Exactness holds on main and on the branch set to 1, unset and blank, and the branch's replies equal main's. The changelog line takes the new numbers.
A fatbin set for sm_80, sm_86, sm_89, sm_120 and sm_121 built from 120123a by nvcc 13.3.73, then tf-cuda-test kernel-contract-limits over it: the eight launches this change adds report record current on all five SMs, both planted controls go red on all five, and the run's 834 problems are other launches' nvcc 13.0 records that nvcc 13.3 compiles differently. limits.txt is its output; the README says what the run proves and what it does not, and records main 964174e as merged, which moves none of the files the measured arms ran on.
…2b3722 The receipt's source section names both merges of main, 964174e at 120123a and d2b3722 at 1e24f26, and says what main changed between 41a72fd, where the arms ran, and d2b3722: 111 files, of which this change touches CHANGELOG.md and docs/environment.md, and three are on a Flash Next CUDA request's path (fp_pairs.cuh gains a function only nvfp4_experts32.cu calls; lane_host.zig and lane_host_end.zig count a cancelled request's work in the load ledger). No file of the fused split-K path moved, so the arms describe both merges.
…nches and the failures by launch
…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
|
Conflicts with main (main moved after stacking); restacking. |
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 #3475 #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.