I’m trying to build yolov5/v7 on jetson nano as a ros node.I have cuda version 10.0,as I learned from the internet, I can use upto torch 1.10.0. However,I tried torch 1.6,1.8 and 1.10,all of which lead to the following error when I try to import them
bcsh@bcsh-desktop:~$ python3
Python 3.6.9 (default, Mar 10 2023, 16:46:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bcsh/.local/lib/python3.6/site-packages/torch/__init__.py", line 196, in <module>
_load_global_deps()
File "/home/bcsh/.local/lib/python3.6/site-packages/torch/__init__.py", line 149, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File "/usr/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libcurand.so.10: cannot open shared object file: No such file or directory
while torch1.2 can be successfully installed and import , yolov5 and v7 need at least torch 1.7 to function.
So I wonder if it’s my cuda version too low,or some other things broken?
I have been spending days solving this problem.Thanks for any reply.