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=13370fb9edc64ce0a2ef561b7c9e475294cb8660
    02/18/2021 5:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_REF
    02/18/2021 5:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
    com.nvidia.build.id=20138038
    02/18/2021 5:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    NVIDIA_BUILD_ID=20138038
    02/18/2021 5:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_ID
    02/18/2021 5:42 AM UTC
    sha256:9e2bc2f0ba875b16b23c3d16b666c30fe44eeb2ea15f396bdb6c6bca5b6941afRUN
    NVIDIA_PYTORCH_VERSION=21.02 PYTORCH_BUILD_VERSION=1.8.0a0+52ea372 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
    02/18/2021 5:42 AM 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
    02/18/2021 5:42 AM UTC
    sha256:6a5489f5c0b1a052f5d7a1f182d15395baf01865030ea3f1e72f950e63c087ffRUN
    NVIDIA_PYTORCH_VERSION=21.02 PYTORCH_BUILD_VERSION=1.8.0a0+52ea372 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
    02/18/2021 5:42 AM UTC
    sha256:3a74d3c8b83b1ee66e1c6341c18e060c91305c82c6cc26902c7063ffee78a4e5COPY
    NVIDIA_Deep_Learning_Container_License.pdf /workspace/
    02/18/2021 5:42 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENTRYPOINT
    /usr/local/bin/nvidia_entrypoint.sh
    02/18/2021 5:42 AM UTC
    ...