decode: GDN chain steps 2–5 after gdc (Lottolabs ~3 programs vs our ~9) #160

Open
opened 2026-10-03 15:56:25 +02:00 by tenstorrent · 1 comment
Member

Why

Lottolabs gptq-ctx2-20261002 on one P150, B=1, DFlash2: 49.1 tok/s at 8K/128 (spec-off 20.2, MTP-1 32.4). Most of that lead is the drafter, not the matmul. The chain gap that is still ours: their GDN decode path between the two projections is about three programs. Ours is still about nine at B=8 after slice removal. We shipped only step 1 (QWEN36_GDN_DECODE_CHAIN=direct) plus packed commit. That bundle moved TG −2.7% to −3.8%, not the chain.

Source: HF card https://huggingface.co/Lottolabs/Qwen3.8-27B-TT-Mixed-BFP4-BFP8-P150 and docs/analysis/gdn-decode-chain-20261003.md. Our BEST is 2×p150a R-2026-10-03-gdc-cpk: B1/4k TG 15.51 ms (64.5 tok/s per user), B8/32k TG 22.56 ms (44.3). Not the same shape (1 card vs 2, DFlash2 vs native MTP, 512 vs 1024 out).

Do not

  • Do not repeat #105 V-split (rejected at B=8; V-split is B≤2 only).
  • Do not reopen #150's five doubles (measured, c164). gdc already removed the qkvzab slices.
  • Do not rerun #153 dual-NoC weight stream (served slower, c166).
  • The drafter that took their box from 20 to 49 tok/s is #66, blocked on #139. This issue is the chain, not a new drafter.

Pickup

Desk first, from docs/analysis/gdn-decode-chain-20261003.md on master. Name which of steps 2–5 (norm inside the recurrence, conv as the front, drop the sharded copy, in-place state rows) is still a separate program on the gdc-cpk arm, and which one is the largest remaining slice at B=4 and B=8. Pass: a ranked table tied to a profile that exists, with no new kernel. Fail: the step is already gone on BEST. No card until that table is on this issue. L1-resident state is B=1 only (max_num_seqs=1); production is 8, so do not propose it as the B=4/8 win.

## Why Lottolabs `gptq-ctx2-20261002` on one P150, B=1, DFlash2: 49.1 tok/s at 8K/128 (spec-off 20.2, MTP-1 32.4). Most of that lead is the drafter, not the matmul. The chain gap that is still ours: their GDN decode path between the two projections is about three programs. Ours is still about nine at B=8 after slice removal. We shipped only step 1 (`QWEN36_GDN_DECODE_CHAIN=direct`) plus packed commit. That bundle moved TG −2.7% to −3.8%, not the chain. Source: HF card https://huggingface.co/Lottolabs/Qwen3.8-27B-TT-Mixed-BFP4-BFP8-P150 and `docs/analysis/gdn-decode-chain-20261003.md`. Our BEST is 2×p150a `R-2026-10-03-gdc-cpk`: B1/4k TG 15.51 ms (64.5 tok/s per user), B8/32k TG 22.56 ms (44.3). Not the same shape (1 card vs 2, DFlash2 vs native MTP, 512 vs 1024 out). ## Do not - Do not repeat #105 V-split (rejected at B=8; V-split is B≤2 only). - Do not reopen #150's five doubles (measured, c164). gdc already removed the qkvzab slices. - Do not rerun #153 dual-NoC weight stream (served slower, c166). - The drafter that took their box from 20 to 49 tok/s is #66, blocked on #139. This issue is the chain, not a new drafter. ## Pickup Desk first, from `docs/analysis/gdn-decode-chain-20261003.md` on master. Name which of steps 2–5 (norm inside the recurrence, conv as the front, drop the sharded copy, in-place state rows) is still a separate program on the gdc-cpk arm, and which one is the largest remaining slice at B=4 and B=8. Pass: a ranked table tied to a profile that exists, with no new kernel. Fail: the step is already gone on BEST. No card until that table is on this issue. L1-resident state is B=1 only (`max_num_seqs=1`); production is 8, so do not propose it as the B=4/8 win.
Author
Member

Note — Lottolabs public x6 fused decode pattern (desk only)

Public write-up (theirs, not our shape): https://pirateface.co/Lottolabs/Qwen3.6-35B-A3B-TT-Mixed-BFP4-BFP8-P150

  • MoE 35B-A3B 1×P150: 112.3 → 138.8 tok/s @128 with MTP (theirs; different model/shape than our ThinkingCap 27B TP=2).
  • ~3 GDN programs vs our ~9 — aligns with this issue's chain gap framing.
  • Fused GDN core is single-seq only — use as a fusion-boundary pattern only; do not propose L1-resident / max_num_seqs=1 as the B=4/8 win (already out of scope here).

Desk pattern reference only; no card from this note.

## Note — Lottolabs public x6 fused decode pattern (desk only) Public write-up (theirs, not our shape): https://pirateface.co/Lottolabs/Qwen3.6-35B-A3B-TT-Mixed-BFP4-BFP8-P150 - MoE **35B-A3B** 1×P150: **112.3 → 138.8 tok/s @128 with MTP** (theirs; different model/shape than our ThinkingCap 27B TP=2). - ~**3** GDN programs vs our ~**9** — aligns with this issue's chain gap framing. - Fused GDN core is **single-seq only** — use as a **fusion-boundary pattern** only; do not propose L1-resident / max_num_seqs=1 as the B=4/8 win (already out of scope here). Desk pattern reference only; no card from this note.
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#160
No description provided.