Skip to content

backbone: routing table against mtp-tuned-triton (hold 4): no material gain - #210

Merged
SamMausberg merged 7 commits into
mainfrom
backbone/mtp-triton
Oct 2, 2026
Merged

SamMausberg merged 7 commits into
mainfrom
backbone/mtp-triton

Conversation

@SamMausberg

@SamMausberg SamMausberg commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

PR #166 measured the backbone routing table (lever v1: the Hopper GEMV at one row, the Triton kernel with PDL at 2-16 rows, cuBLAS otherwise, the packed GDN input projection from 64 rows) against mtp-tuned, MTP with FlashInfer attention, and found no gain. Codex pointed out that bench's low-concurrency MTP arm is mtp-tuned-triton (532 against 456 tokens/s at c = 1), which #166 did not test, so #166 was scoped to mtp-tuned. Hold 4 ran the same paired design on mtp-tuned-triton. This PR adds its evidence, plus a small CPU tool that compares the two arms' streamed text.

Result (measured, one session, two pairs)

Both arms ran the backbone engine (59deb68e29, clean), with A switches off and B setting lever v1's four variables. The order was B A A B, sessions abba-1 (B1, A1) and abba-2 (A2, B2), on bench's mixed-v2 confirmation workload with 512 output tokens.

c A tokens/s B tokens/s B/A per pair B/A mean A1-A2 spread Tokens per verify cycle, A / B
1 533.2, 533.2 533.5, 533.6 1.0006, 1.0007 1.0006 0.01% 3.2586 / 3.2595
8 3,008.9, 3,027.9 3,012.3, 3,027.0 1.0011, 0.9997 1.0004 0.63% 3.2524 / 3.2543
32 6,733.8, 6,838.6 6,796.7, 6,751.9 1.0093, 0.9873 0.9983 1.54% 3.2561-3.2632 / 3.2543-3.2635
  • c = 1: 0.06% faster in both pairs. That is above A's 0.01% spread but below the 0.15% spread of bench's three stock confirmation sessions of this arm, and on tuned plain decoding the same table gives 3.4% at c = 1. Too little to matter.
  • c = 8 and 32: the pairs straddle 1, so no claim.
  • With Backbone: routing table against tuned MTP, and which GEMM kernels the served engine runs #166, the table gives no material gain under MTP on either attention backend at the tested concurrencies. Its served gains stay on plain decoding.
  • Streamed text (measured with experiments/backbone/stream_text_identity.py; streamed text only, not token ids or logprobs). At c = 1 and 8 each arm reproduces its own text on all 64 prompts across its two launches. A and B differ on 7 of 64 prompts at c = 1 and 15 of 64 at c = 8, the same prompts in both sessions. At c = 1 every first difference comes after at least 177 of 512 tokens (median 329). c = 32 is not informative, because two runs of the same arm already differ there (45 and 131 of 256).
  • The exactness class under MTP stays pending. The table changes greedy output on this arm, but whether those changes are rounding-level needs the logprob comparison against stock MTP, which has not been run.

