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

[Bug]: OpenVINO crashes (SIGILL) when enumerating core.available_devices on J4105 and older #26567

Open
3 tasks done
koush opened this issue Sep 12, 2024 · 3 comments
Open
3 tasks done
Assignees
Labels
bug Something isn't working category: NPU OpenVINO NPU plugin support_request

Comments

@koush
Copy link

koush commented Sep 12, 2024

OpenVINO Version

2024.3.0

Operating System

Other (Please specify in description)

Device used for inference

CPU

Framework

None

Model used

All Models

Issue description

OS: Ubuntu 22.04 LXC inside Proxmox.

OpenVINO crashes on J4105 and older (and possibly some generation newer) CPU. This issue started in 2024.3.0. Last good build was 2024.2.0 I can resolve the issue by simply downgrading the package.

Running this same code on the Proxmox host shell (instead of LXC) works fine. This may be a containerization issue. See comment below where I've diagnosed the root cause.

Step-by-step reproduction

Repro code:

import openvino.runtime as ov

core = ov.Core()
print("Available devices:")
for device in core.available_devices:
    print(f"{device} :")

Relevant log output

(.venv) root@scrypted-wyse:/tmp/work# python3 test.py 
Available devices:
Illegal instruction

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
  • There is reproducer code and related data files such as images, videos, models, etc.
@koush koush added bug Something isn't working support_request labels Sep 12, 2024
@koush
Copy link
Author

koush commented Sep 12, 2024

The issue actually seems to stem from the apt package level-zero being installed. If I remove it, it no longer crashes.
While this is not an issue with bare metal installation, it is an issue with creating docker images or lxc templates. The image can't contain the NPU support or risk crashing non-NPU systems.

level-zero is assuming that certain instructions exist while it is being probed.

@koush koush changed the title [Bug]: OpenVINO crashes (process death) when enumerating core.available_devices on J4105 and older [Bug]: OpenVINO crashes (SIGILL) when enumerating core.available_devices on J4105 and older Sep 12, 2024
@rkazants
Copy link
Contributor

@ilya-lavrenov, could you please advice on this issue?

@RyanMetcalfeInt8
Copy link

RyanMetcalfeInt8 commented Sep 17, 2024

Just to add -- this issue has been reported several times for our updated set of of OpenVINO-based plugins for Audacity, which recently upgraded to use 2024.3. Here are a couple of examples:

https://forum.audacityteam.org/t/how-to-fix-unable-to-load-the-mod-openvino-module-error/116996/

intel/openvino-plugins-ai-audacity#295

https://forum.audacityteam.org/t/cant-install-openvino-correctly-need-help-with-installation/118089/2

The workaround for these folks is to delete the NPU plugin DLL.

Edit: Note that the above reported issues have been on Windows, but seems to be the same issue (illegal instruction).

@ilya-lavrenov ilya-lavrenov added the category: NPU OpenVINO NPU plugin label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working category: NPU OpenVINO NPU plugin support_request
Projects
None yet
Development

No branches or pull requests

5 participants