Closed Bug 1892662 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45817 - webnn: add IDL and mojo definition of gelu operator

Categories

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

task

Tracking

(firefox127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45817 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45817
Details from upstream follow.

Shiyi Zou <shiyi.zou@intel.com> wrote:

webnn: add IDL and mojo definition of gelu operator

This CL also adds validation tests in WPTs and a unit test
WebNNGraphImplTest.GeluTest.

Bug: 40206287
Change-Id: Ia197fa637e036e73c4e7d5e832685364633c0384
Reviewed-on: https://chromium-review.googlesource.com/5470161
WPT-Export-Revision: de8d6c11dce03f27279cd9b849163262a294dd39

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 51 subtests

Status Summary

Firefox

FAIL : 28
ERROR: 2

Chrome

OK : 2
PASS : 76
FAIL : 26

Safari

OK : 2
FAIL : 102

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /webnn/validation_tests/gelu.https.any.worker.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]
  • /webnn/validation_tests/gelu.https.any.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]

New Tests That Don't Pass

  • /webnn/validation_tests/gelu.https.any.worker.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [gelu] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = []: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4,5]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4,5,6]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = []: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4,5]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4,5,6]: FAIL (Chrome: FAIL, Safari: FAIL)
  • /webnn/validation_tests/gelu.https.any.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [gelu] throw if input is from another builder: FAIL (Chrome: PASS, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = []: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4,5]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float32, dimensions = [2,3,4,5,6]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = []: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4,5]: FAIL (Chrome: FAIL, Safari: FAIL)
    • [gelu] Test building an operator, dataType = float16, dimensions = [2,3,4,5,6]: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /webnn/validation_tests/gelu.https.any.worker.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /webnn/validation_tests/gelu.https.any.html [wpt.fyi]: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6ec7f0006be [wpt PR 45817] - webnn: add IDL and mojo definition of gelu operator, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.