mindspore-ai / mindspore

MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
https://gitee.com/mindspore/mindspore
Apache License 2.0
4.17k stars 688 forks source link

undefined symbol: dnnl_threadpool_interop_stream_create #224

Open wlxlatiao666 opened 1 year ago

wlxlatiao666 commented 1 year ago

Software Environment:

I used pip install mindspore to install mindspore. However, when I tried to import mindspore, an importerror appeared: ImportError: /opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/mindspore/lib/libmindspore_backend.so: undefined symbol: dnnl_threadpool_interop_stream_create This symbol comes from onednn. What can I do to solve this problem?

cxl-ll commented 1 year ago

Hello, the installation problem here is being analyzed, will give a reply as soon as possible.

nicholasyanghaoran commented 1 year ago

Hi, which backend did you use when running MindSpore, CPU, GPU or Ascend? Do you have libraries such as onednn or mkldnn installed on your environment?