Repository navigation
fix(kreg): parity receipts bound the scalar path (q6_k, apr_q4, apr_q8) (#7205) - #7206
Merged
Merged
Conversation
…r path The rows are arch:any, isa_features:none, so the portable scalar fallback is an admitted path, but the receipts were measured only on the AVX2/AVX-512 host (q6_k 1.94e-7, bound 4e-7). Scalar summation order gives q6_k 1.65e-6, apr_q4 5.57e-7, apr_q8 5.98e-7, so any scalar-dispatch host (clean-room container) failed committed_parity_receipts_hold_on_this_host. Regenerated with APR_FORCE_ISA=scalar via emit_parity_receipts (KREG_EMIT); bound is the documented 2x-measured rule, now the worst path. Test passes under native/scalar/avx2/avx512. Pmat-Ticket: PMAT-TBD Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
§13.11 rung 1 — quorum shadow verdict Shadow mode: this records a verdict and merges nothing. A refusal |
…y receipts Verified the committed matvec parity receipts hold on aarch64 (NEON seat) and x86_64 under every forced ISA; no per-arch bound needed (served errors match bit-for-bit, worst ratio 0.81 of bound). Pmat-Ticket: PMAT-TBD Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…MAT-7206) Pmat-Ticket: PMAT-7206 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
This was referenced Nov 19, 2026
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.
Summary
Clean-room failed committed_parity_receipts_hold_on_this_host on the ARM64 seat: cpu.matvec.q6_k max_rel_err 1.65e-6 > bound 4e-7. The q6_k, apr_q4 and apr_q8 receipts had been measured on an AVX2/AVX-512 x86 host only, while the registry rows are arch:any, so every admitted path must fit the bound. Root cause (five whys): the single tolerance_rel was derived from one ISA path. No kernel change is involved.
Fix: re-emit the three receipts with the documented emit_parity_receipts command (APR_FORCE_ISA=scalar); bounds follow the existing 2x-measurement rule: q6_k 4e-6, apr_q4 2e-6, apr_q8 2e-6. The host field of those receipts now names a host class (x86_64-seat).
Measured
committed_parity_receipts_hold_on_this_hostand it passed. Earlier run 44183778444 (14b22bf) was x86 only. The only diff 14b22bf..d4580e7 is the host field of three receipts.Closes #7207
Closes #7208
Closes #7209
Refs #7205
keep-open: #7205 closes by hand after the ARM64 clean-room run is recorded
ont-delta: none
🤖 Generated with Claude Code