[wpt-sync] Sync PR 63663 - WebNN: cover full-range int32 values and produced copies
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox162 fixed)
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
161.67 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63663 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63663
Details from upstream follow.
Matt Hargett <plaztiksyke@gmail.com> wrote:
WebNN: cover full-range int32 values and produced copies
Add 11 exact Int32 cases covering Min/Max, negative truncating Div, ArgMin/ArgMax and a Div-produced result consumed by Identity with only the final consumer exposed. Inputs include adjacent values beyond 2^24 and signed extrema. Every argument-reduction row has a unique winner, avoiding any tie-breaking requirement. No division by zero, overflowing quotient, or duplicate Triangular coverage is added.
These were reduced from cross-model selection/storage controls. All 11 fail in the old RustNN native path and current browser CoreML contexts under each CPU/GPU/NPU hint; the repaired RustNN executor passes all 11. The historical intermediate RustNN revision
50ba9dddpasses both direct Div cases but fails Div→Identity: -16,777,217 becomes -16,777,216. This distinguishes the produced-value copy regression from division itself. A zero-readback browser control fails all 11.Validated against WPT hash
8b876b9f39a0e7ee65762918cae96b081d14ceb5after refreshing the Rust bridge for merged #63150/#63151. JavaScript/Rust parity passes for 317,452 ULP pairs, 317,445 binary64-to-Half conversions and ATOL boundaries; the same packet passes through the browser WPT assertions. WPT lint and JavaScript syntax checks pass. Browser: Chrome Canary 157.0.8083.0 on M4 Max/macOS; CoreML contexts were confirmed inchrome://webnn-internalsfor each CPU/GPU/NPU hint. These hints do not establish accelerator placement.Integer outputs are checked exactly with zero ULP. The producer and Identity have no allowed integer error, so this composition does not invent a propagated floating-point budget. I'm working on Same-type Cast/Reshape follow-ups but still iterating until I see their repaired controls work well.
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=112049
| Assignee | ||
Comment 2•27 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 351 tests
Status Summary
Firefox
OK : 3
FAIL: 3
Chrome
OK : 3
PASS: 36
Safari
OK : 3
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•19 days ago
|
||
| bugherder | ||
Description
•