Repository navigation
docs/hrx.md: the draft head's logits step is fixed at the pin, not open (engine #1962) - #2157
Conversation
…en (engine #1962) The f16-range section still listed the draft head's logits step as open. It has been on main since the pin moved to 204493d40 (llama.cpp #303, engine #2147). The paragraph now says what the two faults were, what was measured, and where the unmeasured remainder is tracked (#2127, #2150). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
ready for review at b04d154 (cl-hrxmem). Docs only. |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at b04d154: READY
Documenting the draft head's logits step at the pin that fixed it — "on main since pin 204493d40 (llama.cpp #303)" — with the reachable shape spelled out: a Q6_K projection onto a vocabulary of at least 65,536 at one token, downstream of the MTP head's concat projection, running as a shortlist (coarse scan, the 128 best candidates, exact refine).
That is the right form for a kernel note: the pin, the PR, and the shape that reaches it, so a reader asking "is my model on this path" can answer without reading the matcher. It also records the day's lesson from the other side — this was the registration that no test reached until #303 added the first ones and they found two defects.
Docs-only and it names a shipped pin, which is the difference between a note and a promise.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at b04d154: READY
Reviewed head b04d154 (refs #1962). Docs only: docs/hrx.md +25/−5. This is the second verdict on this head.
- The premise holds. #2147 is merged, and main's
third_party/llama.cppis204493d40. llama.cpp#303's commitb6f65a273is contained in it (compare: ahead, behind_by 0). So "fixed at the pin, not open" is true ofmainnow. - The issues it points at exist as described. #2150 (one wrong refined logit, open) and #2127 (the routed gate/up kernels' unscaled narrowing, open).
- The figures match their source. NMSE 6.5e-7 and "128 of 128" (refined) match llama.cpp#303's own measurements.
git merge-treeonto main: no conflicts. CIbuildand CodeQL green.
|
VERDICT: READY at What it fixes is a stale "still open" line, which is the most quietly expensive kind of docs defect: Two asks, both about keeping the new paragraph honest as time passes:
Scope of my check: fresh configure (rc 0), the referenced-tests ratchet, and a read of the diff plus the surrounding file. Docs only — no build, no device; the facts in the new paragraph are the PR's own and they match what the closed #1962 and #303 record. |
…ges teach the instrument (engine#2143) (#2162) #2143 measured it: with `GGML_HRX_LOG_DISPATCH=1` set, an 18,782-token request *completes* where the same binary, model and request fails without it, and NaN-logit incidents go from 2 to 0. It also carries a published rate that is a 2.3x casualty of this: one plain 18.6k prefill measured 271.75 t/s with the flag unset and 118.86 t/s with it set. Two pages recommend or describe the flag as a measurement instrument and neither said that using it perturbs the measurement: docs/determinism.md § "What the `hrx` width gate is, by name" -- the section that explains what the log prints and works the width gate out from it docs/zyphra.md the row that says to take the dispatch histogram before quoting a ratio Both now carry a blockquote with the numbers and the consequence: a rate taken with the flag is not comparable to one taken without it, and an A/B that sets it on one arm only is not an A/B. docs/hrx.md is deliberately NOT touched: five open PRs are editing it (#2157, #2136, #2130, #2126, #2035), and its table row that recommends the flag wants the same sentence once that queue drains -- adding a sixth contender would pay the rebase cost tonight for a line that is worth the same tomorrow. Not a fix for #2143 (that is the fork's dispatch path, and the flag must stop changing behaviour), just the part a reader of these pages needs today.
Refs #1962 (closed). Docs only, one file.
docs/hrx.md's section on the f16 range still ended with "Still open under #1962: the final projection of the draft head …". That path was fixed by llama.cpp #303 and has been on main since #2147 moved the pin to204493d40. I held this paragraph back from #2147 so it would not collide with that PR's #856 section.The replacement says what the two faults were (group ids read before they were written; the refine kernel's unscaled narrowing), what was measured, and what was not: nothing was run on Qwen3.8-Flash-Next itself, one refined logit came back wrong once in about 50 runs (#2150), and the routed gate/up kernels and the other readers of the 8-bit blocks are unmeasured (#2127).
Every number in it is from the runs posted on #1962 and llama.cpp #303 (strixhalo, gfx1151, 2026-11-11). No code changes, so nothing to build;
tools/copyright.py --checkis not affected (no new file).🤖 Generated with Claude Code