Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webnn: Support block-wise quantization for DirectML backend #49083

Merged
merged 1 commit into from
Nov 9, 2024

webnn: Support block-wise quantization for DirectML backend

34684e6
Select commit
Loading
Failed to load commit list.
Merged

webnn: Support block-wise quantization for DirectML backend #49083

webnn: Support block-wise quantization for DirectML backend
34684e6
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results-without-changes succeeded Nov 9, 2024 in 3m 33s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome but without the changes in the PR.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-11-09T02:41:18.875Z
Resolved: 2024-11-09T02:44:51.122Z
Task Execution Time: 3 minutes, 32 seconds, 247 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2024-11-09 02:41:18.944Z] Task ID: Bpxs7LBoT_2jiKlEf6SVBA
[taskcluster 2024-11-09 02:41:18.944Z] Worker ID: 5954026948383702737
[taskcluster 2024-11-09 02:41:18.944Z] Worker Group: us-east4-c
[taskcluster 2024-11-09 02:41:18.944Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-11-09 02:41:18.944Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-11-09 02:41:18.944Z] Worker Version: 46.1.0
[taskcluster 2024-11-09 02:41:18.944Z] Public IP: 34.48.14.251
[taskcluster 2024-11-09 02:41:18.944Z] Hostname: proj-wpt-ci-pe6g9vtord2vis-tpvmvoa

[taskcluster 2024-11-09 02:41:19.603Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(1333 lines hidden)...

    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
/webnn/conformance_tests/quantizeLinear.https.any.worker.html?cpu
  FAIL quantizeLinear float32 1D constant tensor broadcasting zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 4D constant tensor broadcasting scale and zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 2D tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
/webnn/conformance_tests/quantizeLinear.https.any.html?gpu
  FAIL quantizeLinear float32 1D constant tensor broadcasting zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 4D constant tensor broadcasting scale and zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 2D tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
/webnn/conformance_tests/quantizeLinear.https.any.worker.html?npu
  FAIL quantizeLinear float32 1D constant tensor broadcasting zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 4D constant tensor broadcasting scale and zeroPoint - promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'build' on 'MLGraphBuilder': Only support pre-node quantize at current stage."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 2D tensor with int4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'quantizeLinear' on 'MLGraphBuilder': Unsupported data type int4 for argument input, must be one of [int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has odd size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
  FAIL quantizeLinear float32 tensor with uint4 zeroPoint which has even size - promise_test: Unhandled rejection with value: object "TypeError: Failed to execute 'cast' on 'MLGraphBuilder': Unsupported data type uint4 for output, must be one of [float32, float16, int32, uint32, int64, int8, uint8]."
Error
    at get_stack (https://web-platform.test:8443/resources/testharness.js:4567:21)
    at new AssertionError (https://web-platform.test:8443/resources/testharness.js:4560:22)
    at assert (https://web-platform.test:8443/resources/testharness.js:4544:19)
    at Test.<anonymous> (https://web-platform.test:8443/resources/testharness.js:764:29)
    at Test.step (https://web-platform.test:8443/resources/testharness.js:2638:25)
    at https://web-platform.test:8443/resources/testharness.js:2685:35
 0:56.73 INFO Got 12 unexpected results, with 0 unexpected passes
 0:56.74 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:56.82 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:56.82 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:56.82 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:56.84 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:56.84 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:56.84 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:56.84 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:56.84 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:56.84 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:57.20 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:57.22 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:57.27 INFO Removed font: Ahem.ttf
 0:57.29 INFO Closing logging queue
 0:57.29 INFO queue closed
 0:57.29 INFO Tolerating 12 unexpected results
[taskcluster 2024-11-09 02:44:49.556Z] === Task Finished ===
[taskcluster 2024-11-09 02:44:50.520Z] Successful task run with exit code: 0 completed in 211.576 seconds