commit cf36a61d3e94ed60b29356da045a71da000ecd42
parent 3ebc678b635c535e696736e4e97e67b1b8e1f36e
Author: Kenichi Ishibashi <bashi@chromium.org>
Date: Wed, 15 Oct 2025 08:22:02 +0000
Bug 1993491 [wpt PR 55319] - Revert "webnn: Enable mxbai_rerank_base_v1_fp32 model on TFLite backend", a=testonly
Automatic update from web-platform-tests
Revert "webnn: Enable mxbai_rerank_base_v1_fp32 model on TFLite backend"
This reverts commit 7ccda24096f5914472cbf01e76632bd09641b8cd.
Reason for revert: Tests are failing on Win11 bot (e.g. https://ci.chromium.org/ui/p/chromium/builders/ci/Win11%20Tests%20x64/34819/overview)
Original change's description:
> webnn: Enable mxbai_rerank_base_v1_fp32 model on TFLite backend
>
> GatherElements is emulated by GatherND that will always output a tensor
> with one dimension because the shape of the indices tensor is 2
> [flat_indices_size, input_rank], so we need to reshape the output tensor
> to the expected shape.
>
> For example, if the input shape is [4, 2, 2], the indices are [1, 2, 2]
> and axis = 0, then the output shape of gatherND will be [4] that is
> calculated with ResizeTensor. The shape needs to be reshaped to [1, 2,
> 2].
>
> Bug: 446463978
> Change-Id: If3cbada6a46822ec4b44b60dec831caa4bc174f0
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6987334
> Reviewed-by: Reilly Grant <reillyg@chromium.org>
> Commit-Queue: Junwei Fu <junwei.fu@intel.com>
> Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> Cr-Commit-Position: refs/heads/main@{#1527269}
Bug: 446463978
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: I13f830a4fee42cf7bfe04069fc0c9f5d6368e8c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7024691
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Kenichi Ishibashi <bashi@chromium.org>
Auto-Submit: Kenichi Ishibashi <bashi@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1527304}
--
wpt-commits: d065f6d8cfdce4ac5e4e9399130e07fd2d62523b
wpt-pr: 55319
Diffstat:
1 file changed, 0 insertions(+), 52 deletions(-)
diff --git a/testing/web-platform/tests/webnn/conformance_tests/subgraph.https.any.js b/testing/web-platform/tests/webnn/conformance_tests/subgraph.https.any.js
@@ -2524,58 +2524,6 @@ const subgraphTests = [
}
},
{
- 'name': 'gatherElements + matmul',
- 'graph': {
- 'inputs': {
- 'gatherElementsInput': {
- 'data': [
- -66.05901336669922, -68.9197006225586, -77.02045440673828,
- -26.158037185668945, 89.0337142944336, -45.89653396606445,
- 43.84803771972656, 48.81806945800781, 51.79948425292969
- ],
- 'descriptor': {shape: [3, 3], dataType: 'float32'}
- },
- 'gatherElementsIndices': {
- 'data': [1, 0, 2, 2, 1, 0],
- 'descriptor': {shape: [2, 3], dataType: 'int32'},
- 'constant': true
- },
- 'matmulB': {
- 'data': [
- 56.46701431274414, 99.86045837402344, 71.054931640625,
- 32.454383850097656, 17.310747146606445, 2.586275100708008,
- ],
- 'descriptor': {shape: [3, 2], dataType: 'float32'}
- },
- },
- 'operators': [
- {
- 'name': 'gatherElements',
- 'arguments': [
- {'input': 'gatherElementsInput'}, {'indices': 'gatherElementsIndices'}
- ],
- 'outputs': 'gatherElementsOutput'
- },
- {
- 'name': 'matmul',
- 'arguments': [
- {'a': 'gatherElementsOutput'}, {'b': 'matmulB'}
- ],
- 'outputs': 'matmulOutput'
- }
- ],
- 'expectedOutputs': {
- 'matmulOutput': {
- 'data': [
- -5477.462890625, -4714.93212890625,
- 7468.97021484375, 7069.02294921875
- ],
- 'descriptor': {shape: [2, 2], dataType: 'float32'}
- }
- }
- }
- },
- {
'name': 'float16 graph with float32 input and output',
'graph': {
'inputs': {