[wpt-sync] Sync PR 63124 - WebNN: preserve float16 subnormal values through value movement
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
151.78 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63124 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63124
Details from upstream follow.
Matt Hargett <plaztiksyke@gmail.com> wrote:
WebNN: preserve float16 subnormal values through value movement
Small-language-model validation exposed float16 subnormals being lost by value-movement lowerings even when ordinary conformance inputs passed. Add 24 zero-ULP cases for same-type cast, identity, shape/indexing operations, selection, and padding, including scalar/constant inputs and both split outputs. Inputs cover positive/negative subnormals and the normal boundary; these operations must preserve the selected values, not flush them.
Validation: WPT lint and JavaScript syntax checks pass. Chrome Canary 156 on M4, with actual CoreML contexts verified in
chrome://webnn-internals, passes 24/24 for CPU and GPU requests. The NPU-requested variant passes 22/24 and exposes subnormal flushing in edge/reflection padding. A deliberately flushing readback control fails all 24 cases.
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=104728
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 330 tests
Status Summary
Firefox
OK : 3
FAIL: 15
Chrome
OK : 3
PASS: 84
FAIL: 3
Safari
OK : 3
FAIL: 15
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•