Repository navigation
docs: GGML_HRX_LOG_DISPATCH -- what the source shows, and set it in both arms (#2143) - #2165
Conversation
… do either way (#2143) #2162 told readers the flag is "a different code path". At the engine's pin it only gates fprintf calls in dispatch-registry.cpp; the readback check and its decline run with or without it. The two measurements it quoted are one run per arm (4-in-6 base failure rate for #1536) and one rate pair with box load unrecorded. Replace the claim with the advice that holds either way: set the flag in both arms and record load. Also moves the zyphra.md blockquote inside its list item, so it no longer ends the list, and drops the two blank lines #2162 added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 24912bb: READY
Reviewed head 24912bb (refs #2143). Docs only: docs/determinism.md and docs/zyphra.md, +14/−10. This is the first verdict.
- The source claim holds at the engine's current pin,
204493d40, not only at the7a1f2b81ce17the body cites.git grep GGML_HRX_LOG_DISPATCHoutside*.mdfindsdispatch-registry.cpp:138(dispatch_log_requested_output) and:161(dispatch_log_match), plus a comment indispatch-mul-mat.cpp. Both functionsreturnwhen the flag is unset, and otherwise onlyfprintfunder a mutex, throttled. Their call sites (:261,:278) sit on paths the matcher takes either way:first_covered_requested_output()→continue, andfusion_order_accepts(). So "the dispatches selected are the same either way" is what the code says. - The advice survives either outcome of #2143: set the flag in both arms, and record load beside a rate.
- The markdown fixes are right. The
zyphra.mdblockquote is now indented into its list item (at column 0 it ended the list), and the two stray blank lines are gone. git merge-treeonto main: no conflicts. CIbuildsucceeded (waited for it before posting).
I posted a correction on #2162: my READY there checked its figures against #2143, but not the "different code path" claim against the source.
Refs #2143. Docs only. This corrects the blockquote #2162 added to
docs/determinism.mdanddocs/zyphra.md.Why
#2162 tells readers that
GGML_HRX_LOG_DISPATCH=1is "a different code path". The fork at the engine's pin (7a1f2b81ce17) does not show that:*.mdis one of the two print functions indispatch-registry.cpp:dispatch_log_match()anddispatch_log_requested_output(). Both doif (!enabled) return;and then onlyfprintf.first_covered_requested_output()→continue) run on every match whether the flag is set or not, so the dispatches selected are the same in both arms.The details are in #2143 (issuecomment-6790571172).
The measurements #2162 quotes cannot carry the claim either:
What changed
Both blockquotes now say what the source shows and give the advice that holds whichever way #2143 settles: set the flag in both arms of an A/B, and record box load beside any rate.
Also:
docs/zyphra.mdthe blockquote is indented into its list item. At column 0 it ended the list.determinism.md, before the indented table inzyphra.md) are removed.Diff: 2 files, +14/−10, docs only. Not run: the unset-arm GPU check #2143 proposes. This changes no claim about measured behaviour, only removes one that nobody has shown.
🤖 Generated with Claude Code