corrected from: https://docs.nvidia.com/deeplearning/frameworks/install-pytorch-jetson-platform/index.html)
jetpack
. (This is not the same as installing the OS for Jetson): sudo apt install nvidia-jetpack
nvcc --version
cusparselt
:wget raw.githubusercontent.com/pytorch/pytorch/5c6af2b583709f6176898c017424dc9981023c28/.ci/docker/common/install_cusparselt.sh sudo -s # set CUDA version and install as root export CUDA_VERSION=12.1 # as an example. Use the version returned from ''nvcc --version'' bash ./install_cusparselt.sh
sudo pip install numpy==1.26.1
sudo pip3 install --no-cache http://<URL TO PYTORCH WHL>
onnxruntime
fails with message Invalid argument. Specify the number of threads explicitly
fix with one-time cli command: sudo nvpmodel -m 0
which forces the computer to with no throttlingtegrastats
might show load on GPU?tegrastats | cut -f 14 -d " "
shows % load on GPUSystem Throttled due to Over-current
by editing /usr/share/nvpmodel_indicator/nvpmodel_indicator.py