Skip to content

Commit 7ca4f2c

Browse files
ronaldtseRonald Tse
andauthored
docs(wO51): remedy (b) proven — masked export, batched-mask decode faithful (#315)
Co-authored-by: Ronald Tse <[email protected]>
1 parent d6dbc92 commit 7ca4f2c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎TODO.sota/51-artifact-parity-gates.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,21 @@ single-row). urd-g2p-base and ara int8 cleared by the same contract
7070
waits for the complete ship set (WO52 M2 proof lane + fas run-077
7171
verdict + relabel stage-2) per the owner's only-ship-when-complete
7272
order — nothing ships half-fixed.
73+
74+
## Remedy (b) PROVEN (2026-10-19): batched-mask export
75+
76+
`EXPORT_ATTENTION_MASK=1` exports the encoder with an attention_mask
77+
input (smoke test made mask-aware). Verified on run-066 urd-diac fp16:
78+
79+
- encoder inputs: [attention_mask, input_ids]
80+
- PAD_GAPS: [0.0, ~0.0001 ×6, 0.0] — the maskless artifact's 0.13 is
81+
gone (residual = fp16 rounding)
82+
- batched padded decode: torch-fp32 0.0294 / ORT-fp16 0.0236 CER,
83+
agreement 0.9531 (residual = engine precision, not the mask)
84+
85+
**Both decode modes are now supported per lane**: `single-row` (the
86+
shipped contract — byte-exact) and `batched-mask` (serving mode —
87+
numerically faithful, `parity.mode: batched-mask` in the schema since
88+
M0). The exporter grows the option behind an env; batched artifacts
89+
must pass a batched parity probe (`probe_batched_mask.py`) before
90+
release. The WO51 saga is fully closed: both remedies proven.

0 commit comments

Comments
 (0)