Closed Bug 2025723 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 58702 - Reland "webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend"

Categories

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

task

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Lisha Guo <guolisha@kylinos.cn> wrote:

Reland "webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend"

This is a reland of commit d67bfe074092f688a727259e0ed07388a24d36c2

Original change's description:

webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend

This CL removed unnecessary matrix multiplication computation for gemm
operator when alpha is 0.

Change-Id: Ifaee7908b057017f39236e64436707db8a04551e
Bug: 372932099
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7509907
Commit-Queue: Fu, Junwei \<junwei.fu@intel.com>
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Reviewed-by: Hu, Ningxin \<ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1592989}

Bug: 372932099
Change-Id: Ibdee03c93381ef07726112b61f4194845749d1fc
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7636869
Reviewed-by: Fu, Junwei \<junwei.fu@intel.com>
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Commit-Queue: lisha guo \<guolisha@kylinos.cn>
Cr-Commit-Position: refs/heads/main@{#1603873}

Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 402 tests ## Status Summary ### Firefox `OK` : 3 `FAIL`: 3 ### Chrome `OK` : 3 `PASS`: 156 ### Safari `OK` : 3 `FAIL`: 3 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=df2f15721e081db43556727a7756d3ad2cf8c66a) [GitHub PR Head](https://wpt.fyi/results/?sha=03a8519b27be152c77e0afccb48ab8aa9371bde2&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=03a8519b27be152c77e0afccb48ab8aa9371bde2&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/cbaad07a60ad https://hg.mozilla.org/integration/autoland/rev/d7e52c088165 [wpt PR 58702] - Reland "webnn: avoid executing alpha * A * B when gemma.alpha is 0 for TFLite backend", a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: