[wpt-sync] Sync PR 47711 - webnn: Set a max operand rank of 8
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox131 fixed)
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47711 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47711
Details from upstream follow.
Austin Sullivan <asully@chromium.org> wrote:
webnn: Set a max operand rank of 8
We likely eventually want this to be part of MLOpSupportsLimits, but
for now this allows us to replace some checked-casts in favor of
static-casts, and not need to worry about tensors with absurd ranksSee https://github.com/webmachinelearning/webnn/issues/456
Bug: 329482489
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel
Change-Id: I021d3b30ea1b8f5f3bef1725130fd2e4c569f494
Reviewed-on: https://chromium-review.googlesource.com/5639505
WPT-Export-Revision: a5ab3eaf5ad900901083be4bd4484219d462e271
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 2 subtests
Status Summary
Firefox
OK : 6
FAIL: 12
Chrome
OK : 6
PASS: 6
FAIL: 6
Safari
OK : 6
FAIL: 12
Links
Details
New Tests That Don't Pass
- /webnn/validation_tests/invalid-rank.https.any.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/invalid-rank.https.any.worker.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/invalid-rank.https.any.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/invalid-rank.https.any.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/invalid-rank.https.any.worker.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/invalid-rank.https.any.worker.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL) - Throw if rank is too large:
FAIL(Chrome:FAIL, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Description
•