[wpt-sync] Sync PR 49135 - webnn: Remove the MLContext.compute() method
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox134 fixed)
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49135 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49135
Details from upstream follow.
Austin Sullivan <asully@chromium.org> wrote:
webnn: Remove the MLContext.compute() method
This method has been deprecated for dispatch()
OBSOLETE_HISTOGRAMS=compute() is deprecated in favor of dispatch()
Bug: 331351967
Change-Id: Id115f97edd78205c587b6920de4c21fa83961191
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5874875
Reviewed-by: Phillis Tang \<phillis@chromium.org>
Reviewed-by: ningxin hu \<ningxin.hu@intel.com>
Reviewed-by: Weizhong Xia \<weizhong@google.com>
Commit-Queue: Austin Sullivan \<asully@chromium.org>
Reviewed-by: Alex Gough \<ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1382157}
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 24 tests and 3 subtests
Status Summary
Firefox
OK
: 18
FAIL
: 108
ERROR
: 6
NOTRUN
: 18
Chrome
OK
: 24
PASS
: 126
Safari
OK
: 18
FAIL
: 108
ERROR
: 6
NOTRUN
: 18
Links
Details
New Tests That Don't Pass
- /webnn/validation_tests/constant-changed-buffer.https.any.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.worker.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.worker.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.worker.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/constant-changed-buffer.https.any.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by detaching the buffer:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data is unaffected by changes to the buffer contents:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Constant data cannot use a detached buffer, which is empty:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/destroyContext.https.any.worker.html?cpu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyContext.https.any.worker.html?gpu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyContext.https.any.html?cpu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyContext.https.any.worker.html?npu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyContext.https.any.html?npu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyContext.https.any.html?gpu [wpt.fyi]
- Context will be lost by destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Context can be destroyed twice.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build operator.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create graph builder.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not build graph.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not dispatch.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Executing dispatch() before context destroyed is OK.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not create tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not read tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Pending promise of readtensor() will be rejected immediately when context is destroyed.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Destroyed context can not write tensor.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Context will be lost by destroyed.:
- /webnn/validation_tests/destroyGraph.https.any.html?gpu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/destroyGraph.https.any.worker.html?gpu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/destroyGraph.https.any.html?cpu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/destroyGraph.https.any.html?npu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/destroyGraph.https.any.worker.html?npu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/destroyGraph.https.any.worker.html?cpu [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- Graph can be destroyed twice.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroyed graph can not dispatch.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
) - Destroying graph after dispatch() and before readTensor() is OK.:
NOTRUN
(Chrome:PASS
, Safari:NOTRUN
)
- Graph can be destroyed twice.:
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.worker.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.html?gpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.worker.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.worker.html?cpu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/validation_tests/pooling-and-reduction-keep-dims.https.any.html?npu [wpt.fyi]
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test global average pool operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Test reduceMean operator's output shape for ResNetV2 50 model.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Description
•