WIP: DFlash2 sampled-draft re-score (host oracle) — RTX drafter stays NOGO #348

Draft
orchestra wants to merge 2 commits from opus/pd-sim-levers into master
Member

Host-only follow-up to #347 (mando2222 cp7), item 1. No card and no GPU time.

  • bench/dspark/drafter_t1.py dflash2 --chain scores DFlash2's real proposal. Each draft is sampled from the selector chain softmax((unary + edge(pred))/T) given the previously drawn token, which is the rule of the z-lab reference and of vLLM 0.32 draft_sample_method=probabilistic. The 10-22 NOGO used the plain marginal instead. Tests show the rule equals the z-lab reference's sampled q.
  • Result: 6 ThinkingCap tap captures (2,494 anchors), T=1 / top_k 20 / top_p .95, K7.
    • Mean α through 7 is 0.644. It was 0.604 under the marginal, and the GO gate is 0.77.
    • Tokens per round are 4.55, against 4.53 (marginal) and 4.35 (greedy path).
  • RTX model (bench/dspark/dflash2_rtx_verdict.py, measured step times from opus/pd records):
    • Predicted sampled DFlash2 TG/user is 111.5 / 107.6 / 97.2 / 155.9 at B1 4k / B1 32k / B4 4k / agentic B1 32k.
    • MTP measures 160.7 / 154.3 (pdq8) / 123.2 / 159.1 in the same cells.
    • B4 32k and B8 do not fit, because the drafter cuts the KV pool to 90k tokens.
    • NOGO.
  • LEDGER R-2026-11-05-dflash2-sampled, with its records under bench/runs/dflash2-sampled-*.

🤖 Generated with Claude Code

Host-only follow-up to #347 (mando2222 cp7), item 1. No card and no GPU time. - `bench/dspark/drafter_t1.py dflash2 --chain` scores DFlash2's real proposal. Each draft is sampled from the selector chain softmax((unary + edge(pred))/T) given the previously drawn token, which is the rule of the z-lab reference and of vLLM 0.32 `draft_sample_method=probabilistic`. The 10-22 NOGO used the plain marginal instead. Tests show the rule equals the z-lab reference's sampled q. - **Result:** 6 ThinkingCap tap captures (2,494 anchors), T=1 / top_k 20 / top_p .95, K7. - Mean α through 7 is **0.644**. It was 0.604 under the marginal, and the GO gate is 0.77. - Tokens per round are 4.55, against 4.53 (marginal) and 4.35 (greedy path). - **RTX model** (`bench/dspark/dflash2_rtx_verdict.py`, measured step times from `opus/pd` records): - Predicted sampled DFlash2 TG/user is 111.5 / 107.6 / 97.2 / 155.9 at B1 4k / B1 32k / B4 4k / agentic B1 32k. - MTP measures 160.7 / 154.3 (pdq8) / 123.2 / 159.1 in the same cells. - B4 32k and B8 do not fit, because the drafter cuts the KV pool to 90k tokens. - **NOGO.** - LEDGER `R-2026-11-05-dflash2-sampled`, with its records under `bench/runs/dflash2-sampled-*`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The 10-22 NOGO scored the drafter's per-position marginal as q. DFlash2 samples
each draft from softmax((unary + edge(pred))/T) over its 16 candidates, given the
previously drawn token. selector_q / chain_alphas score that rule (cond_tf,
cond_mix, cond_mix_p1); tests prove it equals the z-lab reference's sampled q.
dflash2_rtx_verdict.py turns the oracle ratio into RTX TG per cell from measured
step times.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ledger: R-2026-11-05-dflash2-sampled — sampled-draft re-score 0.644 (<0.77), RTX drafter NOGO
Some checks are pending
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m55s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 5m49s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 7m44s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: draft, not run; add cards:go to force
e76b71ea0b
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Some checks are pending
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m55s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 5m49s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 7m44s
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
cards-fresh cards: draft, not run; add cards:go to force
This pull request has changes conflicting with the target branch.
  • docs/LEDGER.md
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin opus/pd-sim-levers:opus/pd-sim-levers
git switch opus/pd-sim-levers
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!348
No description provided.