intel / intel-npu-acceleration-library

Intel® NPU Acceleration Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[OSError][WinError-529697949][Intel Meteorlake] Error when try to run example matmul.py

kurtqiao opened this issue · comments

met below error when try to run examples, any ideas about this ?

D:\AI\intel-npu\examples>python matmul.py
Traceback (most recent call last):
File "D:\AI\intel-npu\examples\matmul.py", line 22, in
result = run_matmul(128, 128, 32)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AI\intel-npu\examples\matmul.py", line 16, in run_matmul
mm = MatMul(inC, outC, batch, profile=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\intel_npu_acceleration_library\backend\matmul.py", line 32, in init
self.compile(out)
File "C:\Python311\Lib\site-packages\intel_npu_acceleration_library\backend\factory.py", line 124, in compile
backend_lib.compile(self._mm, output_node)
OSError: [WinError -529697949] Windows Error 0xe06d7363

Test environment:

  • OS: windows 11 22H2, 22621.3007
  • VisualStudio build tool 2019
  • Platform: Intel Meteorlake
  • Python 3.11.0

Hi, it seems to be a driver issue on your side, as we cannot reproduce it. Do you know what NPU driver version do you have?

I suggest to you to install the latest NPU driver: https://www.intel.com/content/www/us/en/download/794734/intel-npu-driver-windows.html

thanks, problem solved by updated NPU driver to 31.0.100.2016
and the issue caused by old NPU driver 31.0.100.1477

seems output is good, i'll try another example and check the NPU loadings.

D:\AI\intel-npu\examples>python matmul.py
[[-2.375 -1.505 -2.53 ... 2.504 1.3125 1.406 ]
[-1.405 2.986 -2.096 ... -0.8843 5.59 5.938 ]
[ 0.9175 3.557 -0.78 ... -5.41 -0.4019 -0.04965]
...
[ 2.223 -2.604 -6.64 ... -0.4001 5.453 3.154 ]
[-1.616 6.715 4.062 ... -3.188 1.353 -3.062 ]
[ 2.117 -1.951 -0.01768 ... 3.357 5.3 1.521 ]]