This is my solution of this question.
My sequence of actions:
1.Anaconda installation:
Clicked on:
Archiconda3-0.2.3-Linux-aarch64.sh
It downloaded to /Download folder
In terminal:
gerardg@Nvidia:~$ cd Downloads
gerardg@Nvidia:~/Downloads$ bash Archiconda3-0.2.3-Linux-aarch64.sh
@yannickdeicaza
I see a bash shell at Archiconda With just conda-forge
I have HDF5 tools installed.
Do you know of any requirements beyond that?
Could you please provide a procedure to install it?
Thank you.
To answer my own question, I went to this link:
Clicked on:
Archiconda3-0.2.3-Linux-aarch64.sh
It downloaded to /Download folder
In terminal:
gerardg@Nvidia:~$ cd Downloads
gerardg@Nvidia:~/Downloads$ bash Archiconda3-0.2.3-Linux-aarch64.sh
(I installed anaconda to create virtual environment)
JetPack installation:
1.sudo apt dist-upgrade
2.sudo apt update
3.sudo apt-get install nvidia-container
4.sudo apt-get install nvidia-jetpack
(As a result i intalled jetpack 4.6.1; if you have other version of jetpack you also need other pytorch version (most likely); in this situation my sequence of actions wont work)
https://docs.nvidia.com/jetson/jetpack/install-jetpack/index.html
(Next step couldn’t be completed without JetPack)
Pytorch installation:
1.conda create -n pytorch3.6 -c conda-forge python=3.6
2.conda activate pytorch3.6
3.pip install --upgrade pip
Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer.
Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the pre-built l4t-pytorch and l4t-ml container images and Dockerfiles .
PyTorch pip wheels
JetPack 5
PyTo…
4.wget https://nvidia.box.com/shared/static/p57jwntv436lfrd78inwl7iml6p13fzh.whl -O torch-1.8.0-cp36-cp36m-linux_aarch64.whl
5 .sudo apt-get install python3-pip libopenblas-base libopenmpi-dev libomp-dev
6.sudo apt-get install libomp5 (: I installed libomp5 because I had errors, associated with requirement problems)
7.pip3 install Cython
pip3 install numpy torch-1.8.0-cp36-cp36m-linux_aarch64.whl
9.pip install Pillow (Optional: I installed Pillow to work with images)
10.pip install cmake (Optional: I installed cmake because I had errors, associated with requirement problems)
pip3 install numpy torch-1.8.0-cp36-cp36m-linux_aarch64.whl
12.Test:
1.python
2.import torch
3.print(torch.version )
4.print('CUDA available: ’ + str(torch.cuda.is_available()))
(If CUDA is available installation completed successfully)
python3 -m pip install opencv-python==4.6.0.66 –verbose
(I installed specific version to solve problem with infinite wheels building)
Hello.I tried to install Pytorch to execute my programm on gpu, but i couldnt.
I used instructions:
https://docs.nvidia.com/deeplearning/frameworks/install-pytorch-jetson-platform/index.html
Sequence of my actions:
sudo apt-get -y update;
2.sudo apt-get -y install autoconf bc build-essential g+±8 gcc-8 clang-8 lld-8 gettext-base gfortran-8 iputils-ping libbz2-dev libc+±dev libcgal-dev libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblzma-dev libncurses5-dev libncursesw5-dev libpng-d…
Hello.I tried to install Pytorch to execute my programm on gpu, but i couldnt.
I used instructions:
https://docs.nvidia.com/deeplearning/frameworks/install-pytorch-jetson-platform/index.html
Sequence of my actions:
sudo apt-get -y update;
2.sudo apt-get -y install autoconf bc build-essential g+±8 gcc-8 clang-8 lld-8 gettext-base gfortran-8 iputils-ping libbz2-dev libc+±dev libcgal-dev libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblzma-dev libncurses5-dev libncursesw5-dev libpng-d…