Meta
Meta
NVIDIA L4T PyTorch
Container
Meta
Meta
NVIDIA L4T PyTorch

PyTorch is a GPU accelerated tensor computational framework with a Python front end. This container contains PyTorch and torchvision pre-installed in a Python 3 environment to get up & running quickly with PyTorch on Jetson.

LayerLabelCreated
sha256:e159154ecb01138e7df8ccaa4baa02e781a626ca6e5226f155606acc2e61a7e1RUN
OPENCV_DEB=OpenCV-4.5.0-aarch64.tar.gz OPENCV_URL=https://nvidia.box.com/shared/static/2hssa5g3v28ozvo3tc3qwxmn78yerca9.gz PYTORCH_URL=https://nvidia.box.com/shared/static/rehpfc4dwsxuhpv4jgqv8u6rzpgb64bq.whl PYTORCH_WHL=torch-2.0.0a0+ec3941ad.nv23.2-cp38-cp38-linux_aarch64.whl TORCHAUDIO_VERSION=v0.13.1 TORCHVISION_VERSION=v0.14.1 TORCH_CUDA_ARCH_LIST=7.2;8.7 pip3 install --no-cache-dir --verbose pycuda six
02/09/2023 7:56 PM UTC
sha256:a1e885b1890059fb69ab5efb0f0bbbea2ac36b052e511694ce5e9747fb856c36RUN
OPENCV_DEB=OpenCV-4.5.0-aarch64.tar.gz OPENCV_URL=https://nvidia.box.com/shared/static/2hssa5g3v28ozvo3tc3qwxmn78yerca9.gz PYTORCH_URL=https://nvidia.box.com/shared/static/rehpfc4dwsxuhpv4jgqv8u6rzpgb64bq.whl PYTORCH_WHL=torch-2.0.0a0+ec3941ad.nv23.2-cp38-cp38-linux_aarch64.whl TORCHAUDIO_VERSION=v0.13.1 TORCHVISION_VERSION=v0.14.1 TORCH_CUDA_ARCH_LIST=7.2;8.7 echo "$PATH" &&
  echo "$LD_LIBRARY_PATH"
02/09/2023 7:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib64:
02/09/2023 7:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
PATH=/usr/local/cuda/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
02/09/2023 7:53 PM UTC
sha256:f7cffb8e669c2a67b98e29b63b76da2544f8d742130c9b3accf7219d70ab6b5aRUN
OPENCV_DEB=OpenCV-4.5.0-aarch64.tar.gz OPENCV_URL=https://nvidia.box.com/shared/static/2hssa5g3v28ozvo3tc3qwxmn78yerca9.gz PYTORCH_URL=https://nvidia.box.com/shared/static/rehpfc4dwsxuhpv4jgqv8u6rzpgb64bq.whl PYTORCH_WHL=torch-2.0.0a0+ec3941ad.nv23.2-cp38-cp38-linux_aarch64.whl TORCHAUDIO_VERSION=v0.13.1 TORCHVISION_VERSION=v0.14.1 TORCH_CUDA_ARCH_LIST=7.2;8.7 cd /tmp &&
  ./opencv_install.sh ${OPENCV_URL} ${OPENCV_DEB}
02/09/2023 7:53 PM UTC
sha256:9029af33b5d898be03295954e07a571116b87692b98080c2ac5ec78bc04ec41fCOPY
file:498fecc8066c967b902ae0c60535ba1703a92606515d9c5f3f082e28ddc06b4d in /tmp/opencv_install.sh
02/09/2023 7:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
OPENCV_DEB=OpenCV-4.5.0-aarch64.tar.gz
02/09/2023 7:53 PM UTC
sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
OPENCV_URL=https://nvidia.box.com/shared/static/5v89u6g5rb62fpz4lh0rz531ajo2t5ef.gz
02/09/2023 7:53 PM UTC
sha256:b666c3392147c92f54c04cbbb15ecaaf0ed66f82aad3b5999c5de66e028f038aRUN
PYTORCH_URL=https://nvidia.box.com/shared/static/rehpfc4dwsxuhpv4jgqv8u6rzpgb64bq.whl PYTORCH_WHL=torch-2.0.0a0+ec3941ad.nv23.2-cp38-cp38-linux_aarch64.whl TORCHAUDIO_VERSION=v0.13.1 TORCHVISION_VERSION=v0.14.1 TORCH_CUDA_ARCH_LIST=7.2;8.7 git clone --recursive -b ${TORCHAUDIO_VERSION} https://github.com/pytorch/audio torchaudio &&
  cd torchaudio &&
  sed -i 's#  URL https://zlib.net/zlib-1.2.11.tar.gz#  URL https://zlib.net/zlib-1.2.12.tar.gz#g' third_party/zlib/CMakeLists.txt ||
  echo "failed to patch torchaudio/third_party/zlib/CMakeLists.txt" &&
  sed -i 's#  URL_HASH SHA256=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1#  URL_HASH SHA256=91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9#g' third_party/zlib/CMakeLists.txt ||
  echo "failed to patch torchaudio/third_party/zlib/CMakeLists.txt" &&
  BUILD_SOX=1 python3 setup.py install &&
  cd ../ &&
  rm -rf torchaudio
02/09/2023 7:53 PM UTC
sha256:fd2d18fde7a9e08f1bc217e3b9c63a10e13418fc4da70a9e2d31aa51b4be5ba5RUN
PYTORCH_URL=https://nvidia.box.com/shared/static/rehpfc4dwsxuhpv4jgqv8u6rzpgb64bq.whl PYTORCH_WHL=torch-2.0.0a0+ec3941ad.nv23.2-cp38-cp38-linux_aarch64.whl TORCHAUDIO_VERSION=v0.13.1 TORCHVISION_VERSION=v0.14.1 TORCH_CUDA_ARCH_LIST=7.2;8.7 pip3 install --no-cache-dir scikit-build &&
  pip3 install --no-cache-dir ninja &&
  pip3 install --no-cache-dir --verbose pysoundfile
02/09/2023 7:47 PM UTC