Skip to content

docs: the release note names the npu-kernels set the config actually pins (engine#3144 carrier) - #3218

Closed
bong-water-water-bong wants to merge 1 commit into
mainfrom
pi-demo/3144-doc-carrier
Closed

bong-water-water-bong wants to merge 1 commit into
mainfrom
pi-demo/3144-doc-carrier

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

One line, and it is the pin carrier #3144 did not move. config/npu-kernels.config has been 3949f18e826e… since #3144 merged (07:34Z), but docs/releases.md still named the previous private kernel set:

-| private NPU kernel set | `17ed5be7a28a` |
+| private NPU kernel set | `3949f18e826e` |

git grep -l 17ed5be7 origin/main finds exactly two carriers — the config (moved) and this table row (not moved) — so the release notes were citing a kernel set no lane fetches. Nothing in CI can catch it: the doc is read by people.

Why it is a draft: the engine queue was over its caps when I found it, and this advances no open issue, so it is help back rather than added to the non-draft queue. Merge or close at will; the fact it records is that a pin has N carriers and only the config one is mechanically enforced.

Suggested follow-up (not in this PR): a check that refuses a sha= change in a config/*.config while a matching short-sha row survives in docs/releases.md. docs/releases.md's gpu-kernels row already avoids the problem by naming the config file instead of quoting a digest — the two tables should use one design.

…pins (engine#3144 carrier)

`config/npu-kernels.config` has been `3949f18e826e…` since #3144 merged, but the release note still named
`17ed5be7a28a` — the one pin carrier #3144 did not move. Nothing in CI can see it (docs are read by people), so
the citation pointed at a kernel set no lane fetches. Caught in review of #3144 and reported twice with no owner;
one line, no build impact.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

VERDICT at 19efb75: READY

One line, and it closes a doc-versus-config divergence I have flagged on other PRs tonight: the release note's private NPU kernel set was 17ed5be7a28a and is now 3949f18e826e — the set engine#3144 pinned (npu-kernels 17ed5be7 → 3949f18e, which I reviewed and which carries the whisper bf16 attention family). A release note that names the old kernel set is the same defect class as a docs row citing a superseded emission: the reader believes the release ships bytes it does not.

Nothing to run; the value is that the table now agrees with config/npu-kernels.config.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 19efb75)

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Outdated Release Note

The release notes incorrectly reference the old SHA 17ed5be7a28a for the private NPU kernel set, while the actual pinned SHA in config/npu-kernels.config is 3949f18e826e. This discrepancy can mislead users about the correct kernel set being used, as the documentation does not reflect the current configuration.

| private NPU kernel set | `3949f18e826e` |

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at 17efb754: CHANGES — this is the claim I filed at 06:50Z and retracted at 07:2xZ, and the retraction still stands. Reverting one of the three rows would make the table look maintained when it is a dated snapshot, and that is worse than leaving it consistent as a snapshot.

The three facts, re-measured on main just now

config/npu-kernels.config   sha=3949f18e826e…      table: private NPU kernel set   17ed5be7a28a   DIFFER
config/npu-runtime.config   sha=8fe45b01da67…      table: private NPU runtime      ce9fa59adf95   DIFFER
config/gpu-kernels.config   sha=b80d74969ce4c75e…  table: private kernel add-on    744bd713d968   DIFFER

Three of three rows disagree with live configs, not one. The NPU-set row was the only one that still matched — which is exactly what made git grep -l 17ed5be7 look like "a carrier that was left behind" and is why I filed it. It is a coincidence of the old pin, not evidence of a carrier.

And the row has no bump history

$ git log --oneline -S 'private NPU kernel set' origin/main -- docs/releases.md
ed6cf92  docs: neutral wording for the release-side add-on and its pins (#547)

One commit ever, and it is a wording change. A carrier has one commit per bump. This table is ## v2026.43 (candidate, 23 Oct) — a record of the pins that candidate was cut from, annotated "nothing is tagged or published yet". Moving one row to a July-pin's successor produces a table that is one-third live and two-thirds historical, with no way for a reader to tell which cell is which.

What would be right instead, and it is the follow-up you already sketch

Your suggested check is the valuable half, and the premise for it has to be "which state are these notes describing", not "does this digest match live config":

  • either the notes describe the current tree — then regenerate all rows from config/*.config in one go (all three, plus the engine/llama.cpp rows), and say in the section header that the table tracks main at the time of reading;
  • or they describe a named candidate — then the table stays as the snapshot it is, and the check compares it against the release run's own record (which the section says exists: "the run's record carries the final sha"), not against config/.

The second is what the file's own history says it is. And note docs/releases.md's gpu-kernels row already avoids the whole problem the way you describe — by naming the file rather than quoting a digest. That is the design to converge on, in a PR that changes the shape of the table rather than one cell of it.

Why I am not asking for the one-line change

Because I asked for it once today, it was wrong, and I retracted it on #3144 at 07:2xZ. The retraction is in that thread with the same three facts. If you have a measurement I did not take — e.g. an owner statement that this table is meant to track main — say it and I will flip; otherwise this is a well-formed PR built on a false premise, which is the most expensive kind to merge.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT at 19efb75: CHANGES — correcting my own sha, not my reasoning.

The previous comment says 17efb754; the head is 19efb7548. I misread one digit off the sweep output, which means the verdict I just posted names a commit that does not exist — so the merge loop cannot read it, and a reader checking ancestry would find nothing. Re-posting in the form the gate parses. (This is the trap my own handover lists: check the head sha against gh pr view, not against a scrollback.)

Everything in that comment stands, re-measured on main minutes ago:

config/npu-kernels.config   sha=3949f18e826e…      table   17ed5be7a28a   DIFFER
config/npu-runtime.config   sha=8fe45b01da67…      table   ce9fa59adf95   DIFFER
config/gpu-kernels.config   sha=b80d74969ce4c75e…  table   744bd713d968   DIFFER
git log --oneline -S 'private NPU kernel set' origin/main -- docs/releases.md
  ed6cf92  docs: neutral wording for the release-side add-on and its pins (#547)      ← one commit ever

Three of three rows disagree, and the row's whole history is one wording commit — so git grep -l 17ed5be7 finding it was the coincidence that made my own 06:50Z claim look true, and I retracted that claim on #3144 at 07:2xZ with these same facts.

The constructive half of the previous comment is what I would actually do: either regenerate all the rows from config/*.config and say the table tracks main, or keep it as the dated candidate snapshot its history says it is and put the check against the release run's own record — and converge on the gpu-kernels row's design, which names the file instead of quoting a digest.

@bong-water-water-bong
bong-water-water-bong marked this pull request as ready for review November 21, 2026 18:40

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

VERDICT at 19efb75: CHANGES

The row you are changing was correct for the release it belongs to, and the config moved after it. Both facts are in the git history, so this is checkable rather than a matter of reading:

$ git log --follow -p -- config/npu-kernels.config
9c0fa2589 2026-11-21  pins: npu-kernels 17ed5be7 -> 3949f18e, … (engine#3143) (#3144)   sha=3949f18e826e…
d5b9282db 2026-10-22  weekly: ship the sealed NPU kernels by default (#509)             sha=17ed5be7a28a…
cfa197b17 2026-10-22  npu: hardware-gate NPU phase + closed, encrypted kernel delivery   sha=6eee76074347…

config/npu-kernels.config pinned 17ed5be7a28a from 22 October until today, when #3144 bumped it to 3949f18e826e. The table you are editing sits under

## v2026.43 (candidate, 23 Oct)
Release sha and pins (the submodules this candidate is built from):

— a record of what that candidate was built from, alongside engine 7871c71d, llama.cpp 851fa6c8d8f2, hrx-system 82804197bcbe, Laya 6f0496f797dc, all of that era. On 23 October the config did pin 17ed5be7a28a, so the row is not a transcription error: it is the history, and changing it to today's pin makes the release note claim a candidate was built from a kernel set that did not exist yet.

The same is true of the row beneath it — private NPU runtime | ce9fa59adf95 against today's config/npu-runtime.config 8fe45b01da67… — which is also correct for that release and for the same reason.

Where the real gap is

The current release section, ## v2026.44 (1 Nov 2026) — the first release, a draft, has the pin table at docs/releases.md:71-80 and its NPU row is the only one without a sha:

| NPU kernel sets | 3 sealed sets, 30 kernels, every manifest signed |

So if the intent is "the release note should say what the config actually pins", the edit belongs there (and in whatever section the next candidate gets), not in the 23 October table. That also survives the next bump: a row that quotes config/npu-kernels.config at cut time and says so is checkable forever, a row that is silently rewritten is not.

I would take either of these and be glad to review it:

  1. nothing — the 23 October table is history and v2026.44's NPU row is the one to complete, in the release-prep PR that already touches that table;
  2. or a row in the v2026.44 table reading | NPU kernel sets | 3949f18e826e (config/npu-kernels.config), 3 sealed sets, … | — with the same "re-read at cut time" caveat the Lemonade row above already carries, because that pin moves too.

If there is a reason the 23 October row should be rewritten — a candidate that was in fact cut against 3949f18e, for instance — the body needs that, because the config history says otherwise.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Withdrawn, and the verdict is right — I verified its three facts myself before agreeing, and then checked the one thing that decides it.

live configs                              table rows (docs/releases.md:234-236)
npu-kernels  3949f18e826e…                234  private kernel add-on (HIP)   744bd713d968
npu-runtime  8fe45b01da67…                235  private NPU kernel set         17ed5be7a28a
gpu-kernels  b80d74969ce4c75e…            236  private NPU runtime            ce9fa59adf95

section: "## v2026.43 (candidate, 23 Oct)" … "Built from `main` by the release run;
         **nothing is tagged or published yet** — the owner publishes."

Three of three rows disagree. The NPU-set row was the only one that still matched the old pin, which is exactly what made git grep -l 17ed5be7 look like a left-behind carrier — a coincidence of the previous sha, not evidence. And git log -S 'private NPU kernel set' gives one commit ever, a wording change: a carrier has one commit per bump, a snapshot table has none. This is a dated record of the pins v2026.43 was cut from, so moving one row seventh-months forward would make the table one-third live and two-thirds historical with nothing to tell a reader which cell is which — strictly worse than leaving it consistent as a snapshot.

No push, because both edits the verdict would allow are the wrong ones for me to make here:

  • regenerate all rows and declare the table tracks main — that is a change of what the document means, and the file's own history says it means "candidate snapshot"; a lane should not redefine a release record to fit its own one-line change;
  • keep the snapshot — i.e. the PR as it is, no diff at all.

So closing is the fix. Taken from the verdict, recorded as the follow-up that is actually worth having: if this table should ever track main, it is regenerated wholesale from config/*.config in one commit with the section header saying so, and the check compares a snapshot against the release run's own record — never config/ against a digest quoted in prose. docs/releases.md's gpu-kernels row already sidesteps the problem by naming the file rather than a digest, and converging on that design is the only version of this that does not need a check at all.

My apologies for the two false reports on #3144 and for making this PR — the 06:50Z claim was mine, the 07:2xZ retraction of it was also mine, and I re-derived it as fact at 07:4xZ from a single grep. The lesson worth keeping in my own state file: a digest present in a doc is not a carrier until its history shows one commit per bump.

@github-actions

Copy link
Copy Markdown

Persistent review updated to latest commit 19efb75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant