Wrong instructions in Installing PyTorch for Jetson Platform

Your “Installing PyTorch for Jetson Platform” guide at Installing PyTorch for Jetson Platform :: NVIDIA Deep Learning Frameworks Documentation, has this step:

export TORCH_INSTALL=https://developer.download.nvidia.cn/compute/redist/jp/v502/pytorch/1.13.0a0+936e930.nv22.11

This URL doesn’t exist. Here is the contents of https://developer.download.nvidia.com/compute/redist/jp/v502/pytorch/:

torch-1.13.0a0+08820cb0.nv22.07-cp38-cp38-linux_aarch64.whl
torch-1.13.0a0+936e9305.nv22.11-cp38-cp38-linux_aarch64.whl
torch-1.13.0a0+d0d6b1f2.nv22.09-cp38-cp38-linux_aarch64.whl
torch-1.13.0a0+d0d6b1f2.nv22.10-cp38-cp38-linux_aarch64.whl
torch-1.13.0a0+d0d6b1f2.nv22.10-cp38-cp38-linux_x86_64.whl

Additionally, this line misses a semicolon:

python3 -m pip install --upgrade pip; python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3' export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL

should be:

python3 -m pip install --upgrade pip; python3 -m pip install aiohttp numpy=='1.19.4' scipy=='1.5.3'; export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL
2 Likes

Hi,

Thanks for reporting this.
Will share this information with our internal team to correct the command.

Thanks.

Has the command been fixed now? I can’t install pytorch on xavier nx due to the same issue.

Hi,

Please update the file name as follows.

For example:

$ export TORCH_INSTALL=https://developer.download.nvidia.cn/compute/redist/jp/v502/pytorch/torch-1.13.0a0+410ce96a.nv22.12-cp38-cp38-linux_aarch64.whl
$ python3 -m pip install --no-cache $TORCH_INSTALL

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.