tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit fe2c6dff9b187a61f6f6fa6dc9d9e40bbd11106d
parent 161de99f47d1f59387d9d65e4a94bece773d412e
Author: Dibyajyoti Pal <dibyapal@chromium.org>
Date:   Tue, 21 Oct 2025 10:29:36 +0000

Bug 1994557 [wpt PR 55465] - Revert "Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend"", a=testonly

Automatic update from web-platform-tests
Revert "Reland "webnn: Enable kokoro_82m_v1_fp16 model on TFLite backend""

This reverts commit 16da64d9f49ce6fb66699377c37c2ed47a4440da.

Reason for revert: Failing consistently on the mac15-arm64-rel-tests
bot. Sample build failure: https://ci.chromium.org/ui/p/chromium/builders/ci/mac15-arm64-rel-tests/12869/overview

Original change's description:
> 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-matmul
> >
> > Bug: 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_tests
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7034401
> Commit-Queue: Phillis Tang <phillis@chromium.org>
> Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> Reviewed-by: Phillis Tang <phillis@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1530443}

Bug: 446545294
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: I98708241bc067a74a3422ffba19431a254e955cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7045951
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Dibyajyoti Pal <dibyapal@chromium.org>
Commit-Queue: Dibyajyoti Pal <dibyapal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1530486}

--

wpt-commits: b0668cf374a8980537d45b22d511af766c9ff588
wpt-pr: 55465

Diffstat:
Mtesting/web-platform/tests/webnn/conformance_tests/lstm.https.any.js | 65-----------------------------------------------------------------
1 file changed, 0 insertions(+), 65 deletions(-)

diff --git a/testing/web-platform/tests/webnn/conformance_tests/lstm.https.any.js b/testing/web-platform/tests/webnn/conformance_tests/lstm.https.any.js @@ -776,71 +776,6 @@ const lstmTests = [ } }, { - 'name': - "lstm float32 tensors steps=2, batchSize=1 with options.bias, options.recurrentBias, options.activations=['relu', 'relu', 'relu'] and options.direction='backward'", - 'graph': { - 'inputs': { - 'lstmInput': { - 'data': [1, 2, 2, 1], - 'descriptor': {shape: [2, 1, 2], dataType: 'float32'} - }, - 'lstmWeight': { - 'data': [1, -1, 2, -2, 1, -1, 2, -2, 1, -1, 2, -2, 1, -1, 2, -2], - 'descriptor': {shape: [1, 8, 2], dataType: 'float32'}, - 'constant': true - }, - 'lstmRecurrentWeight': { - 'data': [ - 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, - 0.1, 0.1, 0.1 - ], - 'descriptor': {shape: [1, 8, 2], dataType: 'float32'}, - 'constant': true - }, - 'lstmBias': { - 'data': [1, 2, 1, 2, 1, 2, 1, 2], - 'descriptor': {shape: [1, 8], dataType: 'float32'}, - 'constant': true - }, - 'lstmRecurrentBias': { - 'data': [1, 2, 1, 2, 1, 2, 1, 2], - 'descriptor': {shape: [1, 8], dataType: 'float32'}, - 'constant': true - } - }, - 'operators': [{ - 'name': 'lstm', - 'arguments': [ - {'input': 'lstmInput'}, {'weight': 'lstmWeight'}, - {'recurrentWeight': 'lstmRecurrentWeight'}, {'steps': 2}, - {'hiddenSize': 2}, { - 'options': { - 'bias': 'lstmBias', - 'recurrentBias': 'lstmRecurrentBias', - 'direction': 'backward', - 'activations': ['relu', 'relu', 'relu'] - } - } - ], - 'outputs': ['lstmOutput1', 'lstmOutput2'] - }], - 'expectedOutputs': { - 'lstmOutput1': { - 'data': [ - 21955.08984375, 43092.29296875 - ], - 'descriptor': {shape: [1, 1, 2], dataType: 'float32'} - }, - 'lstmOutput2': { - 'data': [ - 867.7901000976562, 1638.4901123046875 - ], - 'descriptor': {shape: [1, 1, 2], dataType: 'float32'} - } - } - } - }, - { 'name': 'lstm float32 tensors steps=2 with all options', 'graph': { 'inputs': {