boot: gate device KV zero-fill (kv-devinit) on gdc-cpk #159

Closed
opened 2026-10-03 15:56:24 +02:00 by tenstorrent · 2 comments
Member

Pickup

Branch kv-devinit @ 1e0ed604 is written and not on master. QWEN36_KV_DEVICE_INIT=1 uses ttnn.empty plus a device fill instead of as_tensor(torch.zeros(...)).

c174 (pre-text_only tree): boot 311.5 → 252.0 s (−59.5 s), equiv hashes identical to BEST. LEDGER R-2026-10-03-kvd says the ship-combo gate c174g is not run. One B4/4k TG +1.8% was flagged as noise. Not yet stacked with text_only + gdc-cpk.

Next card (do not start from the agent box)

One gate boot of arm …-csplit-t0-gdc-cpk-kvd from the kv-devinit worktree: equiv + gsm8k + retrieval, on current BEST.

Pass: boot down versus the gdc-cpk text_only boot, equiv hashes match, GSM8K and retrieval hold, B=4 and B=8 wall inside the rep band.
Fail: any of those move the wrong way. Then do not set the flag on BEST.

Compile stays on nixos (BUILD_HOST=nixos, already the default). Do not build on cfx-llm2.

Sources: docs/analysis/boot-speed-20261003.md, LEDGER R-2026-10-03-text-only and R-2026-10-03-kvd.

## Pickup Branch `kv-devinit` @ `1e0ed604` is written and not on master. `QWEN36_KV_DEVICE_INIT=1` uses `ttnn.empty` plus a device fill instead of `as_tensor(torch.zeros(...))`. c174 (pre-`text_only` tree): boot 311.5 → 252.0 s (−59.5 s), equiv hashes identical to BEST. LEDGER `R-2026-10-03-kvd` says the ship-combo gate **c174g is not run**. One B4/4k TG +1.8% was flagged as noise. Not yet stacked with `text_only` + gdc-cpk. ## Next card (do not start from the agent box) One gate boot of arm `…-csplit-t0-gdc-cpk-kvd` from the `kv-devinit` worktree: equiv + gsm8k + retrieval, on current BEST. Pass: boot down versus the gdc-cpk `text_only` boot, equiv hashes match, GSM8K and retrieval hold, B=4 and B=8 wall inside the rep band. Fail: any of those move the wrong way. Then do not set the flag on BEST. Compile stays on nixos (`BUILD_HOST=nixos`, already the default). Do not build on cfx-llm2. Sources: `docs/analysis/boot-speed-20261003.md`, LEDGER `R-2026-10-03-text-only` and `R-2026-10-03-kvd`.
Member

Shipped: QWEN36_KV_DEVICE_INIT is a live banner in bench/arms/ship-cdr8g.toml; the boot gate measured 311.5→239.5 s with all gates clean (LEDGER R-2026-10-03-kvd). Verified 2026-11-18.

Shipped: QWEN36_KV_DEVICE_INIT is a live banner in bench/arms/ship-cdr8g.toml; the boot gate measured 311.5→239.5 s with all gates clean (LEDGER R-2026-10-03-kvd). Verified 2026-11-18.
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack#159
No description provided.