Repository navigation
Appendix F: fold in the repair verify decomposition (#89) - #92
Conversation
Stage A's verdicts are now stated as verdicts about SGLang's FlashInfer GDN verify kernel, which the DFlash card configuration selects because the verify kernel follows the decode backend at the pin. Measured: the per-position state writes take 0.26, 1.26 and 4.10 ms (9.1% of V(256)). The P3 estimate at B=256 becomes 2.89/2.77 and the state-free audit ceiling 5.18x. The decomposition is no longer described as queued. SGLang's Triton GDN verify kernel is 2.06x faster at B=64 and 2.34x at B=256. A new table gives the Stage A speedups derived on it, against a DFlash baseline on the same kernel: perfect blocks reach 5x from B=64, and P3's estimate passes at B=256. Everything on that kernel is marked pending exactness classification. P2 now turns on drafting; P3 stays refuted by Stage B. New register entry repair-verify; repair-verifier narrows to the kernel trace, the same-session control, the Triton exactness classification and the reference-continuation acceptance. The P2 and P3 status rows and the Appendix F introduction are updated.
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bb3f25e94c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
| \devitem{drafter-train}{Which limitation of the drafter the measurements support, and the decision on training}{\nolinkurl{evidence/drafter/}} | ||
| \devitem{drafter-p6}{P6: the rate-trained selector against the same selector with the strongest matched objective, at fixed width}{\nolinkurl{evidence/drafter/}} | ||
| \devitem{repair-verifier}{Decomposition of the verify pass's growth with width (a verify without per-position states, Nsight Systems at $B=64$ and 256), which decides the two-pass ceiling for an audit without per-position state writes, and the acceptance of the reference continuation per width}{\nolinkurl{evidence/repair/}} | ||
| \devitem{repair-verifier}{A kernel trace of the verify pass at $B=64$ and 256, a same-session control of the three verify variants, the exactness classification of the Triton GDN verify kernel against the FlashInfer configuration, and the acceptance of the reference continuation per width}{\nolinkurl{evidence/repair/}} |
There was a problem hiding this comment.
Classify the Triton kernel against plain decoding
When this pending experiment is executed, comparing the Triton verifier only against the FlashInfer configuration cannot provide the exactness classification required by the new Stage A results: the same change states in app_drafting.tex:112 that every Triton-derived figure is pending classification against plain decoding, while the FlashInfer speculative path can itself diverge from plain decoding. Update this item to require the plain-decoding comparison (optionally retaining FlashInfer as an additional control), or the pending work can be completed without resolving whether the reported speedups use an acceptable numerical path.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 8b8413d. The repair-verifier item now asks for the exactness classification of the Triton GDN verify kernel against plain decoding, with the FlashInfer configuration as a further control. That matches the Appendix F text.
Address the Codex comment on #92. The pending item now asks for the exactness classification of the Triton GDN verify kernel against plain decoding, as the Appendix F text says, with the FlashInfer configuration as a further control. That configuration can itself diverge from plain decoding.
Repair workstream's check of #92. All three savings compare the decomposition session with the Stage A session's V(B). The draft phase, untouched by either change, ran 1.8-2.6% shorter in the later session, which bounds the drift; the same-session control stays pending.
|
Verdict: APPROVE Reviewed head 02c3ff0 (bb3f25e, 8b8413d, 02c3ff0), which folds #89 into Appendix F Test 1. Every new figure matches the #89 evidence:
The scoping is right.
Register. Build and checks.
Two notes:
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! 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". |
Folds the repair verify decomposition merged in #89 into Appendix F, the status table and the evidence register. The main text does not discuss P2 or P3 and is unchanged.
What Test 1 now says
stage_a_oracle.csv, now measured at B = 16, 64, 256). Dropping the per-position FP32 writes saves 0.26, 1.26 and 4.10 ms, which is 5.3, 8.1 and 9.1% of V(B). As a result:stage_a_timing.json, new entryrepair-verify). The whole pass is 2.06x faster at B = 64 and 2.34x at B = 256 at one request. Everything on this kernel is marked pending exactness classification, because its greedy outputs differ (7.603 against 7.675 tokens per cycle). The baselines' gain is stated as not established, since they are single runs from two sessions.stage_a_oracle_triton.csv, new Table 24, derived). Against the DFlash baseline on the same kernel (7.302 ms, f = 2.39%, so 5x needs 5.54 in decode):repair-verifiernarrows to:The P2 and P3 status rows and the Appendix F introduction are updated to match.
Every number was checked against
stage_a_oracle.csv,stage_a_oracle_triton.{json,csv}and the repair README. One discrepancy is flagged to the repair workstream: the README's FlashInfer derived table still shows the old S_b estimate of 2.90 / 2.78 at B = 256. The paper uses the CSV's measured 2.89 / 2.77.Validation
latexmk -pdfbuilds 74 pages with no warnings. The main text ends on page 10. The rebuiltpaper.pdfis committed, and I looked at the three changed pages.python scripts/check_paper_references.pypasses; every new path exists on origin/main.