Open Bug 1890641 Opened 23 days ago Updated 23 days ago

[wpt-sync] Sync PR 45632 - WebNN: Implement MLBuffer dispatch

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Bryan Bernhart <bryan.bernhart@intel.com> wrote:

WebNN: Implement MLBuffer dispatch

Adds support to execute MLGraphs using MLBuffers. Allows the WebNN developer to directly bind MLBuffers as input/outputs to graphs for execution, which keeps MLBuffer data on-device after execution completes. In future CLs, dispatch can be further optimized.

  • Moves out per graph resources required by Dispatch().
  • MLGraphBuilder.build no longer pre-allocates I/O.

https://github.com/webmachinelearning/webnn/issues/482

Bug: 1472888
Change-Id: I7400704cf60c149c47c20f22c50d5f12bff89cf9
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/5173678
WPT-Export-Revision: f6e57c801e1764e55f890c15051785824f1cae40

PR 45632 applied with additional changes from upstream: 2cfdefdda3b405039aeeff2b37e00cc64ebe9d9a, 8715bf87a42aad0a1948179ddb19e6382ace0108
You need to log in before you can comment on or make changes to this bug.