[wpt-sync] Sync PR 56708 - WebNN: Limit int32 input for dequantizeLinear on ORT backend
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox148 fixed)
| Tracking | Status | |
|---|---|---|
| firefox148 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56708 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56708
Details from upstream follow.
Miao Bin <bin.miao@intel.com> wrote:
WebNN: Limit int32 input for dequantizeLinear on ORT backend
The ONNX Runtime CPUExecutionProvider has a limitation for the
dequantizeLinear operator: "DequantizeLinear with type int32 or float8
should have no zero point or all zero points should be 0" [1]. And WebNN
WPT has some cases use int32 inputs and non-zero zero_points to test
this operator. These cases will result in context lost triggered by ORT
session run failure.This CL limits int32 input for dequantizeLinear on ORT backend to avoid
the context lost issue.Bug: 467185159
Change-Id: I8913d9f63a9ee168cee73e4d950febccf57552a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7244911
Reviewed-by: Rafael Cintron \<rafael.cintron@microsoft.com>
Reviewed-by: Hu, Ningxin \<ningxin.hu@intel.com>
Commit-Queue: Miao, Bin \<bin.miao@intel.com>
Cr-Commit-Position: refs/heads/main@{#1557851}
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Comment 2•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
Comment 5•3 months ago
|
||
| bugherder | ||
Description
•