Repository navigation
Appendices: cite the certified-head kernel's evidence (#45) - #154
Conversation
Register: new group with evitems kernel-impl, kernel-tma, kernel-error, kernel-invariance, kernel-replay, kernel-rowwise, kernel-path, kernel-micro and kernel-seeded, from evidence/certified_head on main (keys agreed with the author, who swaps the main-text markers). New pending entries kernel-union (traffic of a union kernel; the W8A16 pass reads the whole int8 head) and kernel-seeded-engine (acceptance against the stock speculative sampler, with #52). The kernel-replay and kernel-micro devitems go; the impl, error, invariance, rowwise, path and seeded devitems stay while the main text still cites them. Appendix markers: A.2 states the stock FP32-output kernel's observed error (2.07e-6 of sum|wh|, 295x and 58x inside the two models; the BF16-output accumulator unobservable); D.1's contracts table cites the 60,000-row replay for greedy and seeded decisions; E's levers table and G.2's H3 rows give the head-alone timings (best mode 0.62-0.69 of stock up to M = 16, faster up to 64, slower from 128; W8A16 pass alone 0.57-0.78 up to 64).
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Verdict: REQUEST CHANGES (be4f545; 1 blocking, a one-phrase fix. Every number checks out.) Blocking
Checked against
Build of this head Transitional state, not blocking Codex's run on this head failed ("Something went wrong"), so I have re-requested it. |
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Verdict: APPROVE (7e44d39) The fix is right: kernel-impl now says the 145 tests ran at 9f7f369 and that later commits add host-side refusals with CPU tests. My build of 7e44d39 with |
#154 added evidence entries for the certified head under the same keys and kept these devitems (kernel-impl, -error, -invariance, -rowwise, -path, -seeded) while the main text still cited them as pending. The previous commit swaps every one of those markers to the evidence entry, so the devitems go. kernel-seeded-engine and kernel-union stay pending.
This PR folds #45 (
evidence/certified_headon main) into the appendices and the register. It changes.texfiles only, with no PDF. The author and I agreed the split: the author's main-text PR, stacked on #143, swaps the main text's\pend{kernel-*}markers to\ev{...}and then deletes the matching devitems. The key names stay the same, so those swaps need no other edits.Register (G.1, G.3)
New group, "The certified head kernel", with nine evitems:
kernel-impl:src/certified_head/, the three test files,gpu_tests.log(145 passed),x8s2_compile.log(148 of 148 variants) andstress_defaults.json(0 misses in about a million row-checks per default tile).kernel-tma: the int8 TMA faults in Triton 3.7.1, fromtma_repro,tma_candidates,large_m_check,tma_m128_checkandtma_m128_neighbourhood. Both fault families are refused. Triton int8 TMA fault: needs Triton >= 3.8.0 and ptxas >= 13.3 to go away (evidence/triton_tma) #142 is not cited.kernel-errorandkernel-invariance:stock_invariance.json.kernel-replay:replay_decisions.jsonandfallback_vs_model.json.kernel-rowwiseandkernel-path:micro_head.json,head_path_time.csvandhead_path_table.md.kernel-micro:head_primitives.json,ncu_gemv_summary.jsonandpointer_vs_tma_*.json.kernel-seeded: seeded rows inreplay_decisions.json, the sampled path inmicro_head.json, and the small-probability guard inhead.pywith its tests.New pending items:
kernel-union: weight traffic of a kernel that reads only the batch union of candidate rows. It was not measured, because the W8A16 pass reads the whole int8 head per call.kernel-seeded-engine: acceptance against the stock speculative sampler, which needs Certified LM head in SGLang: greedy decode, verify, drafting and fixed-noise sampled verify #52.Removed: the
kernel-replayandkernel-microdevitems, which nothing cites any more.Kept until the author's PR lands: the
kernel-impl,-error,-invariance,-rowwise,-pathand-seededdevitems, which the main text still cites. Until then those six keys appear as both evidence and pending. That is a transitional state on main, and the author's PR removes them.Appendix text
kernel-seeded-engine).bench-cert). I shortened this cell after the first build: the longer version made Table 21 overflow its float page by 7.7 pt.kernel-union.I recomputed every number from the committed JSON and CSV files, not from the README:
fp32_output_error:max_rel_to_sum_abs2.07e-6, with both model radii.agreement_counts: 60,000 with fallback, for greedy and for seeded at both temperatures.head_path_time.csv:best_certified_us / stock_usis 0.62, 0.65, 0.69, 0.69, 0.69, 0.81, 0.93, 1.31 and 1.65.head_primitives.json: the W8A16 pass over the stock chain is 0.57-0.78 up to M = 64 and 1.17-1.46 at 128-256.Checks
scripts/check_paper_references.pyis clean, and every new register path exists on main.self_review.md: every scope is stated (head alone, best mode, the model, M, rows), and every untested part stays pending.