Continuing the discussion from How to fix the python3? (Core dump…) :
I only get the issue when import torch, working fine with numpy
I have done the solution is suggest in that topic, but cannot resolve my issue.
(myenv) dc9@ubuntu:~/Project_Quan/YOLOv9-DeepSORT-Object-Tracking-20240828T044936Z-001/YOLOv9-DeepSORT-Object-Tracking$ python3.8
Python 3.8.0 (default, Dec 9 2021, 17:53:27)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import torch
Illegal instruction (core dumped)
(myenv) dc9@ubuntu:~/Project_Quan/YOLOv9-DeepSORT-Object-Tracking-20240828T044936Z-001/YOLOv9-DeepSORT-Object-Tracking$ echo $OPENBLAS_CORETYPE
ARMV8
Could anyone help me to resolve this issue ?
I only encounter an issue when importing torch.
mporting numpy still works.
dc9@ubuntu:~/Downloads/Python-3.9.13$ python3
Python 3.9.13 (main, Aug 27 2024, 23:41:05)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.version.version
'1.19.4'
>>> import torch
Illegal instruction (core dumped)
I only encounter an issue when importing torch.
mporting numpy still works.
Hi,
Have you tried to setup the below global variable?
$ export OPENBLAS_CORETYPE=ARMV8
Thanks.
as above comment, I already export OPENBLAS_CORETYPE=ARMV8, it still failure…
After try python3.6 with install pytorch according PyTorch for Jetson , it working fine
system
Closed
September 15, 2024, 10:02am
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.