Commit fe133f9
table_lookup: widen output-range guard slack for GPU cross-test variation
The row-vector / staircase output-range *guards* (assert_matches_value_type,
not the correctness path) used a per-element slack of
max_abs*sharpness*n_steps*1e-6, calibrated for fp32 single-run noise. At the
16x128x128 target (rows = A*B = 2048) this leaves no headroom for GPU
cross-test FP variation (cuBLAS algorithm selection / TF32), so the guard
tripped intermittently in the full sharded suite while passing in isolation
and under fp32 (op math overshoots the table range by only ~1.4e-5 in every
reproducible config). Bump the unit to 1e-5 — the GPU-variation scale noted
in the numerical-noise docs — giving the guard margin without loosening the
caller's value-match correctness test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1c5f9bf commit fe133f9
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
124 | 135 | | |
125 | 136 | | |
126 | 137 | | |
| |||
0 commit comments