Skip to content

ptx-shapes: the gemm_nvfp4p walk-less scan holds 32 spill and 16 JIT local bytes - #833

Merged
juliankang4 merged 1 commit into
midagedev:mainfrom
juliankang4:fix-the-sm-121a-cc12-1
Oct 26, 2026
Merged

juliankang4 merged 1 commit into
midagedev:mainfrom
juliankang4:fix-the-sm-121a-cc12-1

Conversation

@juliankang4

Copy link
Copy Markdown
Collaborator

sm_121a와 sm_121 ptx-shapes 표의 PIN 주석에서 틀린 gemm_nvfp4p 숫자를 바로잡습니다. 표의 값 행은 바꾸지 않습니다.

What and why

The PIN(2026-10-23) comment in tools/ref/ptx-shapes/sm_121a-cc12.1.tsv said the gemm_nvfp4p scan with the exact walk compiled out holds 40 and 24 bytes, and named the arch as sm_121. The saved scan output for that table shows 32 spill bytes and 16 JIT local bytes at sm_121a. The comment now says that. No value row changes.

tools/ref/ptx-shapes/sm_121-cc12.1.tsv carried the same sentence. I have no walk-less scan at sm_121, so I dropped the unmeasured numbers there and kept the sentence about when the exact walk runs.

Release notes: internal, the comments in two reference tables were wrong about what the scan holds.

Code shape

  • No second copy. Nothing new. Two comments are corrected.
  • Model code holds only architecture facts. No model code is touched.
  • Dead code is gone. Nothing was made unused.
  • No silent failure. No code changes.
  • Comments state what is true now. The corrected comments name the arch the scan ran at and drop the number I cannot back.
  • No relaxed gate. No band, tolerance or lint moves. The value rows are untouched.
  • cargo fmt and cargo clippy: not run, because no Rust file changes.

Duplication found or removed (path:line): none.

What I ran

I did not run a gate on this head: the change is two comment lines in .tsv files, so no GPU run applies. I read the diff against upstream/main (two files, two insertions, two deletions), and git grep "bytes over 40 and 24" finds nothing left. The new numbers come from an earlier ptx-gate run at sm_121a on the machine below, which printed gemm_nvfp4p jit_local=16 and spill=32. That run's log is not attached here. A maintainer can check them with the project's ptx-shapes gate at sm_121a.

Hardware

The ptx-gate run behind the numbers used ptxas and the cc 12.1 JIT on a GB10, driver 595.84, CUDA 13.3.1.

AI help

AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.

@github-actions github-actions Bot added the tools Tools, recipes, CI and the toolchain: tools/, justfile, .github/, Cargo label Oct 26, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: CLEAN: Only two PIN comments change; executable code and gate limits are unchanged.

Checked

Duplicates: 0 new functions, types or constants; no dryer pairs to inspect.
Complexity: no functions changed.
Silent failure: 0 changed sites.
Tests: no tests changed; mutation checks do not apply. A direct comparison confirmed all 965 data rows match the base.
Gates: no thresholds or cases changed. The table reader excludes PIN comments; architecture and capability metadata remain unchanged.
Escape catalog: no patterns matched.

Notes

Dryer and crapper did not run because no Rust file changed.
The scan log supporting the corrected 32 spill bytes and 16 JIT local bytes is absent. Complete GPU gate evidence was not supplied.

🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)

@juliankang4

Copy link
Copy Markdown
Collaborator Author

The review is done and the contribution check passed, so I'm merging this.

@juliankang4
juliankang4 merged commit b028d4f into midagedev:main Oct 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tools Tools, recipes, CI and the toolchain: tools/, justfile, .github/, Cargo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant