mkern-col3: B8 decode step bimodal (16.1/20.2 ms) → TG/user −5% at B8; fix before shipping #403

Open
opened 2026-11-16 12:01:51 +01:00 by orchestra · 0 comments
Member

Owner 2026-11-16: ship the prefill change alone (pp10k-cdr8g-bk → arm ship-cdr8g) and send mkern-col3 (column-major bank-stream decode reader for w13/w2/out, QWEN36_DECODE_COLUMN_STREAM=w13,w2,out, buffers 2, readers 4) back for fixing. The B1 gain is wanted; the B8 loss is what blocks it.

Evidence (ABBA vs exact prod, cfx-llm0, 2026-11-16 10:30–11:40 CET, branch claude/ship-col3-cdr8g @ dce008d2)

Combo = prod + mkern-col3 + cdr8g-bk; control = exact prod (ship-col3-cdr8g-prodctl). Sampling T=1 / top_p .95 / top_k 20, MTP on.

32k cold, TG/user tok/s prod combo Δ
B1 62.9 (60.8, 64.9) 68.2 (68.1, 68.2) +8.4%
B4 60.8 (64.9, 56.7) 59.9 (60.0, 59.8) −1.4%
B8 50.0 (51.4, 48.5) 47.3 (48.8, 45.9) −5.3%

76k agentic, B8 TG/user: −4…−13% in every delta cell.

MTP acceptance is the same on both arms, so the drop is in step time. The combo's B8 decode step is bimodal: tg_ms_p50 at 76k is 16.1 ms or 20.2 ms per cell, while prod holds steady at 19.0–19.4 ms. At 32k B8 the step is 13.2/16.5 ms vs prod's 12.5/14.9 ms. So col3 sometimes beats prod by ~15% and sometimes loses ~5%. The prefill change alone (W2, 11-14) was TG-neutral, which points at col3.

Records: bench/runs/ttx-sweep32k-ship-col3-cdr8g{,-prodctl}-ship{32k,76k}20261116T093042Z-r{0,1}.jsonl, table bench/runs/ship-col3-cdr8g-table-20261116T093042Z.jsonl.

Asks

  1. Find what selects the 20.2 ms mode at B8. Suspects: reader/bank contention with the batched MTP verify; per-step placement; the 4-reader count vs 8 rows; DRAM bank pressure from the CKPT_DEFER pool (combo only); interaction with prefix-restore steps.
  2. A B-dependent setting is acceptable: e.g. col3 on for B ≤ 2 only, if B4/B8 stay at prod.
  3. Gate: an ABBA vs exact prod at B1/4/8 × 32k + 76k agentic, with B8 TG/user not worse than prod beyond noise, before it re-enters a ship combo.
Owner 2026-11-16: ship the prefill change alone (pp10k-cdr8g-bk → arm `ship-cdr8g`) and send **mkern-col3** (column-major bank-stream decode reader for w13/w2/out, `QWEN36_DECODE_COLUMN_STREAM=w13,w2,out`, buffers 2, readers 4) back for fixing. The B1 gain is wanted; the B8 loss is what blocks it. ## Evidence (ABBA vs exact prod, cfx-llm0, 2026-11-16 10:30–11:40 CET, branch `claude/ship-col3-cdr8g` @ dce008d2) Combo = prod + mkern-col3 + cdr8g-bk; control = exact prod (`ship-col3-cdr8g-prodctl`). Sampling T=1 / top_p .95 / top_k 20, MTP on. | 32k cold, TG/user tok/s | prod | combo | Δ | |---|---|---|---| | B1 | 62.9 (60.8, 64.9) | 68.2 (68.1, 68.2) | **+8.4%** | | B4 | 60.8 (64.9, 56.7) | 59.9 (60.0, 59.8) | −1.4% | | B8 | 50.0 (51.4, 48.5) | 47.3 (48.8, 45.9) | **−5.3%** | 76k agentic, B8 TG/user: −4…−13% in every delta cell. MTP acceptance is the same on both arms, so the drop is in step time. **The combo's B8 decode step is bimodal**: tg_ms_p50 at 76k is 16.1 ms or 20.2 ms per cell, while prod holds steady at 19.0–19.4 ms. At 32k B8 the step is 13.2/16.5 ms vs prod's 12.5/14.9 ms. So col3 sometimes beats prod by ~15% and sometimes loses ~5%. The prefill change alone (W2, 11-14) was TG-neutral, which points at col3. Records: `bench/runs/ttx-sweep32k-ship-col3-cdr8g{,-prodctl}-ship{32k,76k}20261116T093042Z-r{0,1}.jsonl`, table `bench/runs/ship-col3-cdr8g-table-20261116T093042Z.jsonl`. ## Asks 1. Find what selects the 20.2 ms mode at B8. Suspects: reader/bank contention with the batched MTP verify; per-step placement; the 4-reader count vs 8 rows; DRAM bank pressure from the CKPT_DEFER pool (combo only); interaction with prefix-restore steps. 2. A B-dependent setting is acceptable: e.g. col3 on for B ≤ 2 only, if B4/B8 stay at prod. 3. Gate: an ABBA vs exact prod at B1/4/8 × 32k + 76k agentic, with B8 TG/user not worse than prod beyond noise, before it re-enters a ship combo.
Sign in to join this conversation.
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#403
No description provided.