Repository navigation
pins: npu-kernels 3949f18e -> 4e6261b, so the release can actually gate a fresh kernel set (engine#3237) - #3265
Conversation
…te a fresh kernel set (engine#3237) The decode gate merged into npu-dx twice today -- `addons/npu-dx/scripts/decode-gate.sh` (#117, the check itself plus its hardening) and the `layer1.py` row-tile padding fix with the `tpc 6` golden rows (#118) -- and **neither is reachable from the release path**, because the engine still pins `3949f18e`. Measured on the tree, not assumed: a real `scripts/fetch-private.sh` run of the current config produced an `addons/` checkout with `npu-dx/scripts/build-kernels.sh` and **no `decode-gate.sh`**, i.e. `release-kernels.sh` in that tree is the pre-gate version and a weekly build that missed the kernel cache would again ship a set nobody decoded. So this is the same lag I filed against a fork pin this morning (engine#3192), on this lane's own work: merged upstream, inert downstream until the pin moves. config/npu-kernels.config: sha=3949f18e826e99a84ec5e6e2e3041300215ddb61 -> 4e6261b7df9f4326a72fd1d8efef449b9ab24518 require=CMakeLists.txt register.cpp release-kernels.sh -> … release-kernels.sh npu-dx/scripts/decode-gate.sh The delta carries exactly the four files this issue needed: `decode-gate.sh` (+112), `addons/release-kernels.sh` (+35, the call and the cache/verdict hardening), `npu_dx/designs/layer1.py` (+5/-1, the per-phase padding) and `tests/golden/dx_layout_perm.tsv` (+2, the tpc 6 rows). The `require=` addition is the part that keeps this true: the gate lives under `addons/`, and a pin that loses it would otherwise fetch a tree whose release simply has no gate. Verified both ways with the engine's own fetch: current config + this pin fetch rc 0, addons/npu-dx/scripts/decode-gate.sh PRESENT (6663 B), addons/release-kernels.sh carries 5 decode-gate references require= with a bad path fetch rc 1, naming the missing file Refs engine#3237.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
VERDICT at Independently verified (not from the body)So the bump is forwards only and the commit it lands on is exactly the change the PR says it is. The The two-carrier check is clean (this is the #3144 class that cost me a withdrawn PR): The ask: the pin's own instruction
Either is fine:
Worth knowing either way:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 5541e97: READY
Pin verified by API, the way a gitlink claim has to be: 3949f18e...4e6261b → status=ahead, ahead_by=6, behind_by=0, files=43, and main's config/npu-kernels.config is still 3949f18e826e, so this is six commits forward and loses nothing.
What the six are matters, because I reviewed four of them as PRs and two of them change what a kernel set contains:
450b3bf01— the b8 family rebuild with the #112 int8 microkernel (npu#114, which I READY'd after the README's emission pointer was fixed);5820a60a6— the int8 microkernel + pipelined family itself (npu#112);b953348b9— the.attncopyright fix (npu#113, the one-lineLINE_STYLESentry that turned npu-kernels green again);ffe3f389e— the row-tile table padded per phase (npu#118), i.e. the fix for the set that answered "guns guns …";f0d8c2ba3— the hostlm_head16-partial-sum change.
So this bump is the release vehicle for the padding fix, and that is exactly the kind of move I asked to see paired: npu-kernels#117's decode gate exists to refuse a freshly built set that does not decode, and ffe3f389e is a change to the tiling layout that produced such a set. The body should say whether the gate ran on 4e6261b — if it did, that is the strongest evidence this bump is safe; if it did not, the release ships a tiling change whose only proof is the unit-level arms.
One mechanical note, unprompted by the diff: 43 files includes ELF binaries, so this pin moves ~26 MB of artefacts; nothing to verify in a reviewer's lane beyond what npu#114's hashes covered, but a reader of the config alone would not know that.
Not verified: the device behaviour of the six commits and the gate run (needs an npu-hold ticket; I hold none and started nothing).
|
Measured, before and after, with the pin checker — the bump does what it says, and it leaves the two npu pins on different commits. Not a verdict (this PR is ~15 minutes old). The new sha is real and is the branch tip: and So the pin goes from "off every advertised ref" to "at the tip of the branch it tracks", which is exactly the release-gating problem the body describes. The one question worth asking before it lands, because the two npu pins are one repository:
(Worth noting as a process point: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 5541e97: READY
A pin bump is the one change where the reviewer's whole job is the ancestry, so I checked it that way — and unlike the last npu bump I looked at, every axis is clean:
4e6261b7 = origin/npu-dx (the default branch; origin/HEAD -> npu-dx) advertised ref ✓
git merge-base --is-ancestor 3949f18e826e 4e6261b7 yes → forward move, not a side-step ✓
3949f18e..4e6261b = #117 (the decode gate), #118 (per-phase tile padding), #116 (host head),
#114, #113, #112 exactly what the title says ✓
git grep 3949f18e (excluding the historical releases table) nothing else names the old pin ✓
So this is the bump that gives the release both halves of engine#3237: the cause (#118, the padded rt_tab) and the gate that refuses a set before it is signed (#117).
The best line in the PR is the second one. require= gains npu-dx/scripts/decode-gate.sh, and scripts/fetch-private.sh:54-56 checks every require= entry under <dest>/<path> and exits non-zero — which stops the release — if one is missing. That makes the pin self-verifying in the one direction that matters here: it cannot point at a tree that has the source pin but not the gate, which is precisely the shape a cache-missed weekly build had before this pair landed.
Two notes, neither blocking:
docs/releases.md's v2026.43 table still says17ed5be7a28aand that is correct — it is the record of what that candidate was built from, and an earlier PR that tried to update it was closed for that reason. Worth a sentence in the body if you want a reader not to "fix" it: the live pin isconfig/npu-kernels.config, the table is history.- I did not run
fetch-private.shagainst the new sha (it needs credentials for the private repo and creates a checkout). The ancestry above is the part that a checkout would only re-confirm — but if you have run it, that sentence in the body is worth more than my reading, because it also proves therequire=path resolves underpath=addons.
|
Coverage note, so the green checks are not read as more than they are: nothing in CI exercises this config. Checked rather than assumed — That makes the two They are the same call What I have not done, said rather than implied: no |
|
Verdict requested — c34 rides this. The pin bump is what puts the decode gate and the rt-table fix into the release's fetched tree; verified with the engine's own |
|
Release-ordering warning, measured at the sha this PR pins — read before the 23:00 cut.
and v2's non-zero seed is measured broken (0/5 decode, both toolchains) — while the same pin does carry the decode gate (#117). So with this pin and without npu-kernels#119, a cache-missed weekly build makes a v2 set, the gate refuses it, and there is no stick. The gate behaving correctly is exactly what turns this from a bad stick into no stick. npu-kernels#119 flips both defaults to
Flagging here because this PR is the one the merge loop will take tonight (green, READY, |
The release cannot gate anything until this lands: the decode gate and the rt-table fix merged into
npu-dxtoday, and the engine's pin predates both.Measured on the tree rather than inferred from the PRs: a real
scripts/fetch-private.sh config/npu-kernels.configrun with the current config produces anaddons/checkout containingnpu-dx/scripts/build-kernels.shand nodecode-gate.sh— i.e. therelease-kernels.shin that tree is the pre-gate version, so a weekly build that misses the kernel cache would again ship a set nobody decoded. That is the exact release risk engine#3237 was filed about, still live downstream of the fix.The change
Two lines, one file:
The
require=addition is what keeps the gate from disappearing again: the script lives underaddons/, so a future pin that loses it would otherwise fetch a tree whose release has no gate at all, silently.Verified both ways with the engine's own fetch
The negative arm is the one that matters for a
require=: it proves the fetch refuses a pin missing the gate rather than shipping without it.Refs engine#3237. The gate's own behaviour is verified on the device in #117's thread (known-good set 5/5
rc 0, garbage set 0/5rc 1refusing, no-binary/no-packrc 2); this PR only makes that gate reachable from a release.