Open Bug 1994211 Opened 11 days ago Updated 2 days ago

[wpt-sync] Sync PR 55411 - Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend"

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

junwei <junwei.fu@intel.com> wrote:

Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend"

This is a reland of commit I33eae7f3e81e8f2efac0cbe49627acabf58bed97

This reland updates baseline on mac platform for failed test
https://ci.chromium.org/b/8701302412868775361.

Original change's description:

webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend

The squeeze[1] will output {640} shape tensor if batchSize is 1, the
output tensor will matmul tensor {640, 256}, but the a and b operand
of WebNN matmul[2] are at least 2-D, so remove specific size 1
dimensions at 0 axis with squeeze_dims option.

[1] https://source.chromium.org/chromium/chromium/src/+/main:services/webnn/tflite/graph_builder_tflite.cc;l=5699?q=SerializeSubGraphSliceSqueeze&ss=chromium%2Fchromium%2Fsrc
[2] https://www.w3.org/TR/webnn/#api-mlgraphbuilder-matmul

Bug: 446545294
Change-Id: I33eae7f3e81e8f2efac0cbe49627acabf58bed97
Reviewed-on: https://chromium-> review.googlesource.com/c/chromium/src/+/6993849
Reviewed-by: ningxin hu \<ningxin.hu@intel.com>
Commit-Queue: Junwei Fu \<junwei.fu@intel.com>
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1528547}

Bug: 446545294
Change-Id: I161d2dad26fb6c9671ca08ab0b3614e5128664c2
Include-Ci-Only-Tests: chromium.mac:mac14-arm64-rel-tests|blink_wpt_tests

Reviewed-on: https://chromium-review.googlesource.com/7034401
WPT-Export-Revision: a14796818b914c30dab16d4c04a922e3923b8a4e

Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI Total 396 tests ## Status Summary ### Firefox `OK` : 3 `FAIL`: 3 ### Chrome `OK` : 3 `PASS`: 84 `FAIL`: 3 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=abc012a943ee0cc094e3927bacc54488a17eb1d1) [GitHub PR Head](https://wpt.fyi/results/?sha=8ff9c84eba9559cb4bd21cbf2e0ba7d7c26e18e2&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=8ff9c84eba9559cb4bd21cbf2e0ba7d7c26e18e2&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/470c670e6275 https://hg.mozilla.org/integration/autoland/rev/3734404a67b2 [wpt PR 55411] - Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend", a=testonly
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: