Skip to main content
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:9e4c2becc11eec830310dbd18763e7408f5f902803341f1ee384645dc6d8e49dRUN
    PILLOW_VERSION=pillow<7 PYTORCH_URL=https://nvidia.box.com/shared/static/017sci9z4a0xhtwrb4ps52frdfti9iw0.whl PYTORCH_WHL=torch-1.3.0-cp36-cp36m-linux_aarch64.whl TORCHVISION_VERSION=v0.4.2 pip3 install pycuda --verbose
    04/27/2020 8:39 PM UTC
    sha256:b9f819fbffed62e134acdd1f4c6605b226a9f8854fa83798cd3c9a6aed924f05RUN
    PILLOW_VERSION=pillow<7 PYTORCH_URL=https://nvidia.box.com/shared/static/017sci9z4a0xhtwrb4ps52frdfti9iw0.whl PYTORCH_WHL=torch-1.3.0-cp36-cp36m-linux_aarch64.whl TORCHVISION_VERSION=v0.4.2 echo "$PATH" &&
      echo "$LD_LIBRARY_PATH"
    04/27/2020 8:33 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
    04/27/2020 8:33 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
    04/27/2020 8:33 PM UTC
    sha256:5feb513d2ee88eb58944824a34a9cc540a00b98676045723f1b3e9ceaf77c557RUN
    PILLOW_VERSION=pillow<7 PYTORCH_URL=https://nvidia.box.com/shared/static/017sci9z4a0xhtwrb4ps52frdfti9iw0.whl PYTORCH_WHL=torch-1.3.0-cp36-cp36m-linux_aarch64.whl TORCHVISION_VERSION=v0.4.2 git clone -b ${TORCHVISION_VERSION} https://github.com/pytorch/vision torchvision &&
      cd torchvision &&
      python3 setup.py install &&
      cd ../ &&
      rm -rf torchvision &&
      pip3 install "${PILLOW_VERSION}"
    04/27/2020 8:33 PM UTC
    sha256:75084f54aeacaaf3130ee7e7095abff6f892c581fb1054df94500a04a164b9f2RUN
    PILLOW_VERSION=pillow<7 PYTORCH_URL=https://nvidia.box.com/shared/static/017sci9z4a0xhtwrb4ps52frdfti9iw0.whl PYTORCH_WHL=torch-1.3.0-cp36-cp36m-linux_aarch64.whl TORCHVISION_VERSION=v0.4.2 apt-get update &&
      apt-get install -y --no-install-recommends git build-essential libjpeg-dev zlib1g-dev &&
      rm -rf /var/lib/apt/lists/*
    04/27/2020 8:18 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    PILLOW_VERSION=pillow<7
    04/27/2020 8:18 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    TORCHVISION_VERSION=v0.4.0
    04/27/2020 8:18 PM UTC
    sha256:f5ebffd90d5749a8bf39d4edcbd555f868f5ef40facaa10cb39782fb78a11147RUN
    PYTORCH_URL=https://nvidia.box.com/shared/static/017sci9z4a0xhtwrb4ps52frdfti9iw0.whl PYTORCH_WHL=torch-1.3.0-cp36-cp36m-linux_aarch64.whl wget --quiet --show-progress --progress=bar:force:noscroll --no-check-certificate ${PYTORCH_URL} -O ${PYTORCH_WHL} &&
      pip3 install ${PYTORCH_WHL} --verbose &&
      rm ${PYTORCH_WHL}
    04/27/2020 8:18 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    PYTORCH_WHL=torch-1.2.0-cp36-cp36m-linux_aarch64.whl
    04/27/2020 6:49 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.