Derived and secondary observations (in the README)

  • At c = 1 the verify cycle (accept_length / x_decode) drops from 5.786 to 5.778 ms, 5.3 and 10.9 us per pair (from the unrounded acceptance in each run's sweep.json; points.csv's four decimals give 5.4 and 11.0). In isolation, the target verify's 88 routed GEMMs at 4 rows save 81 us (the in-situ section's method, which reproduces its 197 and 120 us). The served cycle keeps 7-13% of that, and none of it is traced.
  • B's median TTFT is 1.1 and 2.0 ms longer at c = 1. That is about the size of A's own 1.0 ms spread, but the direction holds in all four MTP pairs (Backbone: routing table against tuned MTP, and which GEMM kernels the served engine runs #166's mtp-tuned pairs show +0.4 and +1.3 ms), while on plain decoding B's TTFT is shorter. It is about the gap between the decode-rate gain (+0.12% and +0.22%) and the throughput gain (+0.06%). The cause is not traced.
  • Within each arm, acceptance at c = 1 and 8 repeats to four decimals. A matches bench's stock confirmation exactly, and B differs from A by +0.03% and +0.06% (probably at near ties; not traced).

Validity

  • Hold 4 ran 2026-10-02 12:36:48-12:49:45 UTC under the exclusive lock and exited 0. All four sweeps exited 0.
  • The log pins repository 53e39a3, engine 59deb68e29 (no uncommitted changes) and the table's SHA-256 607479de…, the same table as Backbone: served exactness of each switch and paired plain serving of the routing table #153 and Backbone: routing table against tuned MTP, and which GEMM kernels the served engine runs #166. launches.csv records the same commits for each launch.
  • Every launch passed the harness checks: Triton attention, EAGLE 3/1/4, running limit 128, full CUDA-graph coverage, overlap scheduler.
  • Every point completed all its requests (64/64/256), with 0 failures, 0 osl_mismatch and 0 retractions.
  • Foreign CPU averaged 0.12-1.17 cores per point, with a largest sample of 1.94 (A2, c = 32). The hold log prints the per-point maximum; points.csv has both.
  • The run order matches the declared B A A B, and each run's session matches the plan.

Files

  • evidence/backbone/served/mtp_triton_v1/{points,pairs,launches,frontier}.csv are the bench.pareto output, with the same flags as Backbone: routing table against tuned MTP, and which GEMM kernels the served engine runs #166's mtp_v1/. text_identity.json is the output of stream_text_identity.py, generated at 1e7b6b3 (the script's fixed commit) from a clean tree. Each file's command is in the README's hold 4 block.
  • experiments/backbone/stream_text_identity.py with two CPU tests in tests/test_backbone_served_tools.py, and its row in experiments/backbone/README.md.
  • evidence/backbone/README.md: a new hold 4 section, an updated status line, served preamble and Pending list, and the hold 4 commands.
  • evidence/README.md: the backbone row.
  • TASKS.md: the H6 row, the backbone workstream row and the backbone task line.

Checks: pytest tests/test_backbone_served_tools.py: 10 passed. pre-commit passed on the script, tests, TASKS.md and the experiments README; on the evidence files only the host-identity guard runs (the other hooks exclude evidence/), and it passed. Raw outputs stay in ~/vp-data/backbone/e2e/mtp-triton-v1/.

Review round 1 (reviewer 1 approved 632f4cc; Codex clean on 632f4cc)

Head 43a1bc2 folds in reviewer 1's optional items: cycle differences from the unrounded acceptance (5.3 and 10.9 us, 7-13%); the served preamble names Triton attention for hold 4; "moves acceptance at near ties" is now "probably at near ties; not traced"; A's 1.0 ms TTFT spread sits beside the B-A gap; and the H6 row in TASKS.md says "no material gain". The streamed-text comparison, which main requested, is new in 47c7ccd and 43a1bc2.

Review round 2 (reviewer 1 requested changes on 43a1bc2 for Codex's two P2s)

  • Codex r4166304445 (interleaved channels reordered): fixed in 1e7b6b3. The stream is one arrival-ordered buffer with a per-character channel map, and identity requires both to match. In these runs all 1,536 requests streamed content deltas only, so order could not have mattered.
  • Codex r4166304452 (completion tokens inside the identity): fixed in 1e7b6b3. Identity is now text only, and differing token counts are listed in completion_tokens_differ (empty everywhere here: all 512 tokens).
  • 6633b33 regenerates text_identity.json at 1e7b6b3. Counts and divergence positions are unchanged.

Paired serving of the routing table against bench's low-concurrency MTP arm
(Triton attention), B A A B at c = 1, 8 and 32 in one exclusive hold. B/A
throughput 1.0006/1.0007 at c = 1 (0.06%, below the stock confirmation's
0.15% session spread), straddling 1 at c = 8 and 32: no material gain on
either MTP arm. Adds served/mtp_triton_v1/ (bench.pareto output), the
README section with the derived verify-cycle and TTFT observations, and the
commands behind the files. Exactness under MTP remains unmeasured.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 2, 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-02T14:41:48.353909Z 6633b33 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

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 632f4cceff

ℹ️ 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 (head 632f4cc)

No blocking items. Five optional items are listed at the end. I understand a streamed-text A/B comparison is being added at main's request; a new head voids this verdict, and I will review the delta when it lands.

What I checked

Regeneration. bench.pareto at this head (bench/ is identical to 0821e6d), run on the four raw run directories with the README's flags, gives points.csv, pairs.csv, launches.csv and frontier.csv byte-identical to the committed files.

Validity, from the raw files under ~/vp-data/backbone/e2e/mtp-triton-v1/.

  • hold.log: start 12:36:48 and end 12:49:45, status 0, and all four sweeps exited 0. It pins repo 53e39a3, engine 59deb68e (engine_dirty 0) and table SHA-256 607479de. The table file on disk still has that hash, which is also the one Backbone: served exactness of each switch and paired plain serving of the routing table #153, Backbone: routing table against tuned MTP, and which GEMM kernels the served engine runs #166 and stack's gate cite. next.sh (the script the dispatcher ran) is identical to hold4.sh.
  • launch.json for each run: repo 53e39a3 and engine 59deb68e, both with no dirty files, and the GPU lock held. B carries exactly the four SGLANG_BACKBONE_* variables, A carries none, and all seven harness checks pass in every run. launches.csv agrees run by run.
  • The flags match bench's three mtp-tuned-triton confirmation launches (evidence/bench/confirm/launches.csv), and every run used the same workload (confirm.jsonl, sha256 b65a50e4).
  • Order is B 12:36:48, A 12:40:02, A 12:43:17, B 12:46:31. The four server windows do not overlap, and the sessions are abba-1, abba-1, abba-2, abba-2 as declared.
  • Completeness at all 12 points: 64/64/256 requests completed, 0 failed, every finish reason length, output length 512 to 512, 0 osl_mismatch, aiperf exit 0, the prompts as expected, the cache flushed, and warmup 2/8/32 requests.
  • Foreign CPU means are 0.119-1.166 cores and the maximum is 1.94 (A2 at c = 32). The hold.log figures are the per-point maximums. Each point started with the GPU at 1980 MHz and about 59.1 GB used, which is the run's own server, so no other GPU tenant was present.

Ratios and spreads, recomputed from sweep.json.

  • c = 1: 1.000645 and 1.000650; A spread 0.006%.
  • c = 8: 1.001138 and 0.999677, mean 1.000408; spread 0.630%.
  • c = 32: 1.009334 and 0.987324, mean 0.998329; spread 1.544%.

Every value in the README table and the PR body matches. Acceptance repeats exactly within each arm at c = 1 and 8. B differs from A by +0.030% at c = 1 and +0.060% at c = 8.

Derived numbers.

  • The isolated prediction comes from gemm_microbench.json's summary, using cuBLAS minus triton_pdl with the table's own configs. At M = 4 it gives 81.40 us over 88 calls (in_proj_qkvz 24, out_proj 24, o_proj 8, gate_up 32). At M = 1, 8 and 16 the same method gives 197.01, 98.32 and 119.73 us. At M = 4 the table keeps down, qkv_proj and in_proj_ba on cuBLAS, as the README says.
  • Cycle times (accept_length / x_decode): means of 5.786 and 5.778 ms. The per-pair differences are 5.45 and 11.00 us from points.csv's rounded values; see optional item 1.
  • TTFT p50: B minus A is +1.075 and +1.966 ms. Hold 3's mtp-tuned pairs give +0.37 and +1.33 ms, and plain_v1's give -1.42 and -0.90 ms.
  • The per-user decode rate (x_decode) rises 0.122% and 0.218%. The p50 request takes 914-916 ms.
  • Bench's confirmation sessions run 532.01-532.83 tokens/s at c = 1, a spread of 0.154%, with acceptance 3.2586 at c = 1 and 3.2524 at c = 8 in all three. Against those sessions A is within 0.23% at c = 1 and 0.70% at c = 8, and at most 2.58% above at c = 32.

Framing. The c = 1 result is reported as measured (+0.06% in both pairs, above A's own spread) and then judged immaterial against the cross-session spread. That is the conservative direction. The single session is stated in the README, the body and the TASKS line. B's exactness class stays pending in the frontier file and in the text.

Other checks. Codex found no major issues on 632f4cc, and the PR has no inline threads. The hostname grep found nothing in the diff, the commit messages or the PR body. All three commits have author and committer Samuel Mausberg, with no attribution lines. Pre-commit applies only to TASKS.md here, since evidence/ is excluded apart from the host guard; the body reports both as passed.

Optional

  1. Cycle-time precision. The README's "5.5 and 11.0 us" and "7-14%" reproduce from points.csv's 4-decimal accept_length (5.45 and 11.00 us). The raw accept lengths in sweep.json (spec.accept_length) give 5.32 and 10.87 us, which is 6.5-13.4% of 81.4 us. A 5 us difference between two 5.78 ms quantities needs six significant figures, and the CSV's accept length carries five. Either compute from the raw values (5.3 and 10.9 us, 7-13%) or write "about 5 and 11 us". The same applies to the PR body and the Pending line.
  2. README:153-155. The served-results preamble still says the runs use "FlashInfer attention", but hold 4 used Triton attention. Something like "FlashInfer attention unless the section names another" would fix it. The hold 4 section itself states its backend correctly.
  3. "which moves acceptance at near ties" (Acceptance bullet). Nothing at this head tests the near-tie part, since no outputs or margins were compared. Hold 3 used the same wording. The text comparison you are adding can show that outputs differ, but not where, unless it reads margins. Consider "probably at near ties (not traced)".
  4. TTFT. A's two runs differ by 1.0 ms (40.1 and 39.1 ms) while B's differ by 0.1 ms, so the size of the per-pair gap (1.1 against 2.0 ms) is about A's own spread. The direction holds in both pairs here and in both of hold 3's, and saying so would make the bullet's support explicit.
  5. TASKS.md H6. "no gain on mtp-tuned ... or on mtp-tuned-triton (1.0006x at c = 1 ...)" could say "no material gain", to match the README and line 173. Both pairs measured +0.06%.

Rebuilds every profiling request's greedy text from aiperf's raw export
(reasoning_content and content deltas in arrival order), matches the
requests of two bench.sweep runs by prompt id, and reports identical
prompts per sweep point and where the first difference falls. This is
streamed-text identity, not token ids or logprobs. A failed request,
missing usage, repeated prompt or mismatched prompt set is an error and
nothing is written. Two CPU tests cover the divergence position and the
refusals.
text_identity.json (stream_text_identity.py at 47c7ccd): each arm
reproduces its own streamed text at c = 1 and 8, while A and B differ on
7 of 64 prompts at c = 1 and 15 of 64 at c = 8, the same prompts in both
sessions; c = 32 runs of one arm already differ. Streamed text only, so
the exactness class stays pending.

Reviewer items: cycle differences from the unrounded acceptance (5.3 and
10.9 us, 7-13% of the 81 us prediction), the served preamble names
Triton attention for hold 4, acceptance moves "probably at near ties",
A's 1.0 ms TTFT spread beside the gap, and "no material gain" in H6.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 43a1bc2134

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

Comment on lines +64 to +65
s.reasoning += delta.get('reasoning_content') or ''
s.content += delta.get('content') or ''

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve delta arrival order when reconstructing text

When reasoning_content and content deltas interleave, accumulating them into separate buffers reorders the stream: for example, reasoning a, content c, reasoning b is reconstructed as abc rather than the emitted acb. Two requests with different arrival-ordered text can consequently compare as identical, contrary to the tool's stated semantics; retain a single ordered text buffer (while optionally tracking channels separately).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 1e7b6b3. The stream is now one buffer in arrival order, with a per-character channel map (r or c). A prompt counts as identical only when both the text and the channel map match, so reasoning a, content c, reasoning b rebuilds as acb, and the same text split differently between the channels also differs. Within a single delta, the fields keep the order they were sent in. Two new tests cover both cases (test_stream_text_identity_keeps_the_arrival_order_of_both_channels). For this evidence, the order could not have mattered: all 1,536 requests in the four runs streamed content deltas only (reasoning_content is always null or empty). The regenerated text_identity.json (6633b33, repo_commit 1e7b6b3) has the same counts and divergence positions as before.

Comment on lines +144 to +148
same = (
sa.reasoning == sb.reasoning
and sa.content == sb.content
and sa.completion_tokens == sb.completion_tokens
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Compare text independently of completion-token counts

When two token sequences detokenize to the same streamed text but have different token counts, this condition marks them as differing solely because completion_tokens differs. That contradicts the documented text-only contract that such sequences count as identical and can inflate divergence counts in exactly the alternative-tokenization case this tool is intended to distinguish from token-id equality.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 1e7b6b3, in the code rather than the docstring. Identity is now text only (text plus channel map); completion-token counts no longer enter it. Prompts whose counts differ are listed separately in a new completion_tokens_differ field, and the docstring and the JSON's comparison field say so. A new test (test_stream_text_identity_reports_token_counts_outside_the_identity) checks that identical text with different counts is identical and listed. In this evidence every request has 512 completion tokens, so completion_tokens_differ is empty at every point and no count changed.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (head 43a1bc2)

This is a delta review of 632f4cc..43a1bc2. The new evidence and wording hold up. The only blocking item is that Codex's two new P2s on 43a1bc2 have no reply or fix. My pytest and pre-commit run on the changed files is waiting for the next CPU window (a timed hold is running), and I'll add the result here.

What I checked

Regeneration. stream_text_identity.py at this head (its code is identical to 47c7ccd), run on the four raw run directories with the README's arguments, gives text_identity.json identical leaf for leaf to the committed file. The only differences are command, where only the --out path differs, and repo_commit. The committed file records 47c7ccd, with no -dirty suffix.

Independent recount. I reparsed the raw aiperf exports with my own parser, matched requests by requests.csv prompt ids, and compared the reasoning and content text and the completion tokens per prompt:

  • B:A differ on 7 of 64 prompts at c = 1 and 15 of 64 at c = 8, in both sessions, and the differing prompts are the same in both sessions.
  • Each arm reproduces itself on 64 of 64 at c = 1 and c = 8.
  • At c = 32, A2:A1 differ on 45 (211 identical) and B2:B1 on 131 (125 identical). Between the arms they differ on 120 and 98, and only 72 differing prompts are shared between the sessions.
  • Every request has 512 completion tokens.

The first-difference statistics match the JSON in both sessions: at least 177 tokens and a median of 329 at c = 1, at least 1 and a median of 253 at c = 8.

Consistency with acceptance. At c = 1 the 7 text-differing prompts are a subset of the 9 whose verify count differs. At c = 8 they are not a subset (15 against 19), so text can differ at an equal verify count. Within each arm, verify counts are identical at c = 1 and 8. Nothing in the README depends on this.

Wording. Calling c = 32 uninformative is right, given the within-arm counts. "Class pending" is kept: the README says streamed text only, not token ids or logprobs, and leaves "rounding-level flips at near ties" to the logprob comparison against stock MTP. The causal claim is limited to c = 1, where the verify always runs 4 rows. All five of my earlier items are folded in correctly:

  • 5.3 and 10.9 us, with the note that points.csv's rounded values give 5.4 and 11.0, and 7-13%;
  • Triton attention named for hold 4;
  • "probably at near ties; not traced";
  • A's TTFT spread of 1.0 ms, with the sign holding in all four MTP pairs;
  • "no material gain" in TASKS.md.

Blocking

  1. Codex P2 4166304445 (interleaved deltas). Correct as stated. read_stream keeps reasoning and content in separate buffers and compares reasoning + content, so interleaved channels would be reordered. Either keep one arrival-ordered buffer, or show that no request in these exports streams reasoning after content, then reply. My check of the interleaving and of the counts with one arrival-ordered buffer is queued for the CPU window, and I'll post its result here.
  2. Codex P2 4166304452 (completion-token count in the equality). The docstring says sequences that detokenize to the same text count as identical, but compare_point also requires equal completion_tokens. It cannot change this evidence, since every request has 512 tokens. Fix the docstring or the code, or reply with that scope. The JSON's comparison field already names the token count.

Optional

  • The README attributes the c = 1 differences to the table, which fits: the verify is always 4 rows there. At c = 8 the verify batch is 32 rows, which the table leaves on cuBLAS, so those differences presumably enter through batch tails, the draft passes or shifted batch timing. The README makes no claim about the mechanism at c = 8, which is right. A short note could stop readers from assuming a direct route effect.
  • Pre-commit and the host guard: the PR body doesn't say whether they were run on 47c7ccd and 43a1bc2. My run is queued.

Codex review on #210. Buffering reasoning_content and content separately
reorders interleaved deltas (reasoning a, content c, reasoning b came back
as abc); the stream is now one buffer in arrival order with a per-character
channel map, and a prompt is identical when text and channels match.
Completion token counts no longer enter the identity, as the docstring
says; prompts whose counts differ are listed in completion_tokens_differ.
Two tests cover the interleaved order, the channel split and the counts.
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (head 6633b33; provisional on Codex, which is running on this head)

This is a delta review of 43a1bc2..6633b33. My only blocking items at 43a1bc2 were Codex's two P2s, and both are fixed in the code and answered (4166755912, 4166756159).

  • 4166304445 (arrival order). read_stream now keeps one text buffer in arrival order, plus a per-character channel map, and within a delta the fields keep the order they were sent in. A prompt is identical only when the text and the channel map both match, and a split that differs only in channel is located through the map. The new test covers interleaved order and the channel split.
  • 4166304452 (token counts). Identity is now text only. Prompts whose completion-token counts differ go to completion_tokens_differ, and the docstring and the JSON's comparison field say so. The new test covers it.
  • Regeneration. At this head, run on the four raw run directories, text_identity.json comes out identical leaf for leaf to the committed file, apart from command (the --out path) and repo_commit. The committed file records 1e7b6b3 with no -dirty suffix. Against 43a1bc2 the only changes are repo_commit, the comparison text and an empty completion_tokens_differ in every pair and point. All counts and first divergences are unchanged: 7 and 15 of 64 differing between the arms at c = 1 and 8, 64 of 64 within each arm, and 211 and 125 of 256 within each arm at c = 32.
  • Channels. All 1,536 profiling requests in the four runs streamed content deltas only, with no request carrying any reasoning_content. So neither fix can move the counts, and the README's added clause ("every request here streamed content deltas only, all 512 tokens") is right. My earlier interleave check at 43a1bc2 also found 0 requests streaming reasoning after content, and a single ordered buffer gave the same counts.
  • Tests and hooks. tests/test_backbone_served_tools.py: 10 passed. Pre-commit on the four changed files is clean. At 43a1bc2: 8 passed, pre-commit clean.
  • Other checks. The author and committer are Samuel Mausberg, with no attribution lines, and the hostname grep on the delta is clean. The README's command names 1e7b6b3.

Everything I approved at 632f4cc and checked at 43a1bc2 still holds. This approval becomes final once Codex is clean on 6633b33.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 6633b339eb

ℹ️ 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
SamMausberg merged commit f890580 into main Oct 2, 2026
SamMausberg added a commit that referenced this pull request Oct 2, 2026
Conflict in TASKS.md only, between adjacent rows: main (#210) changed H6 and this
branch changed H7; both kept (H6 from main, H7 from this branch).
SamMausberg added a commit that referenced this pull request Oct 2, 2026
Paper and notes: fold the lossy levers (#209) and the backbone table on mtp-tuned-triton (#210)
SamMausberg added a commit that referenced this pull request Oct 2, 2026
…easurements

Several top-level documents still described merged work as pending, in review
or not merged. Each statement below was rechecked against the committed
evidence it now cites.

- README.md: a short map of where the serving measurements are (harness and
  commands, the Pareto frontiers, Nsight profiles, quality checks, before and
  after, engine patches). The main results replace "Hopper model, whose
  justification is pending", "the certified-head kernels and their engine
  integration are still in review" and "the confirmation sweeps ... are not
  merged yet" with the results: the kernel replay and the served certified
  head (evidence/certified_head/, served/), the confirmed frontier and GSM8K
  (evidence/bench/). One new bullet gives the engine changes against the tuned
  arms with their conditions (hostgap, the DFlash fold, the composed stack,
  the two lossy levers), as the paper's Section 4.5 states them. The backbone
  bullet reports the mtp-tuned-triton pairs (#210) instead of "untested".
- README.md attribution: shortened to what Sam asked for: AI tools (Claude
  Opus 5.5 and GPT-6 Astra Pro) were used in developing the paper and the
  code; Samuel Mausberg is the author and is responsible for its claims.
- RUNBOOK.md: results enter the paper or the notes only after their pull
  requests merge (no "pending items").
- engine/sglang/README.md, moonshot 0007: "validation pending" becomes the
  kernel-level bit-exactness result and the served output probe, with its
  limit.
- evidence/README.md: the citation column names the paper's current sections
  and register groups; "not cited yet" rows (certified_head, backbone,
  triton_tma, stack) now say what cites them; moonshot, repair and frontier
  are cited by the research notes only; new rows for hostgap/ and lossy/;
  bench/ and certified_head/ list confirm/, equality/, quality/ and served/.
- experiments/README.md: rows for benchcert/, hostgap/ and lossy/.
SamMausberg added a commit that referenced this pull request Oct 2, 2026
…easurements

Several top-level documents still described merged work as pending, in review
or not merged. Each statement below was rechecked against the committed
evidence it now cites.

- README.md: a short map of where the serving measurements are (harness and
  commands, the Pareto frontiers, Nsight profiles, quality checks, before and
  after, engine patches). The main results replace "Hopper model, whose
  justification is pending", "the certified-head kernels and their engine
  integration are still in review" and "the confirmation sweeps ... are not
  merged yet" with the results: the kernel replay and the served certified
  head (evidence/certified_head/, served/), the confirmed frontier and GSM8K
  (evidence/bench/). One new bullet gives the engine changes against the tuned
  arms with their conditions (hostgap, the DFlash fold, the composed stack,
  the two lossy levers), as the paper's Section 4.5 states them. The backbone
  bullet reports the mtp-tuned-triton pairs (#210) instead of "untested".
- README.md attribution: shortened to what Sam asked for: AI tools (Claude
  Opus 5.5 and GPT-6 Astra Pro) were used in developing the paper and the
  code; Samuel Mausberg is the author and is responsible for its claims.
- RUNBOOK.md: results enter the paper or the notes only after their pull
  requests merge (no "pending items").
- engine/sglang/README.md, moonshot 0007: "validation pending" becomes the
  kernel-level bit-exactness result and the served output probe, with its
  limit.
- evidence/README.md: the citation column names the paper's current sections
  and register groups; "not cited yet" rows (certified_head, backbone,
  triton_tma, stack) now say what cites them; moonshot, repair and frontier
  are cited by the research notes only; new rows for hostgap/ and lossy/;
  bench/ and certified_head/ list confirm/, equality/, quality/ and served/.
- experiments/README.md: rows for benchcert/, hostgap/ and lossy/.
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