Skip to content

Appendix E.5: P4's two void attempts and the pre-declared amendments (#103, #106) - #105

Merged
SamMausberg merged 3 commits into
mainfrom
paper/appendix-p4rerun
Oct 1, 2026
Merged

SamMausberg merged 3 commits into
mainfrom
paper/appendix-p4rerun

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

Follow-up to #95 after #103 merged. It records P4's void first served run and the rerun's changes, which were declared before the rerun started (moonshot README 2c). No result is added: the rerun started at 10:43 UTC.

Changes (Appendix E.5, register)

  • First run void. In every arm at most 127 requests were admitted. The README gives the likely cause, SGLang's admission budget reserving each request's full 512 output tokens, and the paper labels that as reasoning. The validator stopped before any ratio was computed, and no verdict exists.
  • Rerun declared before it started:
    • a pinned attention cache of 655,360 tokens in both arms (was 360,448);
    • a required admission preflight that stops the job unless 128 requests run in the measured phase;
    • the one-layer kernel steps reused from the first run, since they cannot depend on a server's pools;
    • the output probe and the paired timing run again.
  • Register. p4-declared now covers the void first run and the rerun's pre-declared changes, and lists check_admission.py.

Validation

  • latexmk -pdf builds 75 pages with no warnings. The main text ends on page 10. The rebuilt paper.pdf is committed, and I looked at the changed page.
  • python scripts/check_paper_references.py passes; check_admission.py exists on origin/main.

The Appendix D PR for #102 (pools.json and the status-table introduction) is separate and will follow #102's merge.

The first served run is void. In every arm at most 127 requests were
admitted, most likely because SGLang's admission budget reserves each
request's full 512 output tokens (stated as reasoning). The validator
stopped before any ratio was computed, and no verdict exists.

The rerun was declared before it started:
- a pinned 655,360-token attention cache in both arms (was 360,448);
- a required 128-admission preflight;
- the one-layer kernel steps reused, since they cannot depend on a
  server's pools;
- the output probe and the paired timing run again.

The p4-declared register entry covers these and lists
check_admission.py. No result is added; the rerun started at 10:43 UTC.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-01T11:05:20.814753Z e046add Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES

Reviewed head 07afbcd. This was accurate to #103 when written, but the second attempt has since overtaken it.

B1. The stated cause has been refuted, and the rerun was void too. The paragraph says the first run admitted at most 127 "most likely because SGLang's admission budget reserves each request's full 512 output tokens". The second attempt (20261001T104311Z) tested that. With the KV pool raised to 655,360 tokens, its admission preflight still saw 127 running in both arms, at KV usage 0.40 with mamba num: 127, mamba usage: 0.99 and one request queued. The preflight stopped that job before the probe and the A/B, so it is void too. #106 now declares a third configuration: --max-mamba-cache-size 132, with running 128 and KV 655,360.

Once #106 merges, rewrite this to match its README 2c:

  • the first run was void (127 admitted), and the KV-budget explanation was then tested and refuted;
  • the second attempt was stopped by its own preflight, with no results;
  • the current declared configuration is 132 mamba slots, with the mechanism labelled as the README labels it;
  • the preflight now runs on its own before the full job.

Drop the KV-budget sentence, or mark it refuted.

Checks. The build and register mechanics are otherwise fine: p4-declared lists check_admission.py, and no result is stated.

From moonshot README 2c after #106. The first run is void, with the
cause then judged likely given as such. The second attempt was void at
its admission preflight: 127 running again with the attention cache at
40% use, so the cache was not the limit; likely, from the log, the
recurrent-state slots were. Both arms then pin 132 recurrent-state slots
before any further run, and the preflight runs on its own first. No
result of either attempt is reported. The p4-declared entry covers both
attempts and lists run_p4_admission.sh.
@SamMausberg SamMausberg changed the title Appendix E.5: P4's void first run and the pre-declared rerun (#103) Appendix E.5: P4's two void attempts and the pre-declared amendments (#103, #106) Oct 1, 2026
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: e046addb09

ℹ️ 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".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE

Re-reviewed e046add. 51cbc25 merges main (#106) and e046add folds #106 into E.5. B1 is fixed, and the paragraph matches README 2c after #106:

  • First run void. At most 127 were admitted, so no ratio and no verdict. The cause is given as "then judged likely" to be the admission budget.
  • Rerun declared before it started. 655,360 tokens, the preflight, the reused one-layer kernel steps, and the probe and A/B rerun.
  • Second attempt void at its preflight. It peaked at 127 again with the attention cache at 40% use (README: 0.40), so the cache was not the limit. The recurrent-state slots are named "likely, from the log", with the mechanism.
  • The 132-slot amendment came before any further run, with the preflight run on its own first.
  • "No result of either attempt is reported."

p4-declared covers both attempts and lists check_admission.py and run_p4_admission.sh.

Checks. I rebuilt from source: 75 pages, no warnings, and the text matches the committed PDF. The main text ends on page 10, the checker passes, and the branch is up to date with main. Codex finished on e046add with no comments, and the commits are Sam's with no AI attribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant