dspark: ThinkingCap acceptance measured (3.95 tok/round at K=7) and the capture harness #75
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!75
Loading…
Reference in a new issue
No description provided.
Delete branch "dspark-thinkingcap"
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?
DSpark drafter acceptance measured on ThinkingCap, plus the harness that produced it.
Result (LEDGER
R-2026-09-25-dspark-tc): tokens per draft+verify round3.00 / 3.95 / 4.43 at K=3/7/15 on ThinkingCap vs 2.91 / 3.79 / 4.32 on Qwen base,
same prompts. Agentic reaches 5.21 at K=7. The fear that ThinkingCap's fine-tune would
degrade a Qwen-trained drafter is not supported. Acceptance only, host-CPU oracle over a
TT capture — no speed claim follows; draft/verify/commit cost needs the TP=2 verifier.
Adds
bench/dspark/(capture, oracle, controls, tests), three records, and.claude/skills/dspark-tt/SKILL.md. This merge also writes the result intodocs/LEDGER.md— the branch had recorded it only in commit messages, and after PR #68the LEDGER is the only place a result is visible — and refreshes
bench/runs/INDEX.tsv.Master merged in first (branch was cut before PR #68). Verified after the merge:
docs/still 11 files, no root
CLAUDE.md,AGENTS.mdis the lean rewrite,QWEN36_PREFILLED_SLOTS_FIXstill inqwen36_vllm.py, and the only files added versusmaster are the twelve listed above. No PR #68 deletion was resurrected.
scripts/check-cited-records.pypasses locally.🤖 Generated with Claude Code
agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.
verdict: approve
tier: T3 (research/benchmark harness — not infra, no
.nix, no secrets, no merge-gate surface)rationale: This is a self-contained acceptance-measurement harness for the DSpark drafter, not a production path. The core claim is correct — under greedy decoding speculation is lossless, so replaying the target's recorded greedy sequence over the drafter's tapped features on host CPU is an exact acceptance measurement, with no speculative verifier needed. The code is clean and the design is sound.
concerns:
oracle.py:1224model.prefill_traced_chunked(...)runs the prefill with no trace parked (eager), while the real verify step uses a multi-row traced program — the capture's own docs flag that these differ at bf16/bf8 noise.--taps decodecontrols measure the sensitivity, and the records statetaps_source: prefill, so this is disclosed rather than hidden. Acceptable for an acceptance-only benchmark.run-capture.shandtap_capture.pyare device-side artifacts that only ever run inside thevllm-tt:k2container with production mounts; they are not runnable on host/CI, so the 27test_oracle.pyhost tests cover the oracle accounting but not the TT capture itself. The capture's fail-closed checks (embedding-order PCC>0.999, phase-2 next-token match, warm-cache attribution) are the real gate and are reported in the capture record'schecksblock.docs/LEDGER.mdnow records the result (a legitimate follow-through to PR #68's closure rule) — scoped as acceptance-only, no speed claim. Correct.No secret-leak, no code-execution vuln, no auth/blast-radius regression, no infra
.nix.guards.shfails closed.fetch_tensors.pystreams over ssh with byte-count verification (no remote materialisation). The design properly avoids the five defects that produced #23's 0.10 (no decode-replay of prompt tokens, real chat template, full-history context). Approve.