-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug]: avx instruction inside libopenvino_intel_npu_plugin.so leads to crash on system without AVX instruction #26715
Comments
I confirm I had the same problem. The workaround works as well. |
Just to point out here, that many users of our OpenVINO-based Audacity plugins are regularly reporting this issue: https://forum.audacityteam.org/t/how-to-fix-unable-to-load-the-mod-openvino-module-error/116996/ intel/openvino-plugins-ai-audacity#295 (and many more) |
By the way, this issue is also present in 2024.3. |
@dmatveev it's a regression after https://github.com/openvinotoolkit/openvino/pull/24989/files#diff-fab2995529c22d419387ce6a5a141c41cb4195f5e617f50f7281a7819d52966c Proper solution is to check in runtime that AVX2 is available and run function compiled with AVX2 in runtime. |
@ilya-lavrenov please see CVS-147126, it seems the issue is not related to stepping into ours hand-written AVX2 code (as it is not used during the loading), but is related to AVX2 found in Anyways added E-141652 |
Ref. 154085 |
OpenVINO Version
2024.4.0
Operating System
Other (Please specify in description)
Device used for inference
CPU
Framework
None
Model used
No response
Issue description
By following
https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html?PACKAGE=OPENVINO_BASE&VERSION=v_2024_4_0&OP_SYSTEM=LINUX&DISTRIBUTION=PIP
install openvino 2024.4.0 in virtual env. then run this test, it crashed with illegal instruction on my pentium g4600 CPU.
dmegs shows that it's from libopenvino_intel_npu_plugin.so.
My question is: from the plugin name it looks like it's for NPU and why it runs avx instruction when trying init it? I
don't even have NPU. If it's from cpu_plugin.so, I can somehow understand the point. Maybe we don't need to compile with avx optimazation for npu plugin? at least for the init part?
BTW, I just manually deleted the libopenvino_intel_npu_plugin.so from the disk and then the same code runs fine and can show there are 2 devices, one CPU, one GPU.
Step-by-step reproduction
No response
Relevant log output
No response
Issue submission checklist
The text was updated successfully, but these errors were encountered: