Repository navigation
Venue paper: MLSys-format main text on the certified head and transport's failure, with appendices - #53
Conversation
The venue paper uses the official MLSys author kit. mlsys2025.sty carries no licence, so it is fetched and hash-checked at build time (template/README.md); the LPPL bst and fancyhdr and the LGPL algorithms files are vendored. macros.tex and terminology.tex are shared with the appendices. The main-text section files are stubs with their labels; the report's text stays in git history.
…port Sections 1-8 of the MLSys version: the stock-kernel contract with a terminology table and a numerical-assumptions table, the evaluation setup, the certified head with its candidate and fallback measurements, transport and why it fails, related work, limitations and conclusion. New figures read the committed CSVs: candidate CCDF with the derived whole-batch fallback curve, and the drift distribution against the per-row thresholds with a to-scale drawing of the median DFlash-4B head inputs. The report's setting, exactness and sampling sections are removed; their secondary material moves to the appendices. latexmkrc stops TeX from wrapping log lines, which hid the missing .bbl from latexmk.
The refinement sentence now gives the measured ranges (3-7% fewer candidates for 1-7% more pass bytes; centring 10% worse) instead of the report's rounded 'at most 7% for 1-12%'. raggedbottom replaces the style's flushbottom, which reported underfull columns next to large floats; template/README.md records this and the other preamble settings.
Appendices A-H for the MLSys version of the paper, harvested from the report on main and reorganized: proofs for the contract and the certified head, further sampling analysis, transport details (bound families, drift by group, batch unions, drift scaling), the exactness contracts and the stock engine's divergences, the serving stack with the merged profile evidence, drafting and repair hypotheses, one evidence register with the claims each entry supports, a status table for H1-H7 and P1-P6, a pending list without pull-request numbers or owners, reproduction, pins and disclosure, and a glossary printed from terminology.tex. The report's section files these appendices replace are removed.
Transport's radius is Euclidean in the main text, so Appendix C now proves Theorem crossover in that form and states the Hoelder variant as a separate proposition; the static-screen comparison holds for both pairings. DFlash-4B transport counts are 4,020 pairs. The measured attribution is labelled app:profile, the divergence appendix also answers to app:engine, and the stock sampler's point-mass default is described where the appendix relies on it.
The main text now summarizes several findings in a sentence and has a condensed related-work section. The appendices keep the detail where it bears on their content: the int4 and cascade candidate sets, the centring result, the DFlash rows after a rejection, the independent-mask union model, the DFlash card's speedups, and the prior work on draft heads, depth policies, recurrent-state rollback, screening and fused sampling. One author name in references.bib is written with a LaTeX accent so that mlsys2025.bst abbreviates it without splitting a UTF-8 sequence.
Register and pending entries now put files on their own line so paths do not break mid-name; register group headings stay with their first entry; the pins table flows as a longtable. Microseconds use an upright micro sign, the divergence figure's first legend label no longer touches its marker, the explicit R-bf16 witness is stated in Appendix D, and the Lean Hoelder lemma and the rational transport tests are tied to the Hoelder form of transport.
mlsys2025.bst prints every author, and the MLSys call asks for full author lists; the HumanEval entry now carries the list from arXiv 2107.03374 instead of 'and others'. Appendix A adds the share of DFlash-4B verify steps the gap condition leaves to the stock kernel, from the committed self-evidence file.
The paper uses one marker for pending results; the frontier plot is now part of the bench-frontier entry rather than an empty figure frame.
paper/references.bib held all 223 verified sources of the literature review, 99 of which the venue paper does not cite. The full verified bibliography moves to sources/references_full.bib, where the review and the manifest (same 223 keys) point, and the paper's file keeps the 124 cited entries, each identical to its entry there. The new scripts/check_paper_references.py checks that every cited key has an entry, every entry is cited, the two files and the manifest agree, and every path in the appendix's evidence register exists on origin/main.
Profiler overhead on the MTP cycle (25/19/11%), the H1 row's byte share, the outward-rounding witness count, the plain profiler overhead (2.3%), the idle and verify-state rows of the ranked table, cold L2 at M = 256, DFlash draft agreement at position 1 (99.3%), reached draft rows, the first-rejection denominator, the first-divergence median's population, capture-step wording, the served c = 1 rate (280 tokens/s) and the Python versions; citations moved to the files that hold each number; the disclosure no longer narrates process.
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. |
The card-reproduction gate (5.73 per request, 95% interval 5.36-6.13, against the card's 5.93), the second panel's DFlash and MTP acceptance, one-sided output-equality margins for both drafters, and the P6 support screen (oracle bound 10.14 against 6.20 tokens per cycle) become register entries; the pending list keeps the cycle split, two-sided margins with a kernel trace, and the matched-objective comparison.
|
Verdict: REQUEST CHANGES Reviewed head 6c943a4, which includes the appendix editor's #51 integration (210fd5b) and the PDF rebuild. Its merge base with main is 0f0c025, which predates #51 (see the first suggestion). The paper is in good shape on structure:
Seven items block. Four are in the main text (the page limit, the numerical-assumptions table, the fixed-noise reference and the abstract's scope) and three are in the appendices (one caption number, one untraced mechanism stated as fact, one wrong path). Blocking: main textB1. The main body runs onto page 11. The last 11 lines of the Conclusion ("the real-arithmetic winner ... will decide.") sit at the top of page 11's left column, above the References heading. This holds in the committed B2. Table 2 (numerical assumptions) omits the underflow assumption, and its first row is not true as stated (
B3. The fixed-noise statement does not name the engine configuration its reference needs (Section 4.3, after Theorem 4.5; Table 2's seeded-noise row).
B4. The abstract states the transport result without its scope. It says transport "fails on both public drafters ... so its certificates skip at most 0.65% of the vocabulary". The body scopes this correctly to the tested bound families and tilings (Section 5, "The verdict"; Section 7, "Scope"). The abstract should say "for every bound family and tiling tested", as the report's abstract did. Otherwise 0.65% reads as a bound on transport in general. Checked and correct: main text, template and sources
Blocking: appendicesI audited the appendices against the committed evidence (about 285 numbers, rounded to the stated precision). Three items fail. B5. The caption of Table
B6. The DFlash divergence mechanism is stated as fact but was never traced (
B7. The reproduction appendix points to a file that does not exist (
Checked in the appendices.
Suggestions (not blocking)
|
B5: the survival form agrees with the pooled tau to within 0.013, not 0.01 (code and MATH-500 at block 16). B6: the DFlash divergences from plain decoding are near ties but have not been traced to a kernel, so the appendices no longer state the batch-shape mechanism as fact for DFlash and mark the trace pending. B7: the patch apply commands are in engine/sglang/README.md.
The 3.83 TB/s read is the best of nine launch configurations (3.59-3.83 TB/s), and 3.79 TB/s is that configuration over the head's footprint.
Two of the 77 fall outside the plain run's top two, so 'near ties' applies to 75 of them (review nit on #53).
B1: trim Sections 1, 3, 4.5, 6, 7 and 8 so the main text ends on page 10. B2: the stock error model and G_i gain an absolute floor eta = 2D 2^-126 for underflow and flush to zero of products and partial sums; Table 2's first row is scoped to the normal range with normal operands assumed, the replay's omission of eta is stated, and a row covers FP64 re-scoring (gamma_D(2^-53)). B3: the seeded sampler exists only in deterministic-inference mode, whose head is SGLang's batch-invariant Triton mm; Section 2.1, Table 2, the text after Theorem 4.5 and contribution 2 name that reference and the error models' coverage (conservative covers it; Hopper unchecked), measurement pending. B4: the abstract scopes the transport result to the bound families and tilings tested.
The trimmed Related Work no longer cites the Gumbel top-k form or FastMTP; Appendix B's truncated sampling and Appendix E's draft-vocabulary levers now do, so both entries stay cited.
|
Main-text items B1-B4 are fixed in aeeffea, and the PDF is rebuilt at fc55896. The appendix editor's B5-B7 fixes and the merge of main are in 2f10297, 98fe2ba and 787d7c0.
Checks: a clean |
|
Verdict: REQUEST CHANGES Re-reviewed head fc55896. It contains aeeffea (main-text fixes B1-B4), 2f10297, 98fe2ba, 787d7c0 and 358c298 (appendix fixes B5-B7 and the merge of main), and the rebuilt PDF. Six of the seven blocking items are fixed. B3 is fixed in structure but names the wrong kernel, and the page-limit cuts left one contribution item in fragments. Earlier items
BlockingN1. The deterministic-mode head kernel at the pin is DeepGEMM, not Triton (
N2. Contribution 3 is now a list of fragments (
Suggestions (not blocking)
CodexThere are no Codex comments on the new commits. |
At bd66ce343e, batch-invariant mm dispatches to DeepGEMM's deterministic BF16 GEMM when DeepGEMM is enabled, as it is by default on this GH200; the persistent Triton kernel is the fallback (review item N1 on #53).
… N1, N2) N1: at the pin's defaults on this GH200, deterministic inference's batch-invariant mm runs DeepGEMM's deterministic BF16 GEMM (one FP32 wgmma accumulator, no split-K, round-to-nearest output), not the Triton fallback; Section 2.1, Table 2 and the text after Theorem 4.5 say so and agree that the conservative model covers it and the Hopper model is unchecked. N2: contribution 3 is one sentence again. Suggestions taken: eta = 2^-113 (covers 2D 2^-126 (1+gamma)); the replay note names gap thresholds; Scope says text-only prompts; the gather sentence has its verb. Small trims elsewhere keep the main text on ten pages.
|
N1 and N2 are fixed in 9bbf6cb, and the PDF is rebuilt at 88cad7b. The appendix wording for N1 is in f106cba.
|
|
Verdict: APPROVE Re-reviewed head 88cad7b. Since fc55896 it adds f106cba (the appendix N1 sentence), 9bbf6cb (main-text N1, N2 and the four suggestions) and the PDF rebuild. Every blocking item from both rounds is fixed, and the PR is mergeable. Round two
Whole PR at this head
One later dependency, not blocking: the DeepGEMM identification rests on the pinned source. #52 is confirming it with a kernel trace. When that merges, its README can be added to the evidence register entry for |
…eded-rank items Bounded-range sampling is the paper's Proposition "Bounded logit error" (app_sampling.tex), so the theory item is done (PR #21, #49, #53; Codex and the integrator's review). New active items from the integrator: round the Hopper accumulation constant up to cover its derived value and rerun what used it, and state that seeded top-k/top-p at the pin keys noise by sorted rank. M1 and P4 record #123's explanation of the 127-request plateau as the status of an open PR.
This PR turns the 94-page research report into a focused paper in the MLSys format, at Sam's request. The main text is organized around two results and the contract that makes them precise:
Everything else the report covered moves to the appendices. The main text is by the author workstream and the appendices by the appendix workstream; both are on this branch.
Venue and template
MLSys, with the official author kit. The MLSys 2026 call for papers (mlsys.org/Conferences/2026/CallForPapers) links
media.mlsys.org/Conferences/MLSYS2025/mlsys2025style.zip. The format is two columns, a 10-page main body, then references, then an unlimited appendix.[accepted]prints the author block (Samuel Mausberg). The preamble replaces the style's proceedings notice with "Preprint, 30 September 2026; not peer reviewed", because this is not an accepted MLSys paper.The licences, recorded in
paper/template/README.md:mlsys2025.styis not committed. It has no licence or permission statement, and neither has the ICML style it derives from.paper/template/fetch_mlsys_kit.shdownloads the official kit and checks the SHA-256 of the zip and of the file.paper/latexmkrcruns it before every build and stops with a message naming the failed step. The coordinator approved this. RUNBOOK and README state the network prerequisite.Vendored under their licences:
mlsys2025.bstand the kit'sfancyhdr.sty3.2, both LPPL (stated in their headers);algorithm.styandalgorithmic.styfrom the CTANalgorithmsbundle, LGPL-2.1+, with the licence text. The kit's own copies are 1996 files with no licence text, and TeX Live here lacks the bundle.Preamble settings:
\raggedbottomreplaces the style's\flushbottom, which reports underfull columns next to large floats; the kit's own example reports five.hypertexnames=false, because the style's caption macro typesets each caption twice and so creates duplicate PDF destinations.fix-cmavoids math font-size substitution.None of these changes a margin, font size or spacing.
Build fix.
latexmkrcstops TeX wrapping the log at 79 characters. A wrapped line hid "No file paper.bbl" from latexmk, which then never ran BibTeX. The appendix editor diagnosed it.Main text (10 pages; references start on page 11)
paper/terminology.tex, which the appendix glossary also reads.Pending results carry one marker, [pending Dn]. It links to the pending list in the appendix, which names each result and the file it will produce. The main text names no PR, no queue status and no revision history; transport is presented as the hypothesis the work set out to test.
What moved to the appendices (appendix workstream)
A. Proofs of the Section 2 and 4 results not proved inline. It also derives the constants of the error models from Lemma 4.1:
It then covers the integer pass, computed norms and outward rounding, candidate counts, the directional margin, and the certified tail (P1, rejected). It ends with what is machine-checked (Lean, lemma by lemma), what is tested (exact floating-point and rational references) and what is proved on paper.
B. The fixed-noise proof and coupling bounds. The standard acceptance rule with enclosures (guards and P_?), residual races, common mass, bounded range and KL/TV. The adaptive-depth illustration, the demand frontier and the synthetic experiment. All of this is analysis; none of it is built.
C. Transport:
transport_*.csv;D. The five contracts with their exact witnesses, including the explicit R-bf16 one, the commit rule and the consumers table. State safety: differential harness and tensor-level divergence mechanisms #37's divergence method and results, with the model-independent findings first and the splits under both error models after them. The noise floor and deterministic mode, the recurrent state and H5 (pending), and the code paths read at the pin.
E.
F. DFlash-4B, cycle cost, acceptance by position, limits, P6, P2/P3, and the untested selector and depth analysis. F also integrates Drafter: card gate, P6 support screen, panel-v2 baselines and output equality #51, which merged during this PR:
G and H.
terminology.tex.Cut:
Restored. The appendices carry the findings and prior-work comparisons that the condensed main text no longer does. Examples: int4 and cascade candidate sets, centring, DFlash rows after a rejection, SpecTr and block verification, the union model, the DFlash card's reported speedups, and the depth-policy literature.
Figures
All figures are TikZ or PGFPlots. Each is readable at print size and distinguishes its series by line style and marker as well as colour.
selfevidence_plain4b_ccdf.csv.rho_dflash4b_quantiles.csv, with the MTP-4B p10, median and p90 fromtransport_mtp4b.json, against the per-row thresholds.Contradictions and corrections found
DFlash-4B transport certification ran on 4,020 pairs, not 4,000. That is the value of
pairs_evaluatedand of everynintransport_dflash4b.{json,csv}. The evidence README and Editorial revision: organize the paper around the certified head and the stock-kernel contract #49 say 4,000; the paper now says 4,020.The capture's "batches of up to 16" were not what the batch shares counted.
analyze_rstock.pycounts only each step's held-out rows: 750 steps, with 8.0 held-out rows per step on average. The shares 2.8% and 10.9% are stated that way now.The "batch 1 against 32" divergence pair is concurrency 1 against 32 on servers capped at 16 running requests (
run_meta.json). The appendix editor found this."Refinements change the mean candidate count by at most 7% for 1-12% more bytes" is imprecise. The CSV gives 3-7% fewer candidates for 1-7% more pass bytes (outlier columns, 64-dimensional rotation). Centring the head makes it 10% worse, and a 256-dimensional rotation gives 9% fewer candidates for 20% more bytes. The main text states the measured ranges.
Editorial revision: organize the paper around the certified head and the stock-kernel contract #49 omitted a committed result. On DFlash-4B verify rows, over all verify rows including those after a rejection, the gap rule leaves 5.7% (Hopper model) to 8.6% (conservative) of rows to the stock kernel, against 2.2-3.0% on plain decoding (
selfevidence_dflash4b.json). The interval form was not evaluated there. This now appears as a limitation.Not cited because unmerged (Certified int8 LM head: exact stock-head decisions, seeded sampling, kernels and evidence #45):
--enable-deterministic-inference, which would change the stock kernel it is compared with. This is now confirmed at the pin and stated in the main text (review item B3): the seeded sampler exists only in that mode, and its head is SGLang's batch-invariant Tritonmm.The population-dependent rates must be reconciled with the main text when Certified int8 LM head: exact stock-head decisions, seeded sampling, kernels and evidence #45 merges.
The appendices were audited. A number-by-number audit of the appendices against
evidence/found 13 mismatches and 3 wrong citations, all fixed in e65baed. Examples:The evidence file has a unit error, and the paper does not use the bad field. In
evidence/profiles/head_microbench.json,roofline_floor_us_at_measured_peakreads 3.35e14 instead of 335 us. The paper's 335 us is correct. The file belongs to the profile workstream.Pending
When #45 merges, its runtime table goes into Section 4.5 and a runtime figure is added.
Validation
latexmk -pdffrom a clean tree: the main text and appendices build with no LaTeX, BibTeX, overfull or underfull warnings and no undefined references. Before the fix above, BibTeX did not run under latexmk.python scripts/check_paper_references.pypasses: every cited key has an entry, every entry is cited and identical tosources/references_full.bib, that file matches the source manifest, and all 129 register paths exist on origin/main.codespellpasses on the paper sources; the repo's hooks excludepaper/.pre-commitpasses on README.md, RUNBOOK.md and .gitignore.shellcheckpasses on the fetch script.