[wpt-sync] Sync PR 53656 - Reland "[WebNN] Fuse QDQ for pad with constant mode on tflite"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox142 fixed)
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/+/6700755Original 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: I47f1bd5ad1721fa1b7937180d2c763a8d0e940c5Reviewed-on: https://chromium-review.googlesource.com/6641544
WPT-Export-Revision: fd998f427d8e557eae93354c2e422e31d7a1c955
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
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
Details
New Tests That Don't Pass
- /webnn/conformance_tests/qdq_subgraph.https.any.html?npu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.worker.html?npu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.worker.html?gpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.html?cpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.sharedworker.html?gpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.serviceworker.html?gpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.sharedworker.html?cpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.sharedworker.html?npu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.worker.html?cpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.serviceworker.html?npu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.html?gpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
- /webnn/conformance_tests/qdq_subgraph.https.any.serviceworker.html?cpu [wpt.fyi]
- assert_implements(navigator.ml, 'missing navigator.ml'):
FAIL
(Safari:FAIL
)
- assert_implements(navigator.ml, 'missing navigator.ml'):
Comment 4•1 month ago
|
||
bugherder |
Description
•