Repository navigation
Pins and contract text: FlashAttention 4 runs here; the start-up self-test re-checks only gathered entries - #172
Conversation
…hAttention 3 is unavailable The pins table (Appendix F.4), the research notes' drafter section and the drafter evidence README said FA4 does not run on this aarch64 host. Bench's dflash-tuned arm runs DFlash draft attention with --speculative-draft-attention-backend fa4 on it: the tuning (slot T3) and the three confirmation sessions launched and served with that flag (evidence/bench/tuning/launches.csv, evidence/bench/confirm/launches.csv, evidence/bench/README.md), and SGLang at the pin passes fa4 to its FlashAttention v4 backend on CUDA without a fallback. FA3 stays unavailable (SETUP.md).
… the entry-subset property column_invariance_self_test compares the stock logits of gathered head rows with the same columns of the full head at the same batch shape. The 20-batch-size row invariance is a one-off measurement (evidence/certified_head/stock_invariance.json). Section 2.3, Table 1 and Table A.1 said the start-up test re-checks both.
|
@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. Can't wait for the next one! 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 84ffb44. H4's derived 3.4-3.5% uses the W8A16 pass at 0.66-0.67 of the stock head at M = 1 (setup.tex), not the best-mode column in H3, which includes W8A8 timed on the earlier TMA tiles; both cells now say which mode they use. P3's 33-44% is scoped to replay 1 (24-35% on replay 2), the frontier's 1.9% is called a coefficient of variation, and hostgap's token-identical outputs say logprobs were not compared. The in-flight section and the agent-dependent rows move to 01:30 UTC: s1 and s2 done, #167's timing running, the first served certified-head hold queued after s3, #169 merged, #171 and #172 open, and the paper, state, profile and redteam work active. The commit skips the hook because a timed hold is running; pre-commit on this staged file is queued in the CPU window.
|
Verdict: APPROVE at 134e55e FlashAttention 4 runs here. I checked this against the committed launch evidence and the pinned engine.
Self-test wording. Build. I built 134e55e myself in a CPU-window hold (01:48 UTC):
A word-level diff of the extracted text against my fresh build of main (2367122) shows exactly this PR's wording changes in both documents; every other difference is reflow (column and page-header positions). Codex found no major issues on 134e55e. Host identity is clean. Both commits are authored and committed by Samuel Mausberg. Optional (not blocking)
|
…ble 1 pointer closes the contract paragraph Title (Sam's choice): "The Work a Verifier Needs: Certified Int8 Output Heads That Match a Production Kernel's Rounding" in \mlsystitle and the PDF metadata; the running head is unchanged. Limitations, "The error model is an assumption": says that the Hopper model comes from measurements of the warp-level mma path and that the stock kernel's instructions are unchecked against it; the two "Agreement" openings become one; the FP32-output variant is named briefly (Section 4.3 introduces it in the next pass). Section 2.3: the Table 1 sentence becomes the last sentence of the contract paragraph (after #172's merge).
…ble 1 pointer closes the contract paragraph Title (Sam's choice): "The Work a Verifier Needs: Certified Int8 Output Heads That Match a Production Kernel's Rounding" in \mlsystitle and the PDF metadata; the running head is unchanged. Limitations, "The error model is an assumption": says that the Hopper model comes from measurements of the warp-level mma path and that the stock kernel's instructions are unchecked against it; the two "Agreement" openings become one; the FP32-output variant is named briefly (Section 4.3 introduces it in the next pass). Section 2.3: the Table 1 sentence becomes the last sentence of the contract paragraph (after #172's merge).
…ble 1 pointer closes the contract paragraph Title (Sam's choice): "The Work a Verifier Needs: Certified Int8 Output Heads That Match a Production Kernel's Rounding" in \mlsystitle and the PDF metadata; the running head is unchanged. Limitations, "The error model is an assumption": says that the Hopper model comes from measurements of the warp-level mma path and that the stock kernel's instructions are unchecked against it; the two "Agreement" openings become one; the FP32-output variant is named briefly (Section 4.3 introduces it in the next pass). Section 2.3: the Table 1 sentence becomes the last sentence of the contract paragraph (after #172's merge).
Two committed statements disagreed with the evidence. This PR corrects them in the paper, the research notes and one evidence README.
1. FlashAttention 4 does run on this host. The pins table (Appendix F.4), the notes' drafter section and
evidence/drafter/README.mdsaid that FA3 and FA4 are both unavailable on this aarch64 machine. FA3 is unavailable (SETUP.md: the aarch64sglang-kernelwheel has noflash_ops). FA4 is not:dflash-tunedarm (bench/arms.toml:186) passes--speculative-draft-attention-backend fa4. With that flag it launched, passed its launch checks (CUDA graphs including the draft verify graph, overlap scheduler) and served valid points in the tuning slot T3 and in all three confirmation sessions. Seeevidence/bench/tuning/launches.csv,evidence/bench/confirm/launches.csv,evidence/bench/README.md(T3 table: block 8 with FA4 draft attention 769 tok/s at c=1, against 686 for FlashInfer draft attention),evidence/drafter/fold_timing/launch/b8-*.json, andevidence/hostgap/README.mdandevidence/stack/README.md, which already say so._resolve_dflash_draft_attention_backendkeepsfa4on CUDA, because it is inDRAFT_ATTENTION_BACKEND_CHOICES. It falls back only for out-of-tree platforms or a backend outside the list. Thefa4backend isFlashAttentionBackend(fa_impl_ver=4).flash-attn-44.0.0b19 is in SETUP.md's package list. None of the committed launch records stores the resolved draft backend; the conclusion rests on the flag, the successful launches and the code.What changed:
paper/sections/app_register.tex, the Engine row: FlashAttention 4 (flash-attn-44.0.0b19) is listed as the DFlash drafter's attention in one tuned serving configuration; only FlashAttention 3 is unavailable.paper/notes/drafting.tex: the DFlash model card's TRT-LLM target attention is Blackwell-only, and its piecewise prefill graph fails here. Its FA4 draft attention does run here, and one tuned configuration uses it. The acceptance runs use FlashInfer.evidence/drafter/README.md:15: the same correction at the source. The card's TRT-LLM attention does not run here. The acceptance runs replace FA4 with FlashInfer, but FA4 itself runs (bench'sdflash-tuned).2. The start-up self-test checks only the entry-subset case. Section 2.3, Table 1 and Table A.1 said that a start-up self-test re-checks the per-position invariance measured at 20 batch sizes.
CertifiedHead.column_invariance_self_testcompares the stock logits of the gathered candidate rows with the same columns of the full head, at the same batch shape (M x 64M). It does not compare rows across batch sizes. Those are measured once, instock_invariance.json(rows_equal_to_m1_*; the gathered shape isgathered_candidates_equal). The paper text now says which part is re-checked. This is the same correction Codex and the reviewer asked for on #169 (head_geometry README).Build (CPU window, core 63,
latexmk -g, at 134e55e):scripts/check_paper_references.py --rev HEAD: clean, with no register path missing and no marker without an entry.pre-commit was run on the changed files (only the host-identity guard applies under
paper/andevidence/), and it passed.