Repository navigation
ptx-shapes: the twelve sm_86 cc 12.1 entries the 9df9e7ce backend moved, at the GB10 scan's spill and JIT local - #845
Merged
juliankang4 merged 1 commit intoOct 26, 2026
Conversation
…ed, at the GB10 scan's spill and JIT local
Contributor
There was a problem hiding this comment.
Verdict: CLEAN: the twelve re-pinned rows match the values already on main in the cc 8.6 table, and each row has a dated PIN with the old value, the new value and the reason.
Checked
- Duplicates: no code added; 12 rows and 9 PIN lines checked. The sm_86
spillcolumn of the changed rows equalstools/ref/ptx-shapes.tsvon the base (for examplegdn_conv_prep8,kda_conv_prep16,hc_gated_up_mma_mix_4536,mxfp8_gemv_ids60).tools/ref/ptx-shapes/sm_86-cc12.1.tsvsays that column is the same as there, so the two tables agree after this change. Dryer and crapper did not run (no Rust changed). - Gates: 12 values moved, all with a
PIN(2026-10-26):line. The pin move to9df9e7cef561is in the baseCargo.toml:12, andtools/ref/ptx-shapes/sm_121-cc12.1.tsvalready carries the same reason, so the evidence that the old value was wrong holds. No gate or row removed, no band relaxed. - Silent failure: no code changed, 0 sites.
- Tests: none added or changed. The gate is
just gate-ptx-spill. Mutant: a row pinned at the wrong byte count. The scan reports a violation, so the gate turns red. - Performance: no hot path touched. The table records the compiler's output, and the PR body does not claim a speed change.
- Escape catalog: no pattern matched (no shell code in the diff).
Notes
- Four rows list
jit_localon cc 12.1 andspillon sm_86 in one PIN line each. This is clear enough as written.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
Collaborator
Author
|
The review is done and the contribution check passed, so I'm merging this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GB10(cc 12.1)에서 sm_86 PTX를 JIT하는 ptx-shapes 표의 12행을 현재 main 트리의 측정값으로 다시 고정합니다.
What and why
BLOOMERY_ARCH=sm_86 just gate-ptx-spillfails on main with 12 violations on a GB10 card. The backend pin moved to9df9e7cef561, the PTX of twelvegenerate_ds41entries moved with it, andtools/ref/ptx-shapes/sm_86-cc12.1.tsvstill held the earlier values.This PR re-pins those twelve rows to the spill and JIT local that the scan reports now. Each changed row has a new
PIN(2026-10-26):line above it; the earlier PIN lines stay. No other row changes and no band is relaxed. Of the twelve rows,hc_gated_up_mma_mix_4,hc_gated_up_mma_mix_4_bf16andkq_gate_up_act_q4k_tilesdropped below their pins and the other nine rose above them.Release notes: internal: the change is to a gate table, and no user-visible behavior moves.
Code shape
PIN(2026-10-26):lines give the old and new value, the toolchain and the card conditions.PIN(2026-10-26):line with its reason.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up. No Rust changed, so I did not run them.Duplication found or removed (
path:line), or "none": none found.What I ran
Base
5b8619efc3066c720f7528c0401c2c4c648df9b5(main), headcfb8934cf4a1e44636fb08b61031b8a1e4c4884c. The scan uses sm_86 PTX withptxas13.3.73, and the driver JITs it for cc 12.1.Before, on the base:
BLOOMERY_ARCH=sm_86 just gate-ptx-spill:violations=12 FAILforgenerate_ds41,violations=0 PASSforgate_qwen3vl_tower, rc 1.The twelve rows. Base is the value pinned on main, and head is the value the scan measured and the PR pins (bytes;
spillis the PTX spill,jit_localis the JIT's local memory):ds41_expert_gate_up_tilesjit_localgdn_conv_prepspillgqa_prefill_flash_g7_q8jit_localhc_gated_up_mma_mix_4spillhc_gated_up_mma_mix_4_bf16spillkda_conv_prepspillkda_conv_prep_sp2spillkq_gate_up_act_q4k_tilesjit_localmxfp8_gemv_idsspillq8_0_gemv_ids_mcolspillqwen3moe_router_norm_mjit_localqwen3moe_router_norm_m_prefetchjit_localAfter, on the head:
BLOOMERY_ARCH=sm_86 just gate-ptx-spill:generate_ds41 entries=458 pinned=458 violations=0 PASS,gate_qwen3vl_tower entries=26 pinned=26 violations=0 PASS, rc 0.I ran no other gate. The change is a table of measured values, so there is nothing to compare for speed.
Hardware
Card: NVIDIA GB10, 595.84, CUDA 13.3 (the CUDA version the scan's JIT reports). One DGX Spark. The scan builds
generate_ds41andgate_qwen3vl_towerforsm_86and reads the spill and JIT local the cc 12.1 driver reports.AI help
AI 코딩 에이전트가 코드를 작성한 후 설명을 썼고, 테스트를 마쳤습니다. diff 리뷰와 PR 초안 리뷰는 제가 직접 했습니다.