Repository navigation
ptx-shapes: the eight cc 12.1 entries the 9df9e7ce backend moved, at the GB10 scan's spill and JIT local - #839
Conversation
…the GB10 scan's spill and JIT local
There was a problem hiding this comment.
Verdict: CLEAN: the diff changes only pinned values in two cc 12.1 tables, each changed row has a dated PIN(2026-10-26): line with old value, new value and conditions, and the counts in the PR body match the diff.
Non-blocking
⚠ New spill in two previously spill-free kernels: sm_121-cc12.1.tsv:418 and sm_121a-cc12.1.tsv:445. qwen3moe_router_norm_m and _prefetch go from 0/0 to 32 B spill and 8 B JIT local. Four other rows also move up (kq_gate_up_act_q5k_tiles +16 B spill, q5k_gemv_tiles +8 B, ds41_expert_gate_up_tiles +8 B local, mxfp8_w8a8_norm_gate +8 B local). The PR body says no timing applies. The code-gen change came with the backend bump, not with this PR, so the pin is correct. Please link where that bump showed that these kernels do not slow down on the GB10 (the gate-* timing for the router and the Q5_K tile path), or say it was not measured.
⚠ GPU evidence is partial: the PR body gives "NVIDIA GB10, 595.84", not the nvidia-smi line, and only the base commit 904145fe, not the head commit that was measured. The command output is elided with .... CONTRIBUTING.md asks for the full lines. This is a question to the author, not a finding against the tables.
Checked
- Duplicates: 0 new functions, types or constants; 7 changed rows in sm_121 and 8 in sm_121a (the
mxfp8_w8a8_norm_gaterow only in sm_121a). dryer and crapper did not run (no Rust file changed). - Counts: sm_121a has 12 field mismatches (expert_gate_up_tiles 2, kq_q4k_tiles 2, kq_q5k_tiles 1, mxfp8 1, q4k_gemv 1, q5k_gemv 1, router_norm_m 2, router_norm_m_prefetch 2); sm_121 has 11 without mxfp8, which exists only in the sm_121a table. This matches the PR body.
- Silent failure: 0 code sites; no code changes.
- Tests: none added or changed; the gate itself (
gate-ptx-spill) is the check, and any later PTX change turns it red against these rows. - Gates: 7 pins moved in sm_121 and 8 in sm_121a. Spill or local goes up in some rows, down in others (
kq_gate_up_act_q4k_tiles,q4k_gemv_tiles,ds41_expert_gate_up_tilesspill) and stays in others. Every moved row has a datedPIN(2026-10-26):line with the reason (backend moved to 9df9e7cef561) and the conditions (ptxas 13.3.73, GB10, driver 595.84). The older PIN lines stay, so history is traceable. No other row changed. The sm_86 table was not touched. - Escape catalog: no pattern matched (no shell or Rust change).
Notes
- I could not run the scan, so the new values are trusted from the PR body's gate output.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
|
The review is done and the contribution check passed, so I'm merging this. |
GB10 카드에서 빨갛게 남은 PTX spill gate의 pin 값 여덟 개를 새 backend의 측정값으로 다시 맞춥니다.
What and why
On GB10 (cc 12.1),
just gate-ptx-spillis red on main. The backend moved to NVIDIA/cuda-rust 9df9e7cef561 (stable 1.99.1), and the sm_86 table was re-pinned for it, but the two cc 12.1 tables were not. Eight entries now have a different spill or JIT local size, sosm_121a-cc12.1.tsvreports 12 violations andsm_121-cc12.1.tsvreports 11 (mxfp8_w8a8_norm_gateis not in the sm_121 build).This re-pins those rows to the values scanned on GB10, in both tables. Each changed row gets a
PIN(2026-10-26):line with the old and new values and the conditions. No existing PIN line is removed and no other row changes. The diff is two files undertools/ref/ptx-shapes/.Release notes: internal: re-pins the cc 12.1 PTX shape tables for the current backend.
Code shape
PIN(...)lines, which the tables already carry.PIN(2026-10-26):with its reason.cargo fmtandcargo clippy: no Rust file is touched, so they were not run.What I ran
On the GB10, before the change (base tree 904145f, which differs from this base only by a
metal:commit that does not touchtools/ref/ptx-shapes/orcrates/gpu):After the change, same two commands:
The rest of the repository gates were not run for this change, and no timing measurement applies, since only pinned reference values change. The gate was measured on the tree before a rebase onto the current base; the rebase did not change either table file.
Hardware
sm_121aandsm_121CPU and RAM were not recorded for this run.
AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.