[wpt-sync] Sync PR 55411 - Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
185.40 KB,
text/plain
|
Details |
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-matmulBug: 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_testsReviewed-on: https://chromium-review.googlesource.com/7034401
WPT-Export-Revision: a14796818b914c30dab16d4c04a922e3923b8a4e
| Assignee | ||
Comment 1•10 days ago
|
||
| Assignee | ||
Comment 2•10 days ago
|
||
Description
•