intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 42 forks source link

[MPS] 'Neural Network service unavailable' error happened when running CTS tests on Mac #149

Closed Christywl closed 6 years ago

Christywl commented 6 years ago

Test Env: Chromium Version : nightly build 70.0.3503.0 (public/webml/nightly/007f215/) OS : Mac OS webml-polyfill: commit 777b85f

Expected Result: Test should pass.

Actual Result: NotSupportedError: Neural Network service unavailable.

How to Reproduce:

  1. Launch chromium and enable the WebML
  2. Access to https://brucedai.github.io/nt/test/cts-all.html?backend=mps

Most tests failed due to this issue:

screen shot 2018-08-16 at 3 36 34 pm
Christywl commented 6 years ago

Sometimes, I also met the same issue when running CTS tests with BNNS backend on Mac:

screen shot 2018-08-17 at 9 43 50 am
ibelem commented 6 years ago

Re-assign to @sunlin-link as it's MPS issue

sunlin-link commented 6 years ago

Same with https://github.com/intel/webml-polyfill/issues/171. Some test cases crashed and broke the neural network service

sunlin-link commented 6 years ago

@Christywl Fixed. Please verify

Christywl commented 6 years ago

Tried several times on Chromium build 861b761, this issue didn't happen on MPS.