Skip to content

ipex 2.2.0 "import intel_extension_for_pytorch" gives "Illegal instruction (core dumped)" on Ubuntu 22.04 and J4105 CPU  #551

Closed
@sanderjo

Description

@sanderjo

Describe the bug

Looks like #235 but for ipex version 2.2.0:

sander@brixit:~$ python3 -c 'import intel_extension_for_pytorch as ipex'
Illegal instruction (core dumped)
sander@brixit:~$ python3 -c 'import intel_extension_for_pytorch._C as core'
Illegal instruction (core dumped)
sander@brixit:~$ python3 -c 'import torch; import intel_extension_for_pytorch'
Illegal instruction (core dumped)
sander@brixit:~$ pip show intel_extension_for_pytorch
Name: intel-extension-for-pytorch
Version: 2.2.0
Summary: Intel® Extension for PyTorch*
Home-page: https://github.com/intel/intel-extension-for-pytorch
Author: Intel Corp.
Author-email:
License: https://www.apache.org/licenses/LICENSE-2.0
Location: /home/sander/.local/lib/python3.10/site-packages
Requires: numpy, packaging, psutil
Required-by:

Ubuntu 22.04.4 LTS, native on hardware
CPU: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz

To show my python3 is OK:

sander@brixit:~$ python3 -c "print('hello')"
hello

Versions

sander@brixit:~$ python3 collect_env.py
Illegal instruction (core dumped)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions