Closed Bug 2076950 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 63124 - WebNN: preserve float16 subnormal values through value movement

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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.

Attached file Notable wpt changes —

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)

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ad21bf783656 https://hg.mozilla.org/integration/autoland/rev/5ba1724ba5dc [wpt PR 63124] - WebNN: preserve float16 subnormal values through value movement, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: