track: tt-metal #59507 DRAM shard grids from device bank count (7-bank harvested BH) — no-op on 8-bank p150a #217

Open
opened 2026-10-09 08:55:58 +02:00 by tenstorrent · 0 comments
Member

Pickup (same day from the upstream watch, 2026-10-09; PP scope check)

Grill/track: desk only, no card runs, no code. Tree read: master f30ab09. Branch grill/metal-59507-dram-bank-grid is cut from master, with no commits.

Upstream: https://github.com/tenstorrent/tt-metal/pull/59507, Fix Qwen3 DRAM sharding on harvested Blackhole (fixes #59501), by mgiermakowskiTT.

  • State: draft. Filed 2026-10-06 16:16 UTC (18:16 Prague).
  • Size: 5 files, +67/−43.

Their change (theirs)

  • Derive DRAM shard grids and shard widths from the device-reported DRAM grid instead of assuming 8 banks.
  • Support seven-bank harvested Blackhole in the Qwen3 and shared Galaxy model configs.
  • Derive prefetch reader placement and LM-head shard sizing from the bank count.
  • Verification: Qwen3-32B BH Galaxy Tier-1 E2E passed. No perf claim.

Fit to our cards

  • Our P150a cards report 8 DRAM banks each (docs/HARDWARE.md:25, 8 × 4,277,141,376 B; record bench/runs/dram-banks-and-trace-20260925T205000Z.jsonl).
  • Their harvesting is Tensix columns 6–7 (harvest_mask 192), not DRAM.
  • The PR touches models/tt_transformers / Galaxy Qwen3 configs, not models/demos/blackhole/qwen36. Our DRAM-sharded decode configs (MR 0024/0032, CPB 0040, QWEN36_DECODE_DRAM_SHARDED_MR, lm_head MR 4 chunks) are our own code paths.

Estimate

  • PP: 0. TG: 0 on 2× p150a (8 banks). It is a correctness fix for 7-bank parts.
  • Hygiene value only: our MR/CPB geometry helpers hard-code the bank count (to verify on desk). If we ever run on a 7-bank part (a replacement card or another SKU), this is the pattern to follow: derive the bank count from the device.

Grill questions

  1. Close as WATCH / no-op for perf, with one desk action: grep our MR/CPB/lm_head shard helpers for literal 8 banks, and add a boot assert that num_dram_banks == 8 until they are generalised?
  2. Fold into #208's bump checklist rather than a separate port?
## Pickup (same day from the upstream watch, 2026-10-09; PP scope check) Grill/track: desk only, no card runs, no code. Tree read: master `f30ab09`. Branch `grill/metal-59507-dram-bank-grid` is cut from master, with no commits. Upstream: https://github.com/tenstorrent/tt-metal/pull/59507, **Fix Qwen3 DRAM sharding on harvested Blackhole** (fixes #59501), by mgiermakowskiTT. - State: **draft**. Filed 2026-10-06 16:16 UTC (18:16 Prague). - Size: 5 files, +67/−43. ### Their change (theirs) - Derive DRAM shard grids and shard widths from the device-reported DRAM grid instead of assuming 8 banks. - Support **seven-bank harvested Blackhole** in the Qwen3 and shared Galaxy model configs. - Derive prefetch reader placement and LM-head shard sizing from the bank count. - Verification: Qwen3-32B BH Galaxy Tier-1 E2E passed. **No perf claim.** ### Fit to our cards - Our P150a cards report **8 DRAM banks** each (`docs/HARDWARE.md:25`, 8 × 4,277,141,376 B; record `bench/runs/dram-banks-and-trace-20260925T205000Z.jsonl`). - Their harvesting is Tensix columns 6–7 (`harvest_mask 192`), not DRAM. - The PR touches `models/tt_transformers` / Galaxy Qwen3 configs, not `models/demos/blackhole/qwen36`. Our DRAM-sharded decode configs (MR 0024/0032, CPB 0040, `QWEN36_DECODE_DRAM_SHARDED_MR`, lm_head MR 4 chunks) are our own code paths. ### Estimate - **PP: 0. TG: 0** on 2× p150a (8 banks). It is a correctness fix for 7-bank parts. - **Hygiene value only:** our MR/CPB geometry helpers hard-code the bank count (to verify on desk). If we ever run on a 7-bank part (a replacement card or another SKU), this is the pattern to follow: derive the bank count from the device. ### Grill questions 1. Close as **WATCH / no-op for perf**, with one desk action: grep our MR/CPB/lm_head shard helpers for literal `8` banks, and add a boot assert that `num_dram_banks == 8` until they are generalised? 2. Fold into #208's bump checklist rather than a separate port? ### Links - Upstream: https://github.com/tenstorrent/tt-metal/pull/59507, https://github.com/tenstorrent/tt-metal/issues/59501 - Ours: #154 (CPB 0040 / MR), #208 (metal bump), #64 (older upstream scout)
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#217
No description provided.