Repository navigation
Paper: the composed exact stack on DFlash (Table 1 rows, Section 4.5, Limitations, Appendix E.4) - #199
Conversation
|
@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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 56b8f71b16
ℹ️ 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".
| \paragraph{The error model is an assumption} Agreement with \Rstock{} rests on an assumed model of a closed-source kernel's accumulation; neither of the two models covers BF16 split-$K$ partial sums (Section~\ref{sec:headcontracts}). Crafted-input probes on this GPU find that the stock head kernels accumulate as the \modelhopper{} assumes, with more fractional bits than the \modelcons{} needs (Section~\ref{sec:headcontracts}), but the probes used products with one exact operand and reached neither subnormals nor other GPUs, so neither model is established for all inputs. The replayed positions cannot tell the two models apart (Section~\ref{sec:rstock-share}). The engine's BF16-output kernel hides its accumulator, so the error measured on its FP32-output variant (Section~\ref{sec:headcontracts}) is indirect evidence \ev{kernel-error}. The int8 kernel, too, is checked per compiled variant, not proved to compute the modelled arithmetic (Section~\ref{sec:kernel-design}). | ||
|
|
||
| \paragraph{Replay, not serving} The recomputation and fallback figures come from offline replay of plain decoding, at the capture's batches of up to 16 positions (Figure~\ref{fig:candidates}b also groups consecutive positions into larger calls), and the engine check from 64 prompts under the \modelcons{} only. Each engine change of Table~\ref{tab:levers} was timed in a single session. Three results are not yet measured: the effect of the certified head on served decoding \pend{bench-cert}, the engine changes composed \pend{stack-composition}, and the acceptance of fixed-noise verification against the stock rejection-sampling verifier \pend{kernel-seeded-engine}. | ||
| \paragraph{Replay, not serving} The recomputation and fallback figures come from offline replay of plain decoding, at the capture's batches of up to 16 positions (Figure~\ref{fig:candidates}b also groups consecutive positions into larger calls), and the engine check from 64 prompts under the \modelcons{} only. Each engine change of Table~\ref{tab:levers} was timed in a single session, the composed DFlash changes in three. Two results are not yet measured: the certified head's own effect on served decoding \pend{bench-cert} and the acceptance of fixed-noise verification against the stock rejection-sampling verifier \pend{kernel-seeded-engine}. |
There was a problem hiding this comment.
Exclude the failed head arm from the timing claim
The updated Table 1 now includes the standalone certified-head change, but that arm never served a request because every launch ran out of memory, as Appendix E.4 explicitly states. Consequently, the universal claim that each engine change in the table was timed in one session is false; qualify it to cover only the standalone changes that successfully ran, while separately noting the three composed sessions.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in d6511f9. Limitations now reads: "Each engine change of Table 1 that ran alone was timed in a single session, and the composed DFlash changes in three." The certified head's own served effect is listed as unmeasured, "since alone it did not start at full capacity". Table 1's caption names the same exceptions: "one session each, except the certified head (none) and the composed rows (three)". Rebuilt: 0 warnings, checker clean, Conclusion and References heading still on p10.
56b8f71 to
aece15c
Compare
|
@codex review |
1 similar comment
|
@codex review |
|
Verdict: REQUEST CHANGES at d6511f9 Reviewer 2. I checked every number and condition the PR adds against evidence/stack/ and evidence/drafter/, at 56b8f71, then reviewed the rebase (aece15c) and the Codex fix (d6511f9) as deltas, and built all three heads. The numbers are right throughout. One condition of the equality step and the timed sessions is misstated, in two places, and that is the only blocker. Checked
Blocking
Optional
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6511f9290
ℹ️ 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".
|
|
||
| \begin{table}[!b] | ||
| \caption{Engine changes against the tuned stock arm each modifies (group rows), flags otherwise identical; one session each. Ratio: throughput $y$ with over without the change; brackets: range over the session's run pairs. Outputs: greedy outputs against stock, same configuration; exactness is not established where not compared.}\label{tab:levers} | ||
| \caption{Engine changes against the tuned stock arm each modifies (group rows), flags otherwise identical; one session each, except the certified head (none) and the composed rows (three). Ratio: throughput $y$ with over without the change; brackets: range over the session's run pairs. Outputs: greedy outputs against stock, same configuration; exactness is not established where not compared.}\label{tab:levers} |
There was a problem hiding this comment.
Distinguish confidence intervals from pair ranges
For the newly added composed rows, the parenthesized values are 95% t intervals across three session ratios, as footnote d and Appendix E.4 state, rather than ranges over within-session run pairs. The caption still defines every bracketed value as a run-pair range, giving the composed results two incompatible interpretations; qualify that definition for the single-session rows and identify the composed rows' intervals separately.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in c7c18fe. Table 1's caption now reads "brackets: run-pair range, or 95%
d6511f9 to
2c1fc4b
Compare
|
Reviewer 2 round 1 (issuecomment-5949960308), fixed at 2c1fc4b, rebased onto main 25ccee6 (after #197 and #202):
Build at 2c1fc4b: paper 51 pp and notes 54 pp, 0 warnings, @codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. 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: REQUEST CHANGES at 2c1fc4b (procedural only: one Codex comment is unanswered) Reviewer 2. A delta review against my comment at d6511f9 (issuecomment-5949960308). The content is ready.
Blocking (procedural)
|
…s and new Appendix E.4 Folds evidence/stack (#177). Fold verify, backbone GEMM routing and the certified head, composed on the tuned stock DFlash arm with 16-token blocks and timed in three pre-registered sessions: per-request rate at c = 1 0.986x (95% t interval 0.982-0.989), throughput at c = 1 0.990x (0.987-0.993) and at c = 8 1.073x (1.057-1.089), exact up to rounding in the equality step (320 prompts at c = 1). The certified head alone did not start at full capacity: its verify CUDA graphs took 3.2-3.3 GB more than stock's beside the stock verify's 48.75 GB per-position state cache. Intervals are rounded outward, as in evidence/stack/README.md. Appendix E.4 gives every arm (Table tab:stack-arms, from ratios.csv), the equality step, the start-up memory, the FGH-against-FG reading labelled as such, and the derived ceilings. The stack-composition register entry becomes an evidence entry. Section 4.5 also takes the writing lead's three wording notes (sentence split, "which excludes ... but not smaller ones", MTP "at 0.991 times its throughput").
…m covers only the changes that ran alone Limitations now says each change that ran alone was timed in one session and the composed DFlash changes in three, and that the certified head's own served effect is unmeasured because alone it did not start at full capacity. Table 1's caption names the exceptions: the certified head (no session) and the composed rows (three).
…s 64-position limit at c = 8; decode-rate basis of the ceiling The equality step ran at c = 1 with a running limit of 4 and the timed sessions at c up to 8 with a running limit of 64 (evidence/stack/README.md lines 404-405); E.4 and Table 1 footnote e now say so. Section 4.5 notes that at c = 8 most verify calls exceed the certified head's 64-position limit, and E.4 names the ceiling as a per-request decode rate.
…t run-pair ranges
Limitations no longer repeats why the certified head alone is unmeasured (Table 1's row and footnote c say it did not start), and Table 1's caption names the two exceptions without their session counts (the certified head's row shows none, footnote d gives three).
2c1fc4b to
cb6c767
Compare
|
Page check at cb6c767 (main 8abab3b), built in the CPU window at 10:59 UTC: paper 51 pp and notes 54 pp, 0 LaTeX warnings, |
|
Verdict: APPROVE at cb6c767 (on the text; Codex has not reviewed this head) Reviewer 2. A delta review against my comment at 2c1fc4b (issuecomment-5950075013).
Before merge: Codex last reviewed 2c1fc4b and has not been requested on cb6c767. The changes since then are the three lines above, but the merge rule needs a clean Codex review on the final head. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! 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". |
The paper still said the composed engine changes were not yet timed (
\pend{stack-composition}). They have been: #177 committed three pre-registered sessions of the exact stack on DFlash inevidence/stack/. This PR folds that result into the paper. It changes results content only. The one exception is three wording notes from the writing lead on §4.5 sentences that carry numbers.What changes
Table 1 (
tab:levers), DFlash group. Two kinds of row are added:startup_memory.csv), and beside the stock verify's 48.75 GB per-position state cache the server ran out of memory at start-up in every session.The caption now says "one session each, except the composed rows", and footnotes c-e give the conditions.
§4.5 "Engine changes". The last sentence no longer says the change is not yet timed. It gives the declared headline instead: per-request rate at c = 1 0.986x (0.982-0.989, three sessions) and throughput at c = 8 1.073x, pointing to App E.4.
§4.5 wording notes from the writing lead. (a) The semicolon sentence is split ("...for every drafter. At c = 1, DFlash-4B..."). (b) The GSM8K clause now reads "which excludes losses above about 3.3 points (derived) but not smaller ones"; "(derived)" stays because reviewer 2 asked for it on Main text: the served frontier and the exact engine changes (Section 4.5); Tables 1-4 to the appendices #181. (c) The MTP clause becomes "but leave MTP, whose outputs were not compared, at 0.991 times its throughput".
Limitations, "Replay, not serving". The composed changes were timed in three sessions. Two results remain unmeasured: the certified head's own served effect (
bench-cert) and fixed-noise acceptance.New Appendix E.4 (
app:stack-composition). It covers the design, with arms, order, ranges and decision rule declared before any timed run, and a new tabletab:stack-armswith x and y for every arm at c = 1, 2, 4, 8 fromratios.csv. It also gives the equality step and the composed result against its declared range. H's memory failure follows, with the FGH-against-FG reading labelled as an unbalanced-order reading, not a test. The section closes with the derived bandwidth-floor ceilings (1.81x at c = 1, 3.15x at c = 8), the block-16-only scope and the cross-session comparison with block 8 at c = 8. The App E intro says that only E.4 runs the certified head.Register.
stack-compositionmoves from the pending list to an evidence entry: README,composition.json,ratios.csv,sessions.csv,startup_memory.csv,last_lever.csv,accept.csv,gap_by_concurrency.csv,ceiling.json,equality/gate.jsonandequality/table.csv, with its producers.Number checks
Every number was checked against
evidence/stack/on main. Intervals are rounded outward, as inevidence/stack/README.md, so every cell oftab:stack-armsmatches the README's two tables digit for digit. Two examples: y at c = 1 has raw interval 0.98793-0.99294, printed 0.987-0.993, and y at c = 8 has 1.0577-1.08853, printed 1.057-1.089. Decisions use the unrounded interval. The caption says so for the one cell where rounding would mislead: G's y at c = 2 has upper end 0.9992, a decided slowdown, printed as 1.000. No isolated ratios are multiplied. The FGH-against-FG figures are the per-session readings inlast_lever.csv. The b8 fold figure (1.058 at c = 8) is fromevidence/drafter/fold_timing/summary.json.Build (local, not committed)
scripts/check_paper_references.py --rev HEADevidence/stack/(and the b8 fold figure above)Before the rebase onto F1 the main text had no slack on p10. To fit, Table 1's new footnotes are terse and the Limitations sentence drops "on DFlash with 16-token blocks only", which the table group row and App E.4 state. After the rebase (main 1fefa6a) the References heading is back on p10 with a few lines to spare.
Rebase onto F1 (#195)
Head aece15c is rebased onto main 1fefa6a. The one conflict was in setup.tex §4.5. It was resolved by keeping F1's frontier figure and transport figure* where F1 puts them and this PR's paragraph text, which F1 had not changed.
tab:stack-armsnow uses F1's\tablefont. M3 edits other paragraphs of discussion.tex (Scope, Conclusion), not "Replay, not serving".Ledger rows
startup_memory.csv, README "H: not timed alone"ratios.csv(FGH, y),equality/gate.jsonratios.csv(FGH)tab:stack-armsratios.csv,last_lever.csv,accept.csv,ceiling.json,gap_by_concurrency.csv,cross_session.csv, READMEstack-compositiondevitem to evitem