[wpt-sync] Sync PR 46217 - Reland "webnn: Enforce input data type constraints for gather indices"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox128 fixed)
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46217 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46217
Details from upstream follow.
lisa0314 <lisha.guo@intel.com> wrote:
Reland "webnn: Enforce input data type constraints for gather indices"
This is a reland of commit ef29e11bfb1f1f4eae0935fb58f0e4129620837b
Original change's description:
webnn: Enforce input data type constraints for gather indices
As specified in https://github.com/webmachinelearning/webnn/pull/646
Bug: 328567884
Change-Id: I33eba7e1def430b1cb94e3e7a4868e82c5bbd9a3
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5520313
Reviewed-by: Austin Sullivan \<asully@chromium.org>
Commit-Queue: Lisha Guo \<lisha.guo@intel.com>
Reviewed-by: ningxin hu \<ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1298443}Bug: 328567884
Change-Id: Ide6a0e1bc6d3ebea7dce6bf37da4318e7b6e1bd1
Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,mac14.arm64-blink-relReviewed-on: https://chromium-review.googlesource.com/5532907
WPT-Export-Revision: 7dc04ba4f53067d4ecacc76cfc59261837c64c99
Assignee | ||
Comment 1•4 months ago
|
||
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 2•4 months ago
|
||
Assignee | ||
Comment 3•4 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 11 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 22
Chrome
OK
: 2
PASS
: 22
Safari
OK
: 2
FAIL
: 22
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webnn/validation_tests/gather.https.any.html [wpt.fyi]:
OK
[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
) - [gather] Test gather with default options and 0-D indices:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with axis = 2:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with indices's dataType = uint32:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with indices's dataType = int32:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the input is a scalar:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the axis is greater than the rank of input:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the data type of indices is float32 which is invalid:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the data type of indices is uint64 which is invalid:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/gather.https.any.worker.html [wpt.fyi]:
OK
[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
) - [gather] Test gather with default options and 0-D indices:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with axis = 2:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with indices's dataType = uint32:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] Test gather with indices's dataType = int32:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the input is a scalar:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the axis is greater than the rank of input:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the data type of indices is float32 which is invalid:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] TypeError is expected if the data type of indices is uint64 which is invalid:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] throw if input is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [gather] throw if indices is from another builder:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Tests Disabled in Gecko Infrastructure
- /webnn/validation_tests/gather.https.any.html [wpt.fyi]:
OK
[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/gather.https.any.worker.html [wpt.fyi]:
OK
[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
)
Comment 5•4 months ago
|
||
bugherder |
Description
•