Meta
NVIDIA L4T PyTorch
Container
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:f84c639be180554d0c117358047ab273c0f7734b87ed1d74dc63f43981d48478RUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHAUDIO_VERSION=v0.10.0 TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 pip3 install --no-cache-dir --verbose pycuda six
    02/07/2022 11:37 PM UTC
    sha256:6360bef962dd6737d7f570230a11742a70879ed1c4ca325aef0ccf0e13b615e7RUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHAUDIO_VERSION=v0.10.0 TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 echo "$PATH" &&
      echo "$LD_LIBRARY_PATH"
    02/07/2022 11:32 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
    02/07/2022 11:31 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    PATH=/usr/local/cuda/bin:/usr/local/cuda-10.2/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    02/07/2022 11:31 PM UTC
    sha256:3d21f51710b4d2c1dc94044c86d04e599ac30a19d0e3c8d34a54ff3e66f105b2RUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHAUDIO_VERSION=v0.10.0 TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 git clone --recursive -b ${TORCHAUDIO_VERSION} https://github.com/pytorch/audio torchaudio &&
      cd torchaudio &&
      BUILD_SOX=1 python3 setup.py install &&
      cd ../ &&
      rm -rf torchaudio
    02/07/2022 11:31 PM UTC
    sha256:b9dc07c7c1ea566172772da3a1f0043d495cb4827f85b3c6b83cd438ab7ee3fbRUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHAUDIO_VERSION=v0.10.0 TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 pip3 install --no-cache-dir scikit-build &&
      pip3 install --no-cache-dir ninja &&
      pip3 install --no-cache-dir --verbose pysoundfile
    02/07/2022 11:16 PM UTC
    sha256:0d91c6dfa0c1685f177ef66df1212bec27a74134d2279c2513a7b8c94147246cRUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHAUDIO_VERSION=v0.10.0 TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 apt-get update &&
      apt-get install -y --no-install-recommends cmake pkg-config libffi-dev libsndfile1 &&
      rm -rf /var/lib/apt/lists/* &&
      apt-get clean
    02/07/2022 11:14 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    TORCHAUDIO_VERSION
    02/07/2022 11:14 PM UTC
    sha256:8b9584b02d69a4bff45b65693558577d4e17e4026b79cb0abc52d5bf6d162664RUN
    PILLOW_VERSION=pillow PYTORCH_URL=https://nvidia.box.com/shared/static/fjtbno0vpo676a25cgvuqc1wty0fkkg6.whl PYTORCH_WHL=torch-1.10.0-cp36-cp36m-linux_aarch64.whl TORCHVISION_VERSION=v0.11.1 TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake TORCH_CUDA_ARCH_LIST=5.3;6.2;7.2 echo "patching _GLIBCXX_USE_CXX11_ABI in ${TORCH_CMAKE_CONFIG}" &&
      echo "contents of ${TORCH_CMAKE_CONFIG} before patching..." &&
      cat ${TORCH_CMAKE_CONFIG} &&
      sed -i 's/  set(TORCH_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=")/  set(TORCH_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=0")/g' ${TORCH_CMAKE_CONFIG} &&
      echo "contents of ${TORCH_CMAKE_CONFIG} after patching..." &&
      cat ${TORCH_CMAKE_CONFIG}
    02/07/2022 11:14 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    TORCH_CMAKE_CONFIG=/usr/local/lib/python3.6/dist-packages/torch/share/cmake/Torch/TorchConfig.cmake
    02/07/2022 11:14 PM UTC

    NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.