Closed Bug 1976281 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 53656 - Reland "[WebNN] Fuse QDQ for pad with constant mode on tflite"

Categories

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

task

Tracking

(firefox142 fixed)

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Wei Wang <wei4.wang@intel.com> wrote:

Reland "[WebNN] Fuse QDQ for pad with constant mode on tflite"

This is a reland of commit 25c6ae767090c5a32480b1a4ace128479955a80a.
The bots failure is caused by a TFLite bug, which is fixed in PR[1]
and rolled in chromium in CL[2].

[1] https://github.com/tensorflow/tensorflow/pull/95506
[2] https://chromium-review.googlesource.com/c/chromium/src/+/6700755

Original change's description:

[WebNN] Fuse QDQ for pad with constant mode on tflite

This CL supports fusing dq->pad->q subgraph on tflite for constant
mode.

Input and output operands have to be dequantized from ints8, the scale
and zero point of input and output have to be scaler. Input and output
must all have same scale and zero_point. Besides, the padding value
should be quantized to the same data type of input to meet the
requirements of QDQ fusion and get the correct results.

Bug: 401281047, 421933197
Change-Id: I1d8c91d0fbacf323c76da0f9fa55d1441c34b1cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6635195
Reviewed-by: ningxin hu \<ningxin.hu@intel.com>
Reviewed-by: Phillis Tang \<phillis@chromium.org>
Commit-Queue: Wei4 Wang \<wei4.wang@intel.com>
Cr-Commit-Position: refs/heads/main@{#1472932}

Bug: 401281047, 421933197
Change-Id: I47f1bd5ad1721fa1b7937180d2c763a8d0e940c5

Reviewed-on: https://chromium-review.googlesource.com/6641544
WPT-Export-Revision: fd998f427d8e557eae93354c2e422e31d7a1c955

CI Results

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

Total 12 tests and 42 subtests

Status Summary

Firefox

OK : 12
FAIL: 12

Chrome

OK : 12
PASS: 492

Safari

OK : 12
FAIL: 12

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0f75c12aa9a9 https://hg.mozilla.org/integration/autoland/rev/99111c89d6e0 [wpt PR 53656] - Reland "[WebNN] Fuse QDQ for pad with constant mode on tflite", a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
You need to log in before you can comment on or make changes to this bug.