Skip to main content
NVIDIA
PyTorch
Container
NVIDIA
PyTorch

PyTorch is a GPU accelerated tensor computational framework. Functionality can be extended with common Python libraries such as NumPy and SciPy. Automatic differentiation is done with a tape-based system at the functional and neural network layer levels.

  • LayerLabelCreated
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
    com.nvidia.build.ref=3561108f6296fbe6ddb606a26a40a2e8bea97458
    08/16/2021 10:50 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_REF
    08/16/2021 10:50 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
    com.nvidia.build.id=26011915
    08/16/2021 10:50 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    NVIDIA_BUILD_ID=26011915
    08/16/2021 10:50 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_ID
    08/16/2021 10:50 PM UTC
    sha256:ae6ba689ee3efa89d090e41137d33d2099972a8f14911d964a3c941c460adfc2RUN
    NVIDIA_PYTORCH_VERSION=21.08 PYTORCH_BUILD_VERSION=1.10.0a0+3fd9dcf PYVER=3.8 mkdir -p /opt/dlprof &&
      mkdir -p /opt/dlprof_viewer_install &&
      cp /nvidia/tmp/pip/* /opt/dlprof_viewer_install/ &&
      cp /nvidia/opt/dlprof/bin/dlprof /opt/dlprof/ &&
      cp /nvidia/workspace/LICENSE /opt/dlprof/ &&
      cp /nvidia/workspace/README.md /opt/dlprof/ &&
      ln -sf /opt/dlprof/dlprof /usr/local/bin/dlprof &&
      cd /nvidia/opt/dlprof/bin/ &&
      pip install --no-cache-dir nvidia_dlprof_pytorch_nvtx* &&
      cd /opt/dlprof_viewer_install &&
      pip install --no-cache-dir nvidia_dlprofviewer-* &&
      rm -rf /opt/conda/lib/python3.8/site-packages/qa
    08/16/2021 10:50 PM UTC
    sha256:c910dd629ec91ebbb69bf24eb69e3160b39431decda9587e6d40cac92879a55cRUN
    NVIDIA_PYTORCH_VERSION=21.08 PYTORCH_BUILD_VERSION=1.10.0a0+3fd9dcf PYVER=3.8 pip install --no-cache-dir --extra-index-url https://pypi.ngc.nvidia.com --extra-index-url https://tensorrt-read-only:Tensorrt\@123@urm.nvidia.com/artifactory/api/pypi/sw-tensorrt-pypi/simple polygraphy pytorch-quantization
    08/16/2021 10:50 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    PATH=/opt/conda/bin:/opt/cmake-3.14.6-Linux-x86_64/bin/:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin:/opt/tensorrt/bin
    08/16/2021 10:49 PM UTC
    sha256:474d5001000365fa864e7ebf25db14a9e6db09d4279c5f7186dc1f2b0b8c4408RUN
    NVIDIA_PYTORCH_VERSION=21.08 PYTORCH_BUILD_VERSION=1.10.0a0+3fd9dcf PYVER=3.8 URL=$(VERIFY=1 /nvidia/build-scripts/installTRT.sh 2>/dev/null | sed -n "s/^.*\(http.*\)deb.*$/\1/p")tar &&
      FILE=$(wget -O - $URL 2>/dev/null | sed -n 's/^.*href="\(TensorRT[^"]*\)".*$/\1/p' | grep -v internal) &&
      wget --quiet $URL/$FILE -O - | tar -xz &&
      PY=$(python -c 'import sys; print(str(sys.version_info[0])+str(sys.version_info[1]))') &&
      pip install TensorRT-*/python/tensorrt-*-cp$PY*.whl &&
      pip install TensorRT-*/graphsurgeon/graphsurgeon-*.whl &&
      pip install TensorRT-*/uff/uff-*.whl &&
      mv /usr/src/tensorrt /opt &&
      ln -s /opt/tensorrt /usr/src/tensorrt &&
      rm -r TensorRT-* &&
      UFF_PATH=$(pip show uff | sed -n 's/Location: \(.*\)$/\1/p')/uff &&
      sed -i 's/from tensorflow import GraphDef/from tensorflow.python import GraphDef/' $UFF_PATH/converters/tensorflow/conversion_helpers.py &&
      chmod +x ${UFF_PATH}/bin/convert_to_uff.py &&
      ln -sf ${UFF_PATH}/bin/convert_to_uff.py /usr/local/bin/convert-to-uff
    08/16/2021 10:49 PM UTC
    sha256:2846c18e802fc641ccb3f30298d27836bc5dc6509eb84d51e0ab4891bac48b07COPY
    NVIDIA_Deep_Learning_Container_License.pdf /workspace/
    08/16/2021 10: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.