Per-SM spill footprint follow-up
Provisional, post-hoc. The branch models spill traffic at each
CTA's phase-entry residency. The landed first-wave comparator is
cd5f35f. The candidate core 01190e9 is based on 5cae6ca,
a descendant of the PR #22 squash commit f3255e7. This CPU-only
analysis leaves the frozen v0.2 conclusions in force. The original
registration e7fed3a and implementation 5d7262d are preserved at
bc09edb on archive/s5-v03-spill-residency.
Published archive
Registered checks
First-wave evidence
Residency and recheck
Each CTA entering a phase after same-timestamp departures and refills uses the actual resident count on its SM for the frame footprint, per-CTA traffic split and reload latency. The charge stays fixed through the phase. The peak realized count still seeds persistent L2 spill pressure. Tests cover sparse and evenly filled grids, an uneven wave, a full wave and a sparse tail.
All 2,807 recheck predictions are bit-identical to the first-wave base. On the eight legacy spill rows, the fixture has one CTA per SM, so the two implementations use the same spill charge. Their signed median and MAPE remain +67.6% and 54.9% (GB10) and +38.0% and 35.0% (RTX 4070). The rest of the suite carries no spill charge. Refreshed baseline
The synthetic full-wave-plus-one-CTA witness uses a 1 KiB frame and 128 reloads per thread. The first-wave base predicts 18,391.6 ns per step of extra time on GB10 and 18,469.0 ns on RTX 4070. The per-SM candidate predicts 15,235.0 ns and 17,754.5 ns respectively. The base is 20.72% and 4.02% higher. There is no corresponding hardware measurement. The legacy spill values still lack a qualifying long-launch capture.
Issue #21 freeze gate
The clarified gate passed. LukeGus confirmed that the original
control must reproduce every byte and a clean candidate may differ
only in core.commit. Issue #21 clarification
The original clean cd5f35f build
reproduces the registered output byte for byte. The clean candidate
01190e9 changes only the value of core.commit. The script and
profiles, build class and dirty flag, and every prediction match
without any other byte changes. The raw candidate file has a different
SHA-256 because it identifies its own build.
The frozen RTX 4070 profile was hashed with CRLF line endings. To
recreate the input, use a private working directory with profiles/.
Copy the tracked GB10 profile there byte for byte. Read the tracked
RTX 4070 file as bytes, confirm it contains LF and no CR, replace
each b"\n" with b"\r\n", and write that copy. Verify the two
digests against the registered JSON before running the scorer:
- GB10
10625fa4832c864fcba4d81c9b99480e58f69c81644a9950083b702488442471 - RTX 4070
589579415b2c05b2e7d70be6b2616936bcdbfad4c8cb3c43e9febaacd6dbb8b6
Run from the private directory with each clean build installed in its own environment. Keep the relative profile paths as shown, since the scorer records them in the JSON.
CUDA_VISIBLE_DEVICES="" python "$REPO/scripts/spill_decision.py" freeze \
--profile gb10=profiles/gb10.json --profile rtx4070=profiles/rtx4070.json \
--out "$OUT"
| Freeze artifact | SHA-256 |
|---|---|
| Original registration | 499228cbf06a484ea4ec3e66bf0edbc79c3f0b20a70587b78c50d84e65e028b1 |
| Raw control | 499228cbf06a484ea4ec3e66bf0edbc79c3f0b20a70587b78c50d84e65e028b1 |
| Raw candidate | 774c3eafe4f7a958a67a892ede997bf8c42376c6f9690d4eaf6f8d965ce0f0b9 |
Raw unified diff.
The byte comparison checks the complete files after substituting
only the verified candidate SHA in the control's core.commit field.
The original frozen file, tracked profiles and scorer were unchanged.
Archived IR replay
The base build is cd5f35f8d490427726c4c08b5e573fe06c64ddff.
The clean archived replay candidate is
7b8c69ddec7ec8cf1f2ecad37dca0c02ea338587. Its compiled paths and
profile files are byte-identical to the rebased 01190e9 candidate.
The 2,807 synthetic points were also rerun on 01190e9.
The replay uses the same 1,104 IRs and tracked profile bytes listed
in the first-wave report, warm and cold, draw 0 plus 32 perturbations,
seed 17. It uses IR and profiles only.
| Cohort | Cache | Bit-identical | Nominal changed | Draws only | Max nominal delta (%) | Max any-draw delta (%) |
|---|---|---|---|---|---|---|
| gb10-attention | cold | 224 | 1 | 3 | 1.76209e-14 | 0.000112399 |
| gb10-attention | warm | 224 | 0 | 4 | 0 | 6.74107e-14 |
| gb10-gemm | cold | 315 | 2 | 7 | 2.75817e-05 | 0.0180624 |
| gb10-gemm | warm | 315 | 2 | 7 | 2.88227e-05 | 0.0034689 |
| rtx4070-attention | cold | 228 | 0 | 0 | 0 | 0 |
| rtx4070-attention | warm | 228 | 0 | 0 | 0 | 0 |
| rtx4070-gemm | cold | 321 | 0 | 3 | 0 | 4.24766e-05 |
| rtx4070-gemm | warm | 321 | 0 | 3 | 0 | 2.17879e-14 |
| Total | 2,176 | 5 | 27 |
All 2,208 statuses agree, and all 1,890 spill-free predictions are bit-identical. Every changed row has a spill charge.
The raw predictions, per-IR and profile digests, recheck, witnesses and
full freeze outputs are archived in results/v03-spill-per-sm/review.tar.gz.
Archive SHA-256 5c0bcf362a1d99caec525c2693e6e8f6da78b50f02abd5867470925e3caf9f0f.