Repository navigation
Paper milestone 4: moonshot ceilings and first lever runs; P6 citation fixes - #36
Conversation
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: 04d1513468
ℹ️ 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".
| because per-request traffic cannot hide behind itself while the weights stream once. $P$ is taken as 70\% of the BF16 and 60\% of the FP8 datasheet peaks, assumptions stated so that the ceilings can be recomputed. Two consequences follow before any measurement. As $B$ grows the throughput ceiling approaches $1/(F/P+s/\mathrm{BW})$, set by the per-request state and the arithmetic rather than the weights, so halving the state's bytes or writing it less often raises it while a faster head does not; and even with every byte removed, the arithmetic term caps an FP8 engine, so no single lever gives an order of magnitude at high concurrency. At batch one the weights bound the step, and the draft head and the target's weight bytes are the terms to cut. | ||
|
|
||
| \pending{moonshot: derived ceilings per lever stack and measured decode-step times to $B=1024$ per state and weight format; \nolinkurl{evidence/moonshot/ceilings.csv}, \nolinkurl{evidence/moonshot/decode_ceiling.csv}} | ||
| Table~\ref{tab:stack-ceilings} and Figure~\ref{fig:stack-ceilings} evaluate the floor for stacks of levers (\nolinkurl{evidence/moonshot/ceilings.json}). The bandwidth input is the profile workstream's measured read peak of 3.79~TB/s, taken here as an input whose evidence is \pending{profile}, and $P$ is assumed as above; the ceilings are derived, not measured. At batch one the weights set a floor of 2.22~ms per token (451 tokens/s); plain decoding measured 281 tokens/s at concurrency one in a single run, 62\% of that floor (\nolinkurl{evidence/moonshot/lever_sweeps_quick.csv}). At large batch the plain engine's ceiling is 23.7k tokens/s, because each request moves 114~MB per step. Halving the state bytes, writing the state less often and moving weights and cache to FP8 raise the ceiling to between 34k and 79k tokens/s; none reaches ten times the plain engine's, because 8.4~GFLOP per token cap an FP8 engine near 140k tokens/s even with every byte removed. |
There was a problem hiding this comment.
Use the batch-one value from the stated floor
The stated 2.22 ms / 451 tokens/s value includes only W/BW, whereas Equation 10 and the CSV-backed figure include the per-request term as well: the baseline batch-one row in evidence/moonshot/ceilings.csv is 2.249 ms / 445 tokens/s. Consequently, the prose contradicts the figure it introduces, and 281 tokens/s is about 63% of that ceiling rather than 62%; use one definition consistently.
Useful? React with 👍 / 👎.
| Write avoidance for the recurrent state (P4); cross-request sharing (P5) & Pending; P5 rejected in analysis & moonshot, profile\\ | ||
| Stack levers, interaction matrix, exact and lossy frontiers (H4, H7) & Pending & moonshot, bench; \nolinkurl{evidence/moonshot/}, \nolinkurl{evidence/bench/}\\\bottomrule | ||
| Derived throughput ceilings per lever stack & Derived & \nolinkurl{evidence/moonshot/ceilings.json}\\ | ||
| First lever runs: FP16 state $1.24\times$ at $c=128$, FP8 weights and KV no gain (single runs) & Finding (single runs) & \nolinkurl{evidence/moonshot/lever_sweeps_quick.csv}\\ |
There was a problem hiding this comment.
Qualify the FP8 result as inconsistent rather than absent
The cited single-run CSV does not show uniformly “no gain” for FP8 weights: the W8A8 row at concurrency 32 reports y_vs_baseline=1.059, while the concurrency-128 row regresses to 0.964. Section 10 accurately describes this as “no consistent gain,” so the claim ledger should use the same qualification rather than recording a finding that the runs showed no gain.
Useful? React with 👍 / 👎.
|
Verdict: REQUEST CHANGES Reviewed head 04d1513 (0 behind main). The numbers are right, the figure reads committed CSVs and separates derived lines from measured points, and nothing claims the lossy stack meets its quality budget. Three blocking items remain. The first is about what the ceilings bound. The other two are wording errors about the evidence. BlockingB1. The ceilings are presented as hard bounds, but they hold only for a layer-serial engine at an assumed tensor-core rate (
B2. The cause of the FP8 failure is misstated (
B3. "62% of that floor" misstates the ratio (
Suggestions (not blocking)
Checked and correct
|
|
Verdict: REQUEST CHANGES This addendum to my review at 04d1513 covers Codex's two inline comments. Both are correct and neither has been addressed, so both are now blocking. Items B1 and B2 from the earlier comment stand. B3 is widened, and B4 is new. B3 (widened, with Codex's comment on
B4 (new, from Codex's comment on
The manuscript owner is now the editor workstream, which will carry these fixes. |
…P8 and batch-one wording Equation 18 holds for a layer-serial engine at the assumed tensor-core rate; an engine that overlaps per-request kernels with the batch GEMMs is bounded only by max((W+Bs)/BW, BF/P), now given in symbols. The CUTLASS FP8 GEMM aborts at run time (the installed aarch64 sgl-kernel has no sm_90a code) rather than failing to build. The batch-one comparison uses the plain stack's floor from ceilings.csv (2.25 ms, 445 tokens/s), so 281 tokens/s is 63% of that rate. FP8 weights showed no consistent gain in single runs, in the text, Table 11 and the ledger. Figure 10 selects stacks by name rather than row index and offsets the two measured series so both stay visible.
|
Review items addressed in dfdda3d (the editor workstream now owns this PR).
Build: 70 pages, no LaTeX or BibTeX warnings. |
|
Verdict: APPROVE This re-review covers head dfdda3d. All four blocking items are fixed, and so are both Codex comments.
Still open, owned by the editor (not blocking this PR): the Codex paper items on merged PRs.
I will check them in the editorial revision. |
…nel contract The paper now argues in dependency order: setting and what the stock engine computes, the five contracts and the R-stock gap and interval theorems, the certified low-precision head with its measured candidate sets and fallback shares, sampled decisions, transport and its measured failure, exactness under speculation, the stack, drafting and repair hypotheses, the serving protocol, related work, and a discussion that merges the hypothesis and failure tables. Secondary derivations, untested mechanisms, engine notes, CPU evidence, reproduction and attribution move to appendices. Evidence paths, pull request numbers and pending work move to an evidence register and a development record (Appendix A); the text cites [En] for committed evidence and [pending Dn] for designed work, with the scientific status in the prose. Integrates merged evidence: H2 on DFlash-4B (#35) and MTP-4B (#47), the overlapped roofline (#44), the frontend diagnosis (#46), the fifth contract witness (#41) and the precision counts after #43. Folds in the Codex items on #21 (quantiles over all rows), #32 (pooled tau, GSM8K series) and #36. Typography: Charter text, a plain title block with the repository URL, greyscale-safe figures, a new mechanism figure (Figure 1) replacing three overlapping flowcharts, a drift figure and transport table, two-panel candidate and acceptance figures, and tables reorganized instead of shrunk.
This milestone adds the moonshot Phase 1 evidence (#27,
evidence/moonshot/) to Section 10, and fixes two of P6's citations in Section 8.Section 10: what changed
New Table 10: derived large-batch throughput ceilings per lever stack, from
ceilings.json.The text marks the ceilings as derived. Two inputs are not measurements:
The text explains why no stack reaches 10x: 8.4 GFLOP per token caps an FP8 engine near 140k tokens/s.
New Figure 10. It shows the derived ceilings against batch size for four stacks (read from
ceilings.csv), overlaid with served throughput from the single benchmark runs for plain decoding and FP16 state (read fromlever_sweeps_quick.csv).First lever runs, labelled as single runs:
The first engine-only decode-step pass at batch 512 is also reported, and it is labelled noisy.
Other Section 10 changes:
Section 8 (P6)
references.bib.Validation
ceilings.json,ceilings.csv,lever_sweeps_quick.csvanddecode_ceiling_try1.csv.\underreviewmarks, no hidden citation comments and no private paths.