Repository navigation
Paper figures: one shared style, a colour-blind-safe palette, a step-time figure and data-driven labels - #135
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. |
|
Verdict: REQUEST CHANGES (two items: one caption clause, and a rebase) Review of the exact head a255df8: 4828871 (shared style, palette, data-driven labels) and a255df8 (Figure 1). What I verified
Blocking
Suggestions (non-blocking)
|
Review of #135: the hatched idle segments of the MTP bars (37%, 33%, 24%) are shares of the cycle under Nsight Systems, which lengthens this host-bound cycle. Appendix E derives about 21%, 20% and 15% without the profiler (the untraced cycle less the traced GPU-busy time). The caption now says the shares are of the profiled step or cycle and gives the untraced idle. It no longer says the head share bounds what a free head could save, which holds for the profiled cycle only. To keep References on page 10: the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) says it), and Figure 3's caption drops the markers' mean batch, which the panel shows.
a255df8 to
dec3dd4
Compare
|
@codex review |
|
Verdict: REQUEST CHANGES (one new legibility defect, and a PDF-only rebase) Re-review of the exact head 9b96d40. Fixed
Blocking
Everything else from my review of a255df8 stands. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. 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". |
Review of #135: the hatched idle segments of the MTP bars (37%, 33%, 24%) are shares of the cycle under Nsight Systems, which lengthens this host-bound cycle. Appendix E derives about 21%, 20% and 15% without the profiler (the untraced cycle less the traced GPU-busy time). The caption now says the shares are of the profiled step or cycle and gives the untraced idle. It no longer says the head share bounds what a free head could save, which holds for the profiled cycle only. To keep References on page 10: the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) says it), and Figure 3's caption drops the markers' mean batch, which the panel shows.
9b96d40 to
378fba0
Compare
|
@codex review |
|
Verdict: APPROVE (provisional, on 378fba0: Codex is still running on this head. I will confirm or withdraw once it finishes.) Both blocking items from 9b96d40 are resolved:
Rebuild in place: Everything else from my reviews of a255df8 and 9b96d40 stands: every plotted number traces to a committed CSV or JSON, captions separate measured from derived, and the Figure 1 caption gives the untraced idle. |
|
Codex Review: Didn't find any major issues. Hooray! 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". |
|
@codex review |
Review of #135: the hatched idle segments of the MTP bars (37%, 33%, 24%) are shares of the cycle under Nsight Systems, which lengthens this host-bound cycle. Appendix E derives about 21%, 20% and 15% without the profiler (the untraced cycle less the traced GPU-busy time). The caption now says the shares are of the profiled step or cycle and gives the untraced idle. It no longer says the head share bounds what a free head could save, which holds for the profiled cycle only. To keep References on page 10: the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) says it), and Figure 3's caption drops the markers' mean batch, which the panel shows.
378fba0 to
5a20253
Compare
|
Verdict: APPROVE (provisional, on 5a20253: Codex is still running on this head. I will confirm or withdraw once it finishes.) Rebased on main 097ae5c (#130, #136). This PR's own diff against main is line for line the one I approved at 378fba0. Rebuild in place: |
Review of #135: the hatched idle segments of the MTP bars (37%, 33%, 24%) are shares of the cycle under Nsight Systems, which lengthens this host-bound cycle. Appendix E derives about 21%, 20% and 15% without the profiler (the untraced cycle less the traced GPU-busy time). The caption now says the shares are of the profiled step or cycle and gives the untraced idle. It no longer says the head share bounds what a free head could save, which holds for the profiled cycle only. To keep References on page 10: the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) says it), and Figure 3's caption drops the markers' mean batch, which the panel shows.
5a20253 to
bcd96dd
Compare
|
Verdict: APPROVE (provisional, on bcd96dd: Codex is still running on this head. I will confirm or withdraw once it finishes.) bcd96dd is a plain rebase of 5a20253 onto main c0d1d31 (#131). |
|
Codex Review: Didn't find any major issues. Chef's kiss. 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". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! 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 (bcd96dd, confirmed: Codex found no issues on this head, review 5935112632) The branch now conflicts with main in
|
…ata-driven labels The figures now take their colours, series styles, axis conventions and panel titles from paper/figures/style.tex, which macros.tex loads in place of its own colour and TikZ blocks. Palette: the old ochre/brick pair was 4.1 apart under deuteranopia and teal/grey 2.0 under protanopia (OKLab x100, Machado 2009 simulation). The new palette uses Okabe and Ito's blue, vermilion and bluish green, with reddish purple as a fourth hue: every pair of hues is at least 7.6 apart under protanopia and deuteranopia and 16.4 for normal vision, and every series also has its own dash pattern or marker for greyscale. The old names teal, ochre and brick remain as aliases, so the appendix figures recolour without edits. Numbers printed inside figures are now computed from committed files instead of typed: \vpreadcsv, \vplookup(two|three) and \vpsum read the CSVs, and the few values that exist only in JSON stay as full-precision constants with their key paths in comments. Figure changes: - mechanism: panel (b) shows the three outcomes of the interval rule (separate rounding cells, one cell decided by index, a straddled boundary left open), and (b) connects to (c). - candidates: legends inside the empty plot regions, percentage ticks on the log axis, the vocabulary size marked as V, and the B = 128 shares and legend p computed from the JSON constants. - transport: (a) reads its norms and threshold from the CSVs and no longer overlaps its labels; (b) uses direct labels instead of a legend. - divergence: the row-label counts are sums over first_difference_by_module.csv. - stack ceilings (appendix, with the appendix editor's agreement): colour and marker mark the stack, solid and dashed the execution model, which the old dashes mixed up. - drafter acceptance (appendix): panel titles in the shared form. Captions drop details the panels now print, which keeps the main text within ten pages.
The introduction states the head chain's share of a plain step (10.3% at batch 1, 6.1% at batch 128) and of an MTP cycle (17.2% at batch 1); the new Figure 1 shows those shares in context, as stacked bars per component for plain decoding at B = 1, 8, 32, 128 and the MTP cycle at B = 1, 8, 32, read from evidence/profiles/breakdown.csv. The head shares printed beside the bars are computed from the microseconds in step_share.csv, so they round as the profile README does (12.4% for MTP at B = 32, where the rounded percentages give 12.5%). The figure shows why a free head bounds the gain: the head's share falls with the batch as the Gated DeltaNet kernels grow, which the discussion now cites instead of repeating one number. References still start on page 10, about five lines below the conclusion.
Review of #135: the hatched idle segments of the MTP bars (37%, 33%, 24%) are shares of the cycle under Nsight Systems, which lengthens this host-bound cycle. Appendix E derives about 21%, 20% and 15% without the profiler (the untraced cycle less the traced GPU-busy time). The caption now says the shares are of the profiled step or cycle and gives the untraced idle. It no longer says the head share bounds what a free head could save, which holds for the profiled cycle only. To keep References on page 10: the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) says it), and Figure 3's caption drops the markers' mean batch, which the panel shows.
The reviewer noted that at 300 dpi the end of the label nearly touches the dashed line; it now sits 2.5 pt further below, at the line's midpoint.
|
@codex review |
bcd96dd to
f1580fe
Compare
|
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: APPROVE (f1580fe) This re-check covers the rebase onto main 2db64db (after #140 and #141).
Merge this before #137, which is approved at a089d5b on top of it. |
Sam asked for every figure to be as good as it can be, and for a figure wherever one would carry a result better than prose. This PR gives all figures one shared style, replaces a palette that failed colour-vision checks, makes every number printed inside a figure come from a committed file, redraws the three main-text figures where they hid or misstated something, and adds one new figure: where a decode step's GPU time goes.
Shared style (
paper/figures/style.tex)macros.texnow loadsfigures/style.texin place of its own colour and TikZ blocks. It holds:teal,ochreandbricknow point to the new hues, so the appendix figures recolour without edits.series int8 row,series int8 g128,series fp8,series int4,series dflash,series mtp,series hopperandseries conservative.\paneltitle{a}{...}sets the bold letter and puts the status at the end: measured, derived or schematic.\vpreadcsv,\vplookup,\vplookuptwo,\vplookupthreeand\vpsumlet a figure print a value read from a committed CSV instead of a typed number.Figures, before and after
I rendered pages 1-11 at 80 dpi and every figure at 200-220 dpi before and after, and read each one.
Figure 1 (new): GPU time of a decode step by component.
evidence/profiles/breakdown.csv(\ev{profile-attr}).step_share.csv, so it rounds as the profile README does: 12.4% for MTP at B = 32, where the rounded CSV percentages would give 12.5%.Figure 2 (was 1): the certified head, schematic.
Figure 3 (was 2): candidates and fallback.
Figure 4 (was 3): why transport fails.
transport_dflash4b.csv, δ* and ρ fromrho_dflash4b_quantiles.csv, and computes ‖Δ‖/‖h^t‖ and the best-rescaling ρ from them; none of its labels overlap.transport,stats-dflash) and leaves the numbers to the panel.Appendix figures.
figures/divergence.tex). The row-label counts (167, 40) are now sums overfirst_difference_by_module.csv, and its labels are set in black.Values that stay copied from JSON
These exist only in JSON, so they stay as full-precision constants, with their key paths in comments:
rstock_plain4b.json,selfevidence_plain4b.json).stats_dflash4b.json).Every other number printed in a main-text figure is read from a CSV or computed from these constants.
Text changes, all tied to the figures
Checks
latexmk -pdfbuilds 79 pages with 0 warnings (grep -cE "Warning|Overfull|Underfull" paper.loggives 0).scripts/check_paper_references.pypasses, including the check that register paths exist on origin/main.codespellpasses on every changed.texfile. pre-commit excludespaper/; its host-identity hook passed on both commits.paper.pdfconflicted; I rebuilt it).Not done here
tab:transport-scalingalready covers it, and Table 5 carries the per-tiling result better than a dot plot of near-zero values would.head_path_time.csv, and the serving frontier for Confirmed serving frontier: nine arms, exactness classes, GSM8K quality #131.Review round 1 (reviewer at a255df8; changes at dec3dd4 and 9b96d40)
step_share.csv: 21.3%, 19.9% and 15.0%. I also dropped my earlier "which bounds what a free head could save". The shares are of the profiled cycle, which tracing lengthens, so for MTP they understate that bound.paper/paper.pdfconflicted, and I rebuilt it. The longer caption cost lines through two heading jumps (§4.1 at the foot of page 5, §6 at the foot of page 9). To recover them, the plot is 0.2 cm shorter, Figure 2's caption drops "and its own argmax is returned" (panel (c) shows it), and Figure 3's caption drops the markers' mean batch, which the panel shows. Now 80 pages with 0 warnings. References start at the foot of page 10, andscripts/check_paper_references.pypasses.Review round 2 (reviewer at 9b96d40; change at 378fba0)
paper/paper.pdfconflicted, and the rebuilt PDF shows Round the Hopper accumulation constant up and rerun its replays #139's γ values. 80 pages, 0 warnings, References at the foot of page 10.