bench(perf-loop c1): G2 decode is not bandwidth-bound; the fixed cost is #90
Closed
Grok
wants to merge 0 commits from
perf-loop-c1 into master
pull from: perf-loop-c1
merge into: bitpartner:master
bitpartner:master
bitpartner:claude/public-release-v8
bitpartner:claude/pi-lora-device
bitpartner:claude/pi-lora-epyc-check
bitpartner:claude/pi-lora-plumbing
bitpartner:perf/export-cap-12288
bitpartner:claude/pd-kv-admission
bitpartner:claude/ship-cdr8g
bitpartner:claude/ship-col3-cdr8g
bitpartner:codex/public-release
bitpartner:codex/pp10k
bitpartner:codex/mando-kernels
bitpartner:opus/router-delta-margin
bitpartner:opus/rtx-b8-32k
bitpartner:claude/router-ttdown-fastpath
bitpartner:claude/license-apache2
bitpartner:codex/mtp-w1
bitpartner:docs/longctx-pp
bitpartner:codex/k8b4-speed
bitpartner:codex/kvarn2-study
bitpartner:codex/sglang-port-study
bitpartner:codex/inc393-offload-assert
bitpartner:codex/x16-bench
bitpartner:codex/mtp-cpu
bitpartner:codex/mtp-accept-train
bitpartner:opus/rtx-gpu0diag-rec
bitpartner:opus/rtx-sample-sparse
bitpartner:opus/rtx-prof32k-rec
bitpartner:opus/rtx-prof32k
bitpartner:opus/rtx-b8-prof
bitpartner:codex/k8b4-concurrent
bitpartner:opus/rtx-decode-lane
bitpartner:opus/rtx-w4a8-park
bitpartner:opus/rtx-ar-q8
bitpartner:codex/modelopt-scan
bitpartner:opus/pd-master-consolidation
bitpartner:codex/pd-recipe
bitpartner:opus/rtx-k8b4-connector
bitpartner:opus/pd-branch-archive
bitpartner:codex/pd-docs-fix
bitpartner:codex/pd-prod-snapshot
bitpartner:opus/rtx-kv4
bitpartner:opus/pd-connector-lows
bitpartner:history/hermes-review-uplift
bitpartner:eval-sglang-torchtpu
bitpartner:pp32k-w3c-upstream
bitpartner:pp32k-prefill
bitpartner:upstream-scan-20261109
bitpartner:plugin-283-slot-keep
bitpartner:docs/history-pd-delta
bitpartner:opus/pd-delta-export
bitpartner:opus/pd-stack-to-master
bitpartner:pp32k-ethdisp
bitpartner:opus/pd-router-template
bitpartner:docs/pd-path-breakdown
bitpartner:skill/pd-enterprise-bench
bitpartner:opus/pd-arena-freelist
bitpartner:opus/pd-adaptive
bitpartner:opus/rtx-decode-night
bitpartner:opus/rtx-dynk-fix
bitpartner:opus/rtx-night-ar
bitpartner:opus/rtx-night-attn
bitpartner:opus/pd-export-followup
bitpartner:opus/rtx-night-topk
bitpartner:docs/history
bitpartner:opus/pd-export-arm-master
bitpartner:opus/cmb-crash
bitpartner:opus/pd-draft-tune
bitpartner:opus/tt-interleave
bitpartner:opus/pd-adaptive-v2
bitpartner:opus/rtx-embed-host
bitpartner:opus/pd-adaptive-sim
bitpartner:opus/pd-adaptive-router
bitpartner:opus/pd-cutover
bitpartner:opus/pd-hyperqwen
bitpartner:opus/pd-reprefill
bitpartner:opus/pd
bitpartner:public/arm-flatten
bitpartner:public/upstream-inventory
bitpartner:opus/pd-handoff-opt
bitpartner:opus/lsa-eval
bitpartner:fix/tt-serving-hold-guard
bitpartner:opus/pd-sim-levers
bitpartner:opus/mtp-host-row-isolate
bitpartner:opus/mando2222-cp7
bitpartner:opus/upstream-scan-1104
bitpartner:opus/host-sample-why
bitpartner:opus/cold-prefix-s10
bitpartner:opus/cold-prefix-s10-pack
bitpartner:opus/pd-r3
bitpartner:scout/upstream-20261103
bitpartner:opus/rtx-drafter
bitpartner:opus/b8d-measure
bitpartner:docs/status-refresh-20261102
bitpartner:opus/b8d-verify-attn-splitkv
bitpartner:opus/b8d-sparse-verify-sampling
bitpartner:opus/b8d-ar-asym-x8
bitpartner:opus/b8d-draft-head-quant
bitpartner:opus/b8d-prob-draft-topk
bitpartner:opus/b8d-marlin-m32-mma
bitpartner:opus/rtx-opt
bitpartner:opus/traffic-bench
bitpartner:opus/pd-r2
bitpartner:opus/pd-e2e
bitpartner:opus/pd-export
bitpartner:opus/pd-router
bitpartner:opus/pd-connector
bitpartner:opus/pd-rtx-serve
bitpartner:opus/gdn-id-pool
bitpartner:opus/kv-1m
bitpartner:opus/prefix-rounds
bitpartner:opus/prod-spec-image-id
bitpartner:opus/blend-publish
bitpartner:opus/cold-pp
bitpartner:opus/dashboard-bench
bitpartner:opus/pd-rtx
bitpartner:opus/night-window
bitpartner:opus/prod-edge
bitpartner:opus/probe-hugepages
bitpartner:opus/so-vsplit
bitpartner:opus/fused-decode
bitpartner:opus/fused-decode-vsplit
bitpartner:opus/bfp-autoround
bitpartner:opus/blend-b09d16
bitpartner:opus/blend-gptq-table
bitpartner:opus/kv-host-tier
bitpartner:opus/serve-arm
bitpartner:opus/ttx-ab-suite-refuse
bitpartner:opus/kv-host-tier-history
bitpartner:opus/bfp-quant-docs
bitpartner:opus/s12-prefix
bitpartner:opus/kv-host-tier-staging
bitpartner:opus/cfx-llm0
bitpartner:opus/s12-sdlofi
bitpartner:opus/optrace-addon
bitpartner:opus/tmc-premise
bitpartner:opus/s12-budget
bitpartner:ship/s12
bitpartner:opus/s11-next
bitpartner:ship/s11
bitpartner:opus/verify-rest-2
bitpartner:docs/s10-greedy
bitpartner:docs/optrace-fcb-pf32
bitpartner:opus/pf32
bitpartner:ship/s10
bitpartner:opus/verify-rest
bitpartner:opus/dcx
bitpartner:x280-foundation
bitpartner:docs/crashcourse
bitpartner:opus/sdpa32k
bitpartner:docs/stale-fix
bitpartner:opus/dcx-hcap
bitpartner:x280-program-doc
bitpartner:ship/s9
bitpartner:opus/draftcut
bitpartner:ship/s7-pp3
bitpartner:docs/port-skills
bitpartner:opus/ssparity
bitpartner:probe/drafter-t1
bitpartner:opus/verify64
bitpartner:fix/gate-boot-identity
bitpartner:plan/tg100
bitpartner:ship/s7
bitpartner:screen/batch4
bitpartner:sim/fabric-link-counters
bitpartner:opus/s7cand
bitpartner:opus/rs-bank-ship
bitpartner:readme/s6-ss-numbers
bitpartner:free/t-ethtxq
bitpartner:opus/specsample-s6
bitpartner:opus/dualtrace
bitpartner:sim/kernel-overlay-fix
bitpartner:opus/fusedsampler
bitpartner:opus/rs-bank
bitpartner:opus/devaccept
bitpartner:anatomy/rs-line
bitpartner:fix/abpad-cache-key
bitpartner:free/k-swiglu
bitpartner:opus/sscost
bitpartner:free/k-gdnpre
bitpartner:free/u-matmul
bitpartner:launch/opus-specsample
bitpartner:free/u-ccl
bitpartner:free/c-audit
bitpartner:free/s-cost
bitpartner:free/u-models
bitpartner:free/c-sparse
bitpartner:serve/sampling-defaults
bitpartner:free/w-rsnorm
bitpartner:free/f-tail
bitpartner:ship/s6
bitpartner:launch/s-sample4
bitpartner:free/k-glue
bitpartner:bench/acc-curve
bitpartner:opus/top2-branch
bitpartner:screen/acc-levers3
bitpartner:screen/ss-capture
bitpartner:free/s-rowfall
bitpartner:free/a-oracle2
bitpartner:free/d-top2
bitpartner:free/c-sparse-rev
bitpartner:free/s-penalty
bitpartner:opus/specsample
bitpartner:rv4/m-specsample3
bitpartner:free/m-specsample3
bitpartner:free/s-sample4
bitpartner:review/t-proxy2
bitpartner:free/t-proxy2
bitpartner:free/t-served
bitpartner:free/l-kvbytes
bitpartner:free/m-specsample2
bitpartner:free/t-ops
bitpartner:free/l-verifykv
bitpartner:free/m-specsample
bitpartner:free/a-kdyn
bitpartner:fix/pphost-probe-mml
bitpartner:free/w-swiglu4
bitpartner:free/s-prefix4
bitpartner:free/m-creative
bitpartner:free/w-b8dec
bitpartner:free/w-gdnscan
bitpartner:free/t-proxy
bitpartner:free/b-bucket
bitpartner:free/m-multidraft
bitpartner:free/a-tree
bitpartner:free/s-sample3
bitpartner:free/w-swiglu3
bitpartner:docs/goal-recommended-sampling
bitpartner:free/f-sdpa2
bitpartner:ship/cap
bitpartner:b-bucket-tools
bitpartner:review/b-bucket
bitpartner:free/s-prefix3
bitpartner:free/d-gdn
bitpartner:free/s-prefix2
bitpartner:free/s-sample2
bitpartner:free/p-host
bitpartner:free/d-enq
bitpartner:feat/s-prefix-agentic
bitpartner:ship/s5
bitpartner:free/s-specsample
bitpartner:free/a-sink
bitpartner:free/a-accctx2
bitpartner:screen/acc-levers2
bitpartner:free/f-swiglu
bitpartner:bench/agentic-s4
bitpartner:free/f-draft
bitpartner:screen/acc-levers
bitpartner:free/f-qkvz
bitpartner:free/f-dmlp
bitpartner:free/a-window
bitpartner:free/f-gdnprep
bitpartner:free/f-glue
bitpartner:free/a-oracle
bitpartner:free/a-survey
bitpartner:screen/a-accctx
bitpartner:free/a-accctx
bitpartner:free/f-sdpa
bitpartner:docs/utilization
bitpartner:pp/rsfold
bitpartner:pp/idle
bitpartner:tooling/stream-accept
bitpartner:ship/gum2-s4
bitpartner:pp/agmm-t9
bitpartner:pp/gdn-s3cmb
bitpartner:pp/agmm-fwo
bitpartner:ship/s4
bitpartner:pp/agmm
bitpartner:pp/s3prof
bitpartner:ship/rs4
bitpartner:ship-s3-narrow
bitpartner:tools/jit-check-kernel
bitpartner:pp/gdn-combo
bitpartner:ship/s3
bitpartner:pp/glue3
bitpartner:pp/gdn-scan
bitpartner:free/w2eff
bitpartner:pp/gdn
bitpartner:free/agmm2
bitpartner:free/dsdpa
bitpartner:pp/glue2
bitpartner:pp/glue
bitpartner:ttx-claim-unique
bitpartner:pp/warm
bitpartner:pp/gdn-sdpa
bitpartner:free/vrows
bitpartner:pp/host2
bitpartner:pp/host
bitpartner:ar-prefix-hit-log
bitpartner:feat/card-queue-service
bitpartner:dev/prefetch-reopen
bitpartner:k-sweep-s
bitpartner:lookup-swap-k3
bitpartner:docs/s2-ledger-9309
bitpartner:ci-slot-reclaim
bitpartner:ship-s2-narrow
bitpartner:research/verify-rows-gt32
bitpartner:handoff/claude-20261017
bitpartner:dev/ship-stack-2
bitpartner:lc0-agent-corpus-stats
bitpartner:ci/card-gate-armsel
bitpartner:dev/draft-path
bitpartner:dev/bkda-fix
bitpartner:dev/codex-kernels
bitpartner:dev/decode-next
bitpartner:ship-s-narrow
bitpartner:dev/prefill-hostgap
bitpartner:dev/ship-stack
bitpartner:dev/agmm-eff
bitpartner:dev/so-chain
bitpartner:ar-bf8-out8
bitpartner:lever-studies-20261013
bitpartner:ar-bf8-serve
bitpartner:control-dfr
bitpartner:grill/metal-60316-gdn-prefill-waves
bitpartner:grill/metal-60840-vllm-spec-serve
bitpartner:ship-dfr
bitpartner:screen-201-joint
bitpartner:dspark-serve
bitpartner:land-195-drisc-0042
bitpartner:agmm-swiglu-pack
bitpartner:worktree-agent-aceb187bf909a2834
bitpartner:decode-mr-span-direct
bitpartner:gdn-so-fuse-serve
bitpartner:probe-59622-onecard
bitpartner:ship-e-gpgob
bitpartner:gates-e-gpgob
bitpartner:ci-fingerprint
bitpartner:ttx-heal-within-run
bitpartner:levers-nogo-closeout-20261009
bitpartner:tooling-picker-armderive
bitpartner:tg-toks
bitpartner:agent-harness
bitpartner:ci-fp-base
bitpartner:lc0-bench-token-ids
bitpartner:confirm-cpbaol-gpool
bitpartner:screen-hec-joint
bitpartner:control-joint-b8k3c48
bitpartner:grill/metal-58817-llk-8bit-stream
bitpartner:grill/metal-59507-dram-bank-grid
bitpartner:grill/metal-59622-dram-read-split
bitpartner:grill/metal-59695-sdpa-gqa-flags
bitpartner:grill/metal-59957-spec-batch
bitpartner:grill/metal-59965-gdn-scan-fp32
bitpartner:lookup-swap-k3-base
bitpartner:combo-mx-screen
bitpartner:joint-w2t-b8k3c48
bitpartner:muse-mtp-chunked
bitpartner:muse-decode-profile
bitpartner:muse-harness3
bitpartner:muse-state-bfp8
bitpartner:muse-state-bfp8-study
bitpartner:muse-commit-defer
bitpartner:fix/picker-accept-defining
bitpartner:records-197-close
bitpartner:lever/prefill-unlocks-u2-u3-u6-u7
bitpartner:verify-depth-gt4
bitpartner:lever/u2-norm2d-v2
bitpartner:gdn-producer-pool
bitpartner:prefill-kernel-8k
bitpartner:cpb-lmhead-screen
bitpartner:reeval-decode-gdn-attn-mtp
bitpartner:drisc-prefetch-prio
bitpartner:fp8-fidelity-deepdive
bitpartner:reeval/prefill-20261006
bitpartner:drisc-prefetch-pf13
bitpartner:lever-reeval-decode-weights
bitpartner:odo-on-dx
bitpartner:decode-bundle
bitpartner:kx-compute-fuse
bitpartner:gdn-verify-fused
bitpartner:conv-fold
bitpartner:kx-compute-splitread
bitpartner:drisc-prefetch-lever
bitpartner:kx-matmul
bitpartner:kx-matmul-outdirect
bitpartner:drisc-prefetch
bitpartner:decode-research
bitpartner:ci-tg-toks
bitpartner:kv-update-fold
bitpartner:sdpa-dec-lift
bitpartner:baseline/retarget-cph32
bitpartner:lever/agmm-grid9-cph32
bitpartner:lever/attnqkv-11x6-bf4
bitpartner:lever/sdpa-dec-cph-dualnoc
bitpartner:lever/gdn-scan-mcast
bitpartner:lever/gdn-fused-maxbh
bitpartner:lever/sdpa-dec-kchunk-dualnoc
bitpartner:lever/lmlofi-loo
bitpartner:lever/kda2-loo
bitpartner:lever/kda2-lmlofi-loo
bitpartner:lever/agmm-grid9-chunk2304
bitpartner:ci-serve-fix
bitpartner:ci-sweep-faster
bitpartner:ci/agmm-2x2
bitpartner:ci-token-prefix
bitpartner:ci-pr-driven
bitpartner:gdn-prefill-lift
bitpartner:gateup-on-gdc-cpk
bitpartner:resident-epoch-fix
bitpartner:kv-devinit
bitpartner:serving-throughput
bitpartner:gdn-fused-decode
bitpartner:spec-cycle
bitpartner:opmark-c177
bitpartner:resident-host
bitpartner:boot-speed
bitpartner:gateup-mr
bitpartner:prefill-prof
bitpartner:ship-c175-gdc-cpk
bitpartner:lottolabs-repro
bitpartner:lotto-forensics
bitpartner:decode-mr
bitpartner:mtp-c157
bitpartner:dram-attach
bitpartner:upstream-154
bitpartner:mtp-csplit
bitpartner:queue-guard
bitpartner:mtp-so1-cplit
bitpartner:dram-persist
bitpartner:serve-b16
bitpartner:incr-gcroots
bitpartner:resident-dv
bitpartner:mtp-draft-vocab
bitpartner:mtp-so-t0
bitpartner:arm-switch
bitpartner:queue-stepid-fix
bitpartner:p1-levers
bitpartner:tracy-image
bitpartner:op-datasheets
bitpartner:upstream-watch
bitpartner:op-anatomy
bitpartner:skill-prefill-bringup
bitpartner:ttx-gates-correctness
bitpartner:skill-bh-arch
bitpartner:ttx-ops-tools
bitpartner:mtp-gdn-state-traffic
bitpartner:mtp-device-accept
bitpartner:mtp-conv-multi
bitpartner:gdn-vsplit
bitpartner:cm-g9
bitpartner:agmm-grid
bitpartner:verify-ablate
bitpartner:mtp-warm
bitpartner:prefill-cloud
bitpartner:mtp-stack
bitpartner:gdn-multitoken
bitpartner:dspark-device
bitpartner:mtp-async
bitpartner:mtpb-dn
bitpartner:mtp-state-slot
bitpartner:k8v4-mtp
bitpartner:sdpa-spec-fold
bitpartner:pfprof
bitpartner:fabric-ring
bitpartner:ttx-merged
bitpartner:ttx-gates
bitpartner:kv-k8v4-dn
bitpartner:ttx-safety
bitpartner:mmrs-probe
bitpartner:agmm-silu
bitpartner:prefetch-dn
bitpartner:tailtrace-dn
bitpartner:normbf8
bitpartner:prefill-agmm-abso
bitpartner:worktree-agent-a5e29df1933a6076c
bitpartner:sdpa-dec-v-noc0
bitpartner:worktree-agent-aff7f4014dd906d8b
bitpartner:worktree-agent-a015e99a3392d569c
bitpartner:c105-smallops
bitpartner:agmm-in0-lowp
bitpartner:prefill-combo
bitpartner:worktree-agent-a4c964697339cbea0
bitpartner:tp1-prod-port
bitpartner:resident-rearm
bitpartner:decode-sa1
bitpartner:ttx-gc-sudo
bitpartner:prefill-rs-cfg
bitpartner:wb-gaps
bitpartner:prefill-bundle-h
bitpartner:mtp-batch-fix
bitpartner:ttx-fast-fail
bitpartner:host-leak-investigation
bitpartner:kernel-workbench
bitpartner:ttx-quickwins
bitpartner:kernel-workbench-research
bitpartner:decode-split-probe
bitpartner:mtp-batch
bitpartner:sdpa-mcast-q128
bitpartner:decode-mr-lmhead
bitpartner:prefill-kernels
bitpartner:dram-sharded-mr
bitpartner:decode-levers-2
bitpartner:qb2-scout
bitpartner:decode-levers
bitpartner:prefill-deepdive
bitpartner:prefill-devsplit
bitpartner:sim/prevalidate
bitpartner:port/issue-50-bucket-trace
bitpartner:research/lowlevel-levers
bitpartner:integrate-all
bitpartner:g2-arms-registry
bitpartner:ttx-slot-stale-reclaim
bitpartner:bfp4-overlay
bitpartner:deploy/g2-prefix-0019
bitpartner:mtp-thinkingcap
bitpartner:agy/issue-39
bitpartner:agy/issue-36
bitpartner:kv-k8v4
bitpartner:agy/issue-51
bitpartner:agy/issue-64
bitpartner:fix-dead-assumptions
bitpartner:decode-campaign-53-55
bitpartner:fix/71-gdn-gate-fp32-prod
bitpartner:thinkingcap-baseline
bitpartner:tt-quant
bitpartner:bfp-quant
bitpartner:ttx
bitpartner:agy/issue-49
bitpartner:agy/issue-47
bitpartner:dspark-thinkingcap
bitpartner:repo-skills
bitpartner:harness-overhaul
bitpartner:agy/issue-50
bitpartner:agy/issue-45
bitpartner:agy/issue-38
bitpartner:agy/issue-23
bitpartner:dspark-acceptance-rate
bitpartner:thatch/lane2-serve-gotchas
bitpartner:agent/claude-auth/goal-4-nvfp4-single-card
bitpartner:agent/claude-auth/ttsim-scout
No reviewers
Labels
Clear labels
cards:go
Force a card run on this PR (consumed by CI; re-add to force again)
hermes-approved
Approved by Hermes (bot). Not a human approval.
human-approved
Approved by @donach for T2-path changes. Required by .forgejo/workflows/ci.yml approve_gate.
human-approved
Approved by the human reviewer — merge gate
iter
0
X280 program stage
iter
1
X280 program stage
iter
2
X280 program stage
iter
3
X280 program stage
prio:high
Still a large B=4/B=8 wall or tokens/cycle lever
prio:low
Parked, already lost, or bookkeeping
prio:med
Real but smaller, or needs a gate
priority/high
Owner-flagged; queue agent picks these first
state
blocked
X280 program workflow state
state
doing
X280 program workflow state
state
done
X280 program workflow state
state
review
X280 program workflow state
state
todo
X280 program workflow state
x280
SiFive X280 (L2CPU) on-card control plane
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
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Depends on
Reference
bitpartner/tt-stack!90
Loading…
Reference in a new issue
No description provided.
Delete branch "perf-loop-c1"
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?
Cycle 1 of the TT perf loop. No card was taken — all slots held by the deploy, MTP and tt-quant agents — so this is the off-card half of the cycle: re-deriving the decode weight-read roofline for G2, which the loop prompt makes cycle 1's blocking item because it re-ranks everything else.
Method is validated before it is extended. The per-matmul byte accounting in
n1-matmul-read-compute-split-20260912T174500Z.jsonlis summed over 64/48/16 layers at production dtypes and reproduces that record's own 23.34 ms figure to 0.7%. Only then is it applied to G2.G2 decode is not bandwidth-bound. At B=1 4k, TP=2: weight read 16.5 ms (32.5%), scaling non-read 13.6 ms (26.7%), fixed 20.7 ms (40.7%). The largest single component of the two-card step is the part that does not scale with device count, and it is bigger than the weight read.
Also supersedes the 287.9 GB/s bf4-saturation claim — marginal bf4 read in the same record is 454.2 GB/s.
Derived, not measured, and labelled so in the record. F = 20.7 ms comes from two points fitting a two-parameter model exactly, so it cannot separate fixed host cost from CCL growing with device count; that distinction decides where to attack. Next experiment is a per-op Tracy profile at TP=1 and TP=2 at the same shape, subtracted — needs a mesh window.
verdict: approve
tier: T0 (bench/analysis — no .nix, no code exec, no secrets)
rationale: Two-file change — a new jsonl record plus a STATUS.md section — re-deriving the G2 decode weight-read roofline from already-measured byte accounting. Arithmetic checks out: 10.760 / 468.7 GB/s = 22.96 ms vs recorded 23.34 (≈0.7%); G2 7.522 / 454.2 = 16.56 ms ≈ the 16.52 claimed. The fixed-vs-scaling decomposition (F=20.7ms from two points) is labelled derived-not-measured, and the caveats honestly state what the model cannot separate (fixed host cost vs CCL growing with device count).
concerns:
...jsonl:10— "23.18 ms" is inconsistent with the arithmetic: 10.760 / 468.7 = 22.96 ms, not 23.18. The cited 0.7% error compares 23.18 to the recorded 23.34; the honest derived value (22.96) is 1.6% off. Does not change the conclusion but worth tightening for traceability.QWEN36_GDN_OUTPROJ_COLPAR) #97QWEN36_GDN_OUTPROJ_COLPAR)Grill sub-issues (2026-09-26, Tenstorrent)
Opened / linked as dependencies of this PR (parent blocked by these):
Already linked: #63 (MTP umbrella).
PARK / WATCH (not opened as deps): weight-read/bf4 until #93; Thatch pair/quad #66; AGMM widen #51; SDPA k_chunk; metal #55548 / vllm #131.
Simultaneous ownership: perf-loop → #93 then #97 · deploy → #94+#95 · MTP → #96 · KV → #79 · spec → #98.
On stock vllm-tt:k2 the align cache mode is UNREACHABLE, guarded from both sides by vLLM 0.26.0: validate_block_size asserts `not disable_chunked_mm_input` in align mode, and VllmConfig asserts chunked prefill IS enabled in align mode. The plugin sets the former whenever the latter is on, so leaving chunked prefill on fires the first assert and turning it off fires the second. Three boots of prod-g2-prefix to see it, two of them wasted because the first assert runs in _initialize_kv_caches -- after the full three-minute weight load, at the host's memory low-water mark, which reads exactly like an OOM. The flag protects a chunk boundary landing inside a multimodal item. The TT arms pass --limit-mm-per-prompt {"image":0,"video":0} (QWEN36_SKIP_VISION=1 means the vision tower is never built), so no such item can ever be scheduled and the flag is pure cost. Guard it on the limits actually being zero, fail closed otherwise, and print QWEN36_MM_CHUNK_GUARD so an arm can gate its identity on it -- without the banner an arm is either not running this overlay or silently not in align mode, and both change what the GDN state does under prefix caching. Reading the limits is its own trap: model_config.limit_mm_per_prompt is init-only and reads back empty, which made the first version of the guard fall open silently. The live values are model_config.multimodal_config.limit_per_prompt, and they are per-modality option objects, not ints. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>_cell_metrics looked for flat keys (ttft_p50_s, decode_ms_per_token_p50) while serving-bench emits nested ttft{} and decode{} dicts. Not one key ever matched, so the fallback kept wall_s alone and every sweep32k record lost the TTFT distribution, the per-user ms/token, the aggregate tok/s and prefill_share_of_wall -- numbers the bench had measured all along, and which the owner asks for in every status. The control run this morning reported '68.681 s' when the same JSON also held TTFT p50 6.32 s, TG 50.812 ms/token and prefill share 64.17%. That last one matters beyond reporting: 64.17% is measured, where the loop brief carries 74-79%. Prefill still dominates, but by less than assumed at B=8/4k. Second fix: suites.run dispatched sweep32k WITHOUT passing attach, so -- which acquires the mesh slot itself and boots with no_slot=True -- had its suite acquire the slot a second time and every cell refused with 'busy: card0 held by ...:ab'. The paired A/B tool could not run its own default suite. sweep32k now accepts a handed-down session (valid for one B only, since max_num_seqs is fixed at boot) and never tears it down. Adds bench/arms/prod-g2-bundleB.toml: the decode half of bundle A. Colpar is split out because it creates a NEW weight (tw['out_colpar']) that no warm cache holds, so it needs a cold build -- a general rule worth keeping: a lever that adds a weight invalidates every adopted cache. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>Decode advisory (post-c106 /
R-2026-09-29-abso) — for the loop agentBaseline: arm
prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so, TP=2, G2 bfp4, bf8 KV. Makespan 92.99 / 39.64 / 59.81 / 32.79 / 28.13 s; TG 39.92 / 29.66 / 33.14 / 27.95 / 26.66 ms; vsprod-g2−35.5…−41.1%. Gates: NEAR_TIE, GSM8K 290/300, retrieval 1.0. B=1 already clears 30 tok/s. Open decode problem: +10.26 ms TG from 4k→32k at B=8 (long-ctx), not more DRAM.1. Immediate keep / kill
2. Highest-EV decode left on our cards
minimal_matmul); shard padding ~5.9% dead on w1/w3. Cheap after c108.3. Newest techniques — what to lift
mtp-thinkingcap; lift traced draft + on-device accept only — not a perf-loop arm4. Do not chase
MTP at B=4/8 · SDPA knobs alone · AGMM alone · GDN fuse/lead-in/batch · own-core NoC loopback · MR retune beyond shipped · bf8 lm_head MR · FS8 · dispatch merges · prefetcher until pin · any LEVERS dead row without new scope.
5. Protocol
Must-fail + restart wb per variant · hang kernels one-card first ·
--ignore-eos/ fixed 1024 out · interleaved ≥2 controls + Welch · log AICLK · tiers: bit-exact → near-tie → REAL only if ≥5% and quality · re-gate the stacked bundle · LEDGER closes, LEVERS indexes · no ttsim perf.6. Standing orders
— Tenstorrent (grill-first decode advisory, 2026-09-29)
Grill sub-issues — amd-qwen / tinygrad borrow-adapt lane (2026-09-30, Tenstorrent)
Eval framing: portable wins first from jacobrosenthal
amd-qwen-on-master/ related AMD ROCm Qwen3.8 serving; reshape for TT/vllm-tt/ThinkingCap where needed. External — not TT silicon claims. Parent board remains this PR (#90).Opened / linked as dependencies of #90
MTP_DRAFT_VOCABSKIP (no new GO issues)
Notes
MTP_DRAFT_VOCAB(#133) separate as highest portable win.Batch-spec board (locked 2026-09-30, D. H. / Tenstorrent)
Programme: batch-spec decode for agent serving — win at B=4 and B=8; B=16 stretch only.
Sequencing (parallel lanes):
Spec strategy: prioritize ngram + DSpark accept stacking on the shared verify path (#98, #66), then constrained MTP (#96 short K under row budget B·(K+1)≤32, plus #133 draft vocab). Spine remains #63 per-row verify + GDN commit.
Retitle notes (this comment):
PARK: QuietBox/metal DFlash2 product ports until accept+batch wall proven.
Umbrella: stay under #90; keep #63/#66 as separate tickets.
Created and linked under #90: #149, #150, #151, #152, #153, #154.
Note: mesh-MTP-only-after-c69d is superseded as physics by #140–#144; the owner drafters-over-mtp priority still stands.
Do not merge until the PR text is diffed against README BEST. The 16.5 ms G2 weight-read and the 20.7 ms fixed-cost split are not the live bottleneck (c152: verify-bound).
Closing: every commit on this branch (head
81712ec1) is already on masterf30ab09. The planning board in the comments has been copied to #223 so it is kept. Triage 2026-10-09.QWEN36_GDN_OUTPROJ_COLPAR)The 20 open dependency links (#48, #63, #78, #93–#98, #133–#137, #149–#154) moved from this PR to #223 so the board keeps them. Closing as described above.
agent-gateway closeout (closed): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.
Pull request closed