you may also try using docker containers with preinstalled pytorch from NVIDIA L4T PyTorch | NVIDIA NGC so that there will be no need to build it from [github] sources @neuezeal you may also try these steps
@neuezeal
at some point it is required to get out from a build folder before using torch: ../
also you may try to repeat steps from the post before in exact manner;
from the first step to tthe last one.
which will be the output if you do?
Is there any particular reaon why you are trying to install torch-1.4.0 , but not 1-6.0 as it was proposed?
Also I would suggest to uninstall any existing torch package before trying to install it again with pip3
The installation instructions are for v1.4.0, and while I did substitute 1.6.0 in the filename, I did not change the URL. The instructions say āSubstitute the URL/filenamesā which for me sounded like āURL or file namesā, whereas you meant URL and filename!
Sorry, that was my mistake. But perhaps since the post title is about v1.6.0, the Installation instructions should probably include the 1.6.0 download/installation instructions by default!
I used the instruction for PyTorch 1.3, JetPack 4.4
But I canāt load PyTorch, I receive this error message:
ā¦
from torch._C import *
ImportError: cannot open shared object file: No such file or directory.
Someone else get this message? And can give me tips?
Thank
Thanks again.
I try to use PyTorch 1.6 ,
But, I got a different error:
OSError: libcurand.so.10: cannot open shared object file: No such file or directory
To verified the cuda 10 is in path I input in terminal:
echo $LD_LIBRARY_PATH
/usr/local/cuda-10.0/lib64:
Hi @abraham.pelz, can you check your L4T version with cat /etc/nv_tegra_release and post the results of that command here? It seems maybe you installed a PyTorch wheel that wasnāt build for your version of JetPack-L4T.
Before installing another PyTorch, I also recommend running these commands to clear out previous install:
Also if you continue to have issues installing PyTorch, I recommend using the l4t-pytorch container which already has it installed. You will want to use the tag of the container that matches your L4T version.
Hi, thanks a lot for your reply! Iām using TX2 with Jatpack 4.4, L4T 32.4.2. I am actually downloading pytorch 1.4 which is for 32.4.2 rather than pytorch 1.6, to be specific, I use the command line in the instruction guide, which I attached below
wget https://nvidia.box.com/shared/static/1v2cc4ro6zvsbu0p8h6qcuaqco1qcsif.whl -O torch-1.4.0-cp27-cp27mu-linux_aarch64.whl
sudo apt-get install libopenblas-base libopenmpi-dev
pip install future torch-1.4.0-cp27-cp27mu-linux_aarch64.whl
Hi @jiangwei.wang, the error withnvidia-l4t-bootloader package that you are encountering is unrelated to PyTorch. Are you using the TX2 devkit, or TX2 on a different carrier board? See this thread for more info: