Skip to content

kernel contract: refresh 226 stale nvcc 13.0 resource slots across 57 CUDA kernels, so the GB10 limits gate passes on main - #2390

Merged
ashhart merged 3 commits into
mainfrom
lead/cuda-records-130
Nov 7, 2026
Merged

ashhart merged 3 commits into
mainfrom
lead/cuda-records-130

Conversation

@ashhart

@ashhart ashhart commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Main's expected CUDA launch resources for nvcc 13.0 are stale for 57 kernels: 226 of the per-SM slots across sm_80, 86, 89, 120 and 121. Building main with nvcc 13.0.88 on a GB10 and running kernel-contract-limits reports them as PASS limits … (record stale). Every launch is within its bounds, but its registers or static shared memory differ from the record, and stale records count as problems, so the gate fails on main itself. The kernels whose records are stale include the NVFP4 expert tiles, the activation rows, GDN training kernels and several Flash Next kernels.

This refreshes exactly those 226 slots to the measured values, in a new contract/measurements/main_130.zig that the registry selects for nvcc 13.0. Nothing else moves:

  • No kernel source, build flag or launch geometry changes. Main's CUDA kernels haven't changed since the base the values were measured on.
  • Every other compiler's records (fallback, 13.1, 13.2, 13.3) stay as they are.
  • Two tests that pinned the older 13.0 values for Qwen4's receipts and the pending-13.2 set now expect the measured ones.

Checks: zig build test-kernel-contract (22 of 22 steps, 199 tests). The registry serializer shows every other record and every launch field unchanged. The device check is the next full five-SM limits run on a GB10: a learner build that carries these same 226 refreshed slots is queued, and its limits gate must pass with no stale record left among them.

Record the 226 inherited target observations from the five-SM limits audit. Scope the 57 overrides to nvcc 13.0 and preserve every other compiler selection, canonical record and launch geometry.
@ashhart
ashhart force-pushed the lead/cuda-records-130 branch from 31103ce to cd5a142 Compare November 7, 2026 03:48
@ashhart
ashhart merged commit 601c9bf into main Nov 7, 2026
4 of 7 checks passed
@ashhart
ashhart deleted the lead/cuda-records-130 branch November 10, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant