Repository navigation
docs(research): decode's two remaining big-build levers — build capture-stable verify (B) first - #938
Merged
Merged
Conversation
…re-stable verify (B) first Feasibility scoping of the two remaining multi-week decode levers after the cheap ones closed (kernel +2.7% capped, TP NO-GO, eager-M=K speculative KILL): - Lever A (Marlin int4 relayout): ~1.3-1.6x unconditional, Amdahl-capped in GEMV. - Lever B (capture-stable padded M=K verify): floor ~1.0x / ceiling ~2-3x, attacks the dispatch binding, amortizes weight-DRAM over K, unlocks prompt-lookup + EAGLE-3/MTP. Recommended first, gated on a Phase-0 probe. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #938 +/- ##
==========================================
- Coverage 78.56% 77.81% -0.76%
==========================================
Files 352 354 +2
Lines 145983 148153 +2170
Branches 145983 148153 +2170
==========================================
+ Hits 114698 115282 +584
- Misses 26799 28377 +1578
- Partials 4486 4494 +8
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
justinchuby
added a commit
that referenced
this pull request
Aug 14, 2026
#940) Scribe state-only batch: merged 2 inbox drops (#938 roper-decode-remaining-levers, #936 holden-zerocopy-linux-default) into decisions.md, archived older bodies to decisions-archive/2026-08.md (49,264 B → 48,169 B, under the 50 KB gate), appended histories. State-only; no code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔴 Benchmark Regression DetectedComparison of criterion micro-benchmarks: PR head vs merge-base, measured on the same runner in the same job (base first → PR second).
Visual flags: Host infoWhat this cannot catch
|
justinchuby
added a commit
that referenced
this pull request
Aug 14, 2026
Scribe state-only batch: merged 2 decision drops (#948 leverb-phase0, #949 leverb-increment0) into decisions.md as the resolved 'Decode perf REOPENED — RESOLVED' section (Lever B tested and NO-GO, Marlin/Lever A promoted to primary — supersedes the #938 'build Lever B first' recommendation), archived older bodies to keep decisions.md under 50 KB (48,169 → 40,842 B), appended deckard history + logs. State-only; no code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design-only feasibility scoping (mirrors the TP feasibility doc #933) of the two remaining multi-week decode levers, after the three cheap ones were closed this week (#928 kernel +2.7% capped, #933 TP NO-GO for speed, #932/#935/spec-14b eager-M=K speculative KILL).
Recommendation: build Lever B (capture-stable padded M=K verify graph) first, gated on a cheap Phase-0 capture-stability probe. B attacks the actual dispatch binding and — because a captured M=K replay reads weights once (weight-DRAM is per-token, not per-M) — amortizes both dispatch and weight-read over K tokens (floor ~1.0x, ceiling ~2-3x), reuses existing frozen-bucket capture machinery, and unlocks prompt-lookup + EAGLE-3/MTP from one build. Lever A (Marlin int4 relayout) is the unconditional ~1.3-1.6x Amdahl-capped fallback.
Docs + decision drop only; no code.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com