Cupy crashes on Nvidia Jetson Nano

263 views
Skip to first unread message

Linh Dao

unread,
Feb 23, 2021, 3:24:59 AM2/23/21
to CuPy User Group

Hello,

I installed Cupy v8.4 on Nvidia Jetson Nano by command:

pip install Cupy

then Cupy was installed from source code successful after a long run
then i tested Cupy by trying to import Cupy or Numpy:

import numpy as np

or

import cupy as cp

but i had following error message:

Illegal instruction (core dumped)

Can anyone help me fix this error?

Leo Fang

unread,
Feb 25, 2021, 1:43:30 AM2/25/21
to CuPy User Group
Hello,

If you can't even import NumPy, something is likely wrong in your Python env, and is probably irrelevant of CuPy. CuPy just imports NumPy at import time. Most likely you installed an incompatible NumPy wheel. (Note that Nano has an ARM CPU, which is AArch64, not x86_64.)

Linh Dao 在 2021年2月23日 星期二上午3:24:59 [UTC-5] 的信中寫道:

Linh Dao

unread,
Mar 3, 2021, 9:34:08 PM3/3/21
to CuPy User Group
Hello, 
A moderator at Nvidia developers forum told me that Numpy version 1.19.5 is the main reason for this bug. I removed Numpy version 1.19.5 and installed Numpy version 1.19.4 then it worked. But I want to know more detail, why does Numpy version 1.19.5 cause this error?
Here is the thread about this error on Nvidia developers forum: https://forums.developer.nvidia.com/t/cupy-crashes-on-jetson-nano/169103

Reply all
Reply to author
Forward
0 new messages