Repository navigation
Research notes: narrow value tiles for the fold's verify (#167) and the GDN kernel's DRAM rate (#173) - #187
Conversation
…he GDN kernel's DRAM rate (#173) drafting.tex: the untested 'likely cause' of the fold's small-batch loss becomes the measured result of patch drafter/0005 (one session): +2.0% at c = 1 on block 16, but the c = 8 gain falls from 1.061 to 1.018; a trade-off by batch size, untimed above c = 8. stack.tex: the recurrent kernel's 3.47-3.48 TB/s is modelled bytes over kernel time, not its DRAM rate; Nsight Compute shows 67% of DRAM peak at B = 32 with writes still in L2, and a derived 77-87% at B = 128. New register entries drafter-fold-tiles and profile-ncu.
|
@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: 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". |
|
Verdict: APPROVE at 12e04cb Reviewer 2 (paper fidelity). Only the notes change, every number traces to committed evidence with one rounding step, and the scope statements are in place. Checked
Optional
Build (CPU window, one core each): at 12e04cb, notes 53 pages and paper 48 pages, with 0 LaTeX warnings and 0 overfull or underfull boxes in both. |
Folds two merged results into the research notes: the served timing of patch 0005 (#167) and a correction from the Nsight Compute evidence (#173). Only the notes change; the paper is unchanged.
1. Narrow value tiles for the fold's verify (#167, merged at 7cc3135; drafter's text, verbatim).
notes/drafting.tex, paragraph "Exact verification without per-position snapshots". The untested "likely cause" of the fold's small-batch loss is replaced by the measured result of engine patch drafter/0005, which gives the ring-writing verify the snapshot verify's tiles of 4. The fold stays bitwise equal to stock in the kernel check and the matched-pool served checks.notes/stack.tex, levers table (tab:axes), fold row: one clause with the trade-off and the new marker.notes/register.tex: new entrydrafter-fold-tiles.Every number is from
evidence/drafter/fold_narrow_tiles/timing/check.json, rounded once, which avoids the double rounding the reviewer flagged on #167. Scope: one session with two runs per arm, so the ranges are within-session spreads; the cross-session changes are unpaired. Nothing is claimed at c >= 16 under the patch.2. The GDN recurrent kernel's DRAM rate (#173, merged at bab281c).
notes/stack.tex, paragraph "The plain step beyond the head", said the recurrent kernel "streams the state once each way at 92% of the read peak". That figure is modelled bytes (a full read and write of the state) over kernel time: 3.47-3.48 TB/s at B = 32 and 128. Nsight Compute at B = 32 shows that about 27 of the 67 MB the kernel writes are still in L2 when it ends, and DRAM runs at 67% of peak (ncu_key_kernels.json). The sentence now uses the #173 reviewer's replacement, plus its optional bound: about 82% at B = 128 becomes 77-87%, for anywhere from 0 to 60 MB of writes still in L2 (derived). The next clause no longer says the state kernel "runs near" the peak; it says its time matches near-peak traffic for its modelled bytes. New register entry:profile-ncu.Build. One core,
latexmk -g, at 12e04cb (an untimed exclusive hold was running, so niced per the brief).scripts/check_paper_references.py --rev HEAD: clean. The first build caught a register path written astiming/check.json; the checker treats a path containing/as full, so the path is now given in full.pre-commit: the host-identity guard passed; codespell, run by hand, was clean.