mtp: land prompt-lookup draft source (QWEN36_MTP_LOOKUP, default off; from #222) #236
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!236
Loading…
Reference in a new issue
No description provided.
Delete branch "land-lookup-lever"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Land the prompt-lookup lever from #222 as default-off infrastructure. #222's lk12 screen measured inert (+0.07% TG, gates pass, run #7803), so this PR ships the lever + its unit tests only.
Included (from #222 commit
aa6daa2):Excluded (stays on #222): .forgejo/workflows/ci.yml, scripts/ci-pick-winner.py (already on master via #224/#226 anyway), bench/agent_corpus.py + fixtures, bench/serving-bench.py token-ids/agent parts, tools/ttx/tests/test_agent_bench.py + test_ci_pick_winner changes, the lk12 arm TOML (inert — not shipped), stage.py TOOL_FILES, suites _waves/deadline (screen parts).
Verification: lever defaults off (flag-off summary line unchanged, seed no-op), banner present when on; tests/test_mtp_lookup.py 12 passed; test_mtplog + test_ci_pick_winner + test_lint 58 passed;
ttx linton a control arm OK. No cards touched. Do not close #222 (owner retargets it).verdict: approve
tier: T1
rationale: Default-off lever with byte-identical control path (verified in-kernel: flag-off summary has no
lookup_*, seed is a no-op, banner is None). Greedy exact acceptance is untouched (lossless by construction). 12/12 new tests pass; the newtest_mtplogcounter-delta test verifies correctly; no secret or red-flag patterns.concerns:
tools/ttx/ttxlib/suites.py:572—MTP_CELL_STATSgains 4lookup_*keys, soattach_mtp_statsnow emitslookup_*: Noneon every mtp_stats record, including CONTROL arms that never set the flag. This becomes the permanent schema for all future runs once merged. The pick-winner judges onaccept_rate/tokens_per_row_step(unchanged), so it's safe — but consider whether the 4 null columns belong in the standing schema or should be emitted only when the flag is on. Not a block.Card gate —
prodvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob#236refrefs/pull/236/headf20c9d46118732a6f13ab8d638fd0723e8bed9famerged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/d1mg0hngjnb9vbfja47mbyba5wfbc2xq-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prodequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-equiv-20261010T031944Z.jsonl)prodgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-gsm8k-20261010T031944Z.jsonl)prodretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-retrieval-20261010T031944Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prodprodprodprodprodprodprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgobRecords
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-switch-20261010T025310Z.jsonlbench/runs/ttx-prod-equiv-20261010T031944Z.jsonlbench/runs/ttx-prod-gsm8k-20261010T031944Z.jsonlbench/runs/ttx-prod-retrieval-20261010T031944Z.jsonlbench/runs/ttx-sweep32k-prod-ab20261010T025310Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-ab20261010T025310Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/8017 (artifact
bench-runswhen the upload step ran).Cards verdict: success
159664bd61da37ef8fd4f45d1baf2c496226c4714a4155f03edb70c2e7b5977c(CONTROLprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob, armsprod, 475 card files2f1d856372e6d1ee)f20c9d46118732a6f13ab8d638fd0723e8bed9famerged onto basea7631340bd2c700bd7e19f6f3e86614b1cd4171cA later event with the same fingerprint reuses this verdict instead of booting the cards.
agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.