Repository navigation
kernel contract: Nemotron's pocket kernels (nemotron_ops.cu) - #1629
Merged
Merged
Conversation
BobClawblaw
force-pushed
the
nemotron-pocket-contract
branch
from
October 30, 2026 11:52
da82c8c to
8be0103
Compare
…e shared expert's slot, block-row and tiled, fp32 and bf16 out), gates 1-5 with two controls
ashhart
force-pushed
the
nemotron-pocket-contract
branch
from
October 30, 2026 22:28
8be0103 to
3c53eb9
Compare
Owner
|
Thank you @BobClawblaw. This is in TensorFold 1.2.0, released today: https://github.com/ashhart/TensorFold/releases/tag/v1.2.0 It landed with your commits under your own name, so you're listed as a TensorFold contributor, and it's credited to you in the release notes and the changelog. |
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.
What this changes
Registers Nemotron's pocket kernels (
nemotron_ops.cu, the learned neurons the living-weights learner adds beside theshared expert) with the kernel contract: relu^2 up into act rows and down into the shared expert's slot, block-row and
tiled, down to fp32 and bf16, against float64. Neurons past the count are NaN so a read of one shows. Two controls:
the up's relu by
fmaxf(the bug the previous PR fixes) and the down launched one neuron short.tf-cuda-test pocket-contractruns the set alone. Stacked on #1628.Receipt
SUMMARY pocket: 6 kernels, 6 pass gates 1-4, 0 fail, 0 known findings; 2 controls: 2 red as planted, 0 missedpocket_records.zig); nvcc 13.2 givestf_pocket_in39 registers onsm_120/121, recorded as its override.
SUMMARY 452 kernels: 452 pass gates 1-4, 0 fail, 6 known findings; 325 controls: 325 red as planted, 0 missed; 321 limit problems(the stack on main d33dcfc; none of the limit problems is in this stack's launches). The stack then rebased onto 3f0a715 without conflicts; the three sets,zig build testand the Transcribe clips were re-run there.Overlap
atc overlaplists #1445 and #1446 as conflicting, in the shared registration lists (registry.zig,cuda_kernels.zig,kernels.zig,kernel-contract.md,tests/cuda/main.zig); whichever lands second rebases.