Skip to content

nemotron: decode forms of Super's latent top-k and NVFP4 experts on CUDA, same bits - #999

Merged
ashhart merged 4 commits into
ashhart:mainfrom
plotarmordev:nemotron/cuda-decode-kernels
Oct 18, 2026
Merged

ashhart merged 4 commits into
ashhart:mainfrom
plotarmordev:nemotron/cuda-decode-kernels

Conversation

@plotarmordev

Copy link
Copy Markdown
Contributor

Branch nemotron/cuda-decode-kernels, three commits on main (6ee828c). Independent of the other Nemotron pull requests.

What this changes

Two kernels Nemotron 3.5 Super runs at every decode step get a form for calls of up to launch.few_rows (16) token
rows, each bit-equal to the kernel it replaces; prompt chunks keep the existing kernels.

  • Latent top-k: tf_super_topk takes a row's 22 picks one argmax at a time on one warp. tf_super_topk_few ranks each
    of the 512 experts on a thread of its own by how many others beat it (higher score, then lower id), so pick k is the
    expert k others beat. Past the finite scores every pick is expert 0, as the repeated argmax over -inf gives. Scores,
    sums and weights are the same operations in the same order. glue_ref.superTopk is the host twin.
  • Checkpoint-math NVFP4 experts (ck_experts.cu): the grouped kernel becomes a template over a warp's n8 tiles and the
    steps it keeps in registers ahead of the block-scaled FP4 mma. tf_ck4_up_relu2_few / tf_ck4_down_f32_few take 32
    columns a warp (twice the warps, which the shared expert's two items need) with four steps of loads in flight. Each
    column still takes its 64-input steps in order through the same mma_fp4, and the epilogue is unchanged.
  • Both register with the kernel contract as replacements (replaces), byte-compared with the stock kernel on the same
    inputs at gates 1 and 3; docs/kernel-contract.md lists them.

An earlier variant ran the block top-k at every width. Decode was the same, but the 8,186-token cold prefill came out
17 to 42 ms slower than main in both alternated pairs (all-widths/), so prompt chunks keep tf_super_topk.

Receipt

  • Environment: TensorFold e367c8f5 (this branch) against 6ee828c2 (main), both built with the release flags
    (-Doptimize=fast -Dsm=121). A DGX Spark (GB10), CUDA 13.0 (nvcc 13.0.r13.0), driver 580.173.02.
    nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4@82d93699acd3be9e4617c53360fe5b3f5dbeb1b3, served as
    tensorfold-native serve <checkpoint> --name super --no-update-check --prompt-cache-gib 0 on loopback with
    TF_HEAT_HIGH=85 TF_HEAT_LOW=75, everything else default (the checkpoint math and MTP drafts on). Four holds on one
    node, each a fresh server, in the order main, branch, branch, main.

  • Exactness: in every hold bench_concurrent.py --levels 1,4 --tokens 256 --reps 3 --temperatures 0 --alone --serial
    gives 30 of 30 concurrent replies equal to their request alone and 4 of 4 alone runs equal to "draft": false. Both
    bench_openai prompts' drafted token_sha256 equals "draft": false, and the hashes are the same on main and the
    branch: code 51e4c630298a14a1…, chat 161034fd0a090a34…. The cold prefills' 16-token replies hash the same too.

  • Decode speed, bench_openai.py --tokens 256 --reps 3 --temperatures 0 (medians of 3; all runs in the receipt):

    run code (fibonacci-raw) tok/s prose (gpu-chat-no-think) tok/s
    main 1 42.59 32.59
    branch 1 46.95 36.11
    branch 2 47.06 36.20
    main 2 42.46 32.50
    median of 6 runs, main → branch 42.53 → 47.02 (+10.6%) 32.55 → 36.16 (+11.1%)

    bench_concurrent aggregate tok/s, main 1 / branch 1 / branch 2 / main 2: code x1 42.6 / 46.9 / 47.1 / 42.5, code x4
    125.1 / 134.5 / 134.9 / 125.0, chat x1 32.6 / 36.1 / 36.2 / 32.5, chat x4 99.0 / 98.5 / 98.5 / 99.0 (0.5% lower on
    the branch in both pairs; the same cell read 99.2 / 98.5 / 98.4 / 99.0 in the earlier variant's holds).

  • Prompt speed: bench_cache.py --require-cold --tokens 16 --repeats 2 --streams 1 on an 8,186-token chat prompt (a
    synthetic field log, token ids in the receipt), cold first request ttft_s: main 4.460 and 4.465, branch 4.460 and
    6.464. The 6.464 includes one 2.0 s heat-gate sleep inside that request (info: heat_wait_s 2.0 in
    pr-1.server.log, line 103); without it, 4.464. Prompt chunks run the same kernels as main.

  • Tests run:

    • zig build test: 1376 passed, 7 skipped, 0 failed (main: the same). zig build test-kernel-contract: 18 of 18.
      zig build test-golden: 309 of 319 equal, 0 unexpected differences (main: the same). zig build fuzz-cortheon:
      7 of 7. zig fmt --check zig build.zig: clean. tools/zig/lean_check.py: 517 problems, the same 517 as main, 0
      new.
    • GPU (-Dnvcc, on the GB10): tf-cuda-test kernel-contract:
      SUMMARY 15 kernels: 15 pass gates 1-4, 0 fail, 0 known findings; 5 controls: 5 red as planted, 0 missed; 0 limit problems; gates 62019 ms, limits 1 ms.
      The three new entries: tf_super_topk_few gate 1 (tf_super_topk's bytes and the host twin's picks on NaN, ±Inf
      and fewer finite scores than picks), gate 2, gate 3 (6 shapes bit-equal to tf_super_topk: 1 and 16 rows, 22, 31,
      32, 33 and 512 experts), gate 4 N/A (no sums); tf_ck4_up_relu2_few and tf_ck4_down_f32_few gates 1 and 3 (12
      shapes each bit-equal to the prompt kernel on the same plan: Super's routed and shared widths, 1 to 16 token rows,
      K at 1 to 5 steps), gate 4 exact sums at K 4,096 and 2,688.
      tf-cuda-test kernel-contract-limits over sm_80/86/89/120/121 fatbins: every record current, every control red.
      tf-cuda-test glue: 1309 of 1309 comparisons byte-equal (both top-k forms against glue_ref.superTopk at 1, 4,
      16 and 300 rows, equal scores, fewer finite scores than picks, norm on and off). tf-cuda-test modelopt: 5 of 5,
      with up and down at 1 and 16 token rows byte-equal to the same pairs in a 40-row call.
    • Failing receipt: the change keeps every bit, so main has no output for a new test to catch; both new forms are
      held to the stock kernels' bytes instead. With two planted faults (mutants.diff: ties to the higher expert in
      tf_super_topk_few; each FP4 step summed from zero then added in the _few experts), kernel-contract goes red
      for both (gates 1 and 3) and glue for the top-k. The modelopt 40-row comparison and the up kernel's bf16 relu²
      output did not show the per-step fault; the contract's down kernel did.
  • Not run, and why: Metal (no Mac here; the change is CUDA-only). TP=2 across two GB10s (the kernels are
    per-rank; not run for this change). sm_80, sm_86, sm_89 and sm_120 on a live GPU (compiled records only); the
    _few experts need the sm_120a block-scaled mma and the contract runner marks them N/A below it. --precision full, which does not run the checkpoint-math experts.

Raw receipts: receipts/nemotron/cuda-decode-kernels ({base-1,pr-1,pr-2,base-2}.* per hold: server log, guard log, every tool's JSON;
summary.md; gpu-tests.raw.txt; gpu-tests-mutants.raw.txt with mutants.diff; host-{base,tip}.raw.txt;
lean-{base,tip}.txt; all-widths/ for the earlier variant).

Checklist

  • Every token still goes through the lane rounds. No serial path, and nothing that needs drafts off.
  • Drafted output equals "draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (Drafted
    vs "draft": false and concurrent vs alone measured above; resume not exercised separately, and no prompt-path or
    cache code changes.)
  • No precision traded for speed. If the bits change, the description says which sums change and why. (No bits
    change: same operations in the same order, byte-compared.)
  • A new or changed GPU kernel is registered with the kernel contract (docs/kernel-contract.md); each backend's
    SUMMARY line is in the receipt. (CUDA only; no Metal kernel changes.)
  • Prompt processing is no slower than the last release. (Prompt chunks run main's kernels; cold ttft_s above.)
  • The description says which platforms I ran, Metal M1 to M5 and CUDA, and which I could not.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency. (They pass on
    main's behaviour by design: the change keeps bits. The failing receipt is the planted faults above. The checkpoint
    experts' tests skip below sm_120.)
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths. No AI attribution lines.

…d of its own, tf_super_topk's bits

tf_super_topk takes a row's picks one argmax at a time on one warp. tf_super_topk_few, which calls of up to
launch.few_rows rows now take, ranks each expert on a thread of its own by how many others beat it (higher score,
then lower id): pick k is the expert k others beat, and once the finite scores run out every later pick is expert 0,
as tf_super_topk's repeated argmax over -inf gives. Scores, sums and weights are the same operations in the same
order. Prompt chunks keep tf_super_topk.

glue_ref.superTopk is the host twin; the glue test runs both forms against it at 512 experts, 22 picks, 2 shares,
rows 1/16/300, equal scores, fewer finite scores than picks, and the norm on and off. The glue tests' Rig moves to
glue_rig.zig, which keeps glue_tests.zig under 600 lines.
…mns a warp, four steps in flight, same bits

ck_experts.cu's grouped kernel is a template over a warp's n8 tiles and the steps of codes, scales and weights it
keeps in registers ahead of the mma. Prompt chunks keep 8 tiles and one step; calls of up to launch.few_rows token
rows take the _few pair, 4 tiles and 4 steps. Each column still takes its 64-input steps in order through the same
mma_fp4, and the epilogue is unchanged. Ck.down takes the call's token rows to choose. The modelopt test checks up
and down at 1 and 16 token rows byte-equal to the same pairs inside a 40-row call.
…-equal to the kernels they replace

tf_super_topk_few replaces tf_super_topk at decode-sized calls: gate 1 holds it to tf_super_topk's bytes and to
glue_ref.superTopk's picks on NaN and infinite logits and fewer finite scores than picks, gate 3 to tf_super_topk's
bytes at 512 experts and at 22, 31, 32 and 33.

tf_ck4_up_relu2_few and tf_ck4_down_f32_few replace tf_ck4_up_relu2 and tf_ck4_down_f32 at up to launch.few_rows
token rows: gates 1 and 3 compare their bytes with the prompt kernels' on the same plan (NaN and infinite alphas, a
NaN block scale; Super's routed and shared widths, and K at one to five steps), gate 4 runs mirrored FP4 sums exact
in fp32. Ck.run and Ck.warp_columns are public for the test to launch either form. The usage records are
kernel-contract-limits' over sm_80, sm_86, sm_89, sm_120 and sm_121 fatbins.

@cwschroeder cwschroeder left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found no material kernel/dispatch issue in the three-commit increment at e367c8f5 on 6ee828c2. The source review checks the rank/tie/NaN rules, both CK column halves, U4 prefetch lifetimes and per-column MMA order. All four current-head CI checks pass.

Local Zig 0.17.0 results:

  • Contract host tests: 18/18. The combined CUDA-host/contract run has 866 pass, two skip and two HTTP timing failures. Those same assertions were reproduced on unchanged 6ee828c2; the three benchmark sources are byte-identical here.
  • Whole-tree formatting, whitespace and lean delta pass (517 baseline, 517 candidate).
  • Linux CLI/test-driver Fast and native-server Safe builds pass. These builds omit NVCC fatbins; none of the binaries was executed.

The four recorded holds have consistent direct draft/plain hashes, all 120 concurrent comparison records, cold-reply hashes and rounded median arithmetic. Reproducible source/CPU and receipt-data audit.

Follow-up at 0bb5e63b: the source/build/binary mapping request is answered in receipt pin bead6842. native-b8613a54 is the candidate binary SHA256 prefix; the index documents full source commits, build flags and hashes, plus the author's clean-rebuild comparison. All 48 original top-level files are unchanged; the seven additions and original files match their pinned Git blobs. Full-hash consistency checks pass and reject a changed suffix.

The new glue tests cover 1024 experts/32 picks, ties, no selectable values and exhaustion after 31 values. The contract's new 1024-expert shape still uses 22 picks; 32 picks are covered in glue. The separate stock-CK diff correctly makes gates 1/3 use the loaded stock functions with identical inputs. Its receipt reports 12 bit-equal shapes per CK direction. These additions address the requested coverage points.

The new head's four CI checks and local Linux CLI/test-driver cross-build pass. No material issue found in the test delta or stock-comparison setup. Binary rebuild equality, stock-fatbin identity and SASS identity remain author reports; no independent GPU/model execution or binary rebuild was performed. The original local timing failures above were not rerun for this test-only increment. Follow-up audit and manifests.

…d with no finite scores

The glue test runs both forms against glue_ref.superTopk at 1,024 experts and 32 picks (1 and 16 rows, equal
scores), with every score -inf, and at 1,000 experts with one finite score fewer than the picks. The contract adds
a 1,024-expert shape, so gate 3 also compares tf_super_topk_few with tf_super_topk at the most experts it holds.
@plotarmordev

Copy link
Copy Markdown
Contributor Author

Thanks for the audit. Both points below. Receipt files are added beside the existing ones in receipts/nemotron/cuda-decode-kernels; nothing already there is changed.

1. Provenance. native-b8613a54 is a binary label: the first 8 hex digits of the served tensorfold-native's sha256. It is not a commit.

  • Source: pr-1 and pr-2 served a binary built from the branch's working tree before the three commits were written. base-1 and base-2 served a binary built from a clean checkout of 6ee828c2.
  • Build: both binaries used the same flags, on aarch64 with Zig 0.17.0 and nvcc 13.0:
    • zig build fatbins -Dtarget=aarch64-linux-gnu.2.28 -Dcpu=baseline -Dnvcc=… -Dsm=121
    • then zig build native -Dtarget=aarch64-linux-gnu.2.28 -Dcpu=baseline -Doptimize=fast -Dstrip=true -Dversion=1.0.12 -Dfatbins=…
  • Hashes:
    • main 6ee828c2: 5af1edaf4157995d8e38df5f831a67b131f416941955420f47a8ee8774d4b09b
    • branch: b8613a54cbcad257fdada95639147b40c4eabbd6e818ae4067db84abbbccf695
  • Rebuild check: after the holds I rebuilt from a clean detached checkout of e367c8f5 at the same checkout path with the same commands. It gives b8613a54…bccf695, byte-identical to the served binary. The checkout path matters. nvcc names anonymous-namespace symbols after a hash of the source path (glm_quant.fatbin, _ZN43_INTERNAL_<hash>_…). So the same commit built from another directory differs in those 14 bytes and nowhere else.
  • The GPU-test binary checks out the same way. The tf-cuda-test that produced gpu-tests.raw.txt (df318767…0cfb6e) is byte-identical to one rebuilt from clean e367c8f5.
  • The GPU and performance runs are therefore those of e367c8f5. Details: provenance.txt.

2. Coverage.

The decode form's limits:

  • tf_super_topk_few holds up to 1,024 experts (one thread each, a 1,024-thread block) and up to 32 picks. These are the same limits as tf_super_topk.
  • config.parse already refuses a latent router outside 1 to 1,024 experts, or outside 1 to min(experts, 32) picks.

New commit 0bb5e63b (tests only, so tensorfold-native is unchanged):

  • The glue test runs both forms against glue_ref.superTopk at:
    • 1,024 experts and 32 picks, at 1 row and at 16 rows with equal scores;
    • 1,024 experts and 32 picks with every score -inf: every pick is expert 0, weighted by its score;
    • 1,000 experts with 31 finite scores for 32 picks.
  • The contract adds a 16 × 1,024-expert shape, so gate 3 also compares tf_super_topk_few with tf_super_topk at that size.
  • Results on a GB10 (gpu-tests-0bb5e63b.raw.txt):
    • glue: 1325 of 1325 comparisons byte-equal (1309 before);
    • kernel-contract: SUMMARY 15 kernels: 15 pass gates 1-4, 0 fail, 0 known findings; 5 controls: 5 red as planted, 0 missed; 0 limit problems, with the latent top-k at 8 shapes, bit-equal.
  • Host checks at 0bb5e63b (host-0bb5e63b.raw.txt):
    • zig build test: 1376 pass, 7 skip;
    • test-kernel-contract: 18/18;
    • test-golden: 0 unexpected differences;
    • fuzz-cortheon: 7/7;
    • zig fmt clean;
    • lean: 517, 0 new.

The CK baseline is the refactored TJ8/U1 kernel. Two checks tie it to main:

  • I ran a one-off variant of the contract runner, not part of this PR (stock-ck.diff). Its replaced() loads main's ck_experts.fatbin (from 6ee828c2, sha256 253759a3…) and runs main's tf_ck4_up_relu2 and tf_ck4_down_f32. Against those, tf_ck4_up_relu2_few and tf_ck4_down_f32_few pass gate 1 and gate 3 bit-equal on all 12 shapes each (gpu-tests-stock-ck.raw.txt; gate 4 does not involve the baseline). Together with the committed run against TJ8/U1, that gives _few = TJ8/U1 = main's kernel on those inputs. The SASS of TJ8/U1 does differ from main's (same instruction count and the same 24 MMAs, with different scheduling and registers), so this equality comes from the GPU run, not from the code being identical.
  • tf_super_topk's sm_121 SASS is identical on main and the branch (sass-tf_super_topk.txt). So the latent contract's baseline is main's kernel.

@cwschroeder

Copy link
Copy Markdown
Contributor

Checked 0bb5e63b and receipt pin bead6842: all 48 prior top-level files are unchanged, and the seven additions answer the source/build/binary mapping request. The new tests cover the requested upper bounds and exhausted-selection cases; the contract uses 22 picks, with 32 picks covered in glue.

The stock-CK diff also uses the separately loaded stock functions with identical inputs. I checked its reported results and mapping, without independently rerunning the GPU or rebuilding those binaries. All four current-head CI checks and the local Linux test-driver cross-build pass. No material source finding in this increment.

I've updated the original review and audit with the resolved points and evidence limits.

@ashhart

ashhart commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Thanks @plotarmordev for the clean-rebuild mapping and 1,325/1,325 glue comparisons, and @cwschroeder for the audit. The binary label is now tied to source, and the added boundary/exhaustion cases answer the source review.

Keep the coverage distinction clear: 32 picks are exercised in glue, while the contract's large shape uses 22. The stock-CK comparison is supplied GPU evidence, not an independent rerun by us. We are carrying the full current increment, including those final tests, onto the maintained owner. Recheck its numerical/resource and served gates on that final composition; no source blocker remains in the reviewed increment.

Posted by Ash's AI Assistant Synthena

@ashhart
ashhart merged commit d9dcc11 into ashhart:main Oct 18, 2026
4 checks passed
ashhart added a commit that referenced this pull request Oct 18, 2026
ashhart added a commit that referenced this pull request Oct 18, 2026
ashhart added a commit that referenced this pull request Oct 18, 2026
…perts at decode-sized calls

kernel-contract-limits read 13.2's fatbins on an x86_64 box: tf_super_topk_few takes 32 registers on sm_120 and
sm_121 where 13.0's record has 30, and tf_ck4_up_relu2_few 124 where it has 125; every other SM and the down
experts are as recorded. Both join 13.2's set, and the contract's notes say what that set now holds.
ashhart added a commit that referenced this pull request Oct 18, 2026
…drafts a round, with the Mamba scan in stages of 32

The branch builds on #999's earlier commits and on #997, which come in with it. Twelve files took both sides, keeping
this line's generic native options, owner guards, per-sequence context cap, page margins, #996's borrowed shared plans
and #999's 1,024-expert, 32-pick reference, with the larger pinned-window layout beside the failed-load owner guards.
The Mamba scan's record joins #999's records in the registry.
ashhart added a commit that referenced this pull request Oct 18, 2026
…at load, and on one GPU the shared expert beside the routed ones

The branch builds on #999's earlier commits, which come in with it. Six files took both sides, keeping #999's
1,024-expert, 32-pick reference, the 32-row tests, Bolt's own layout, lanePartBytes and both projection partials, KV
pages, copy ownership, sibling plan borrowing and the shared cap and confidence policy. Latent cached plans cover the
checkpoint's window, Bolt keeps its fixed affine plans, and the side stream's join stays before its shared result is
read.
ashhart added a commit that referenced this pull request Oct 18, 2026
…d 128-pair NVFP4 expert tiles, router tiles past 32 rows

The branch builds on #999's and #1002's heads, which this line already holds. Ten files took both sides. The router
keeps this line's slice widening for Bolt's rows and its wide top-k, with #1008's tile path in a logits call that the
latent router shares. The latent forward keeps the per-checkpoint window, both projection partial pointers and its
schedule, and adds #1008's share-sum combine and add. The scratch table keeps the router slices and lane partials and
takes #1008's activation rows. ck.zig keeps the 32-row decode bound beside the 128-row prompt bound. The contract and
runner keep every case they had and add #1008's. The eight new launches' records go to nemotron_prompt_records.zig,
which keeps registry.zig under 600 lines.
@ashhart

ashhart commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Thank you, @plotarmordev, for the latent top-k/NVFP4 decode work and matched speed and concurrency receipts.

We merged it for 1.1.0 in d9dcc11, over the current 1,024-expert/32-pick reference. Page ownership, sibling sequence state and current kernel records are retained, with no additional landing arithmetic change.

NVIDIA GB10/RTX PRO 6000 live/resource contracts passed; GB10 Super VL/Lightning serving retained exact/concurrent/chat parity.

Posted by Ash's AI Assistant Synthena

BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…ized calls, a thread an expert and 32 columns a warp, same bits

Five files took both sides. The contract's coverage paragraph is ashhart#999's, with this line's section on records per nvcc
release after it. The registry keeps tf_nemo_topk_wide beside tf_super_topk_few. The host top-k reference is ashhart#999's
pickRow, sized by the config's 1,024 experts and 32 picks, which covers the 512 the wide top-k takes. The contract tests
import contract_ck beside this line's kernels, load nemotron_latent and ck_experts among this line's images, and add
the ck experts after this line's Flash Next, H3 and Drama 3 kernels. The glue tests' rig is ashhart#999's glue_rig.zig, the
rig this line had, and the summary names the latent top-k and the paged attention both.
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…4 up experts at decode-sized calls

kernel-contract-limits read 13.2's fatbins on an x86_64 box: tf_super_topk_few takes 32 registers on sm_120 and
sm_121 where 13.0's record has 30, and tf_ck4_up_relu2_few 124 where it has 125; every other SM and the down
experts are as recorded. Both join 13.2's set, and the contract's notes say what that set now holds.
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…31 MTP drafts a round, with the Mamba scan in stages of 32

The branch builds on ashhart#999's earlier commits and on ashhart#997, which come in with it. Twelve files took both sides, keeping
this line's generic native options, owner guards, per-sequence context cap, page margins, ashhart#996's borrowed shared plans
and ashhart#999's 1,024-expert, 32-pick reference, with the larger pinned-window layout beside the failed-load owner guards.
The Mamba scan's record joins ashhart#999's records in the registry.
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…t once at load, and on one GPU the shared expert beside the routed ones

The branch builds on ashhart#999's earlier commits, which come in with it. Six files took both sides, keeping ashhart#999's
1,024-expert, 32-pick reference, the 32-row tests, Bolt's own layout, lanePartBytes and both projection partials, KV
pages, copy ownership, sibling plan borrowing and the shared cap and confidence policy. Latent cached plans cover the
checkpoint's window, Bolt keeps its fixed affine plans, and the side stream's join stays before its shared result is
read.
BlivionIaG pushed a commit to BlivionIaG/TensorFold that referenced this pull request Oct 20, 2026
…iles and 128-pair NVFP4 expert tiles, router tiles past 32 rows

The branch builds on ashhart#999's and ashhart#1002's heads, which this line already holds. Ten files took both sides. The router
keeps this line's slice widening for Bolt's rows and its wide top-k, with ashhart#1008's tile path in a logits call that the
latent router shares. The latent forward keeps the per-checkpoint window, both projection partial pointers and its
schedule, and adds ashhart#1008's share-sum combine and add. The scratch table keeps the router slices and lane partials and
takes ashhart#1008's activation rows. ck.zig keeps the 32-row decode bound beside the 128-row prompt bound. The contract and
runner keep every case they had and add ashhart#1008's. The eight new launches' records go to nemotron_prompt_records.zig,
which keeps registry.zig under 600 lines.
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.

3 participants