Cupy crashes on Jetson Nano

Hello,

I installed Cupy v8.4 on 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?

You may need post whole error message for someone have this kind experience to check it.

the whole message is:
Illegal instruction (core dumped)

Hi @linhdh if you upgraded pip, it may have also upgraded numpy, and there is a bug in numpy v1.19.5: Illegal instruction (core dumped) on import for numpy 1.19.5 on ARM64 · Issue #18131 · numpy/numpy · GitHub

As a workaround, export OPENBLAS_CORETYPE=ARMV8 first before running your Python script.

@dusty_nv Thank you.
your guide help me fix this bug.