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=a76cb55e4697fc880bad58a76f8787db5ae87eac
    09/02/2021 9:11 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_REF
    09/02/2021 9:11 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
    com.nvidia.build.id=26760254
    09/02/2021 9:11 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    NVIDIA_BUILD_ID=26760254
    09/02/2021 9:11 PM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_ID
    09/02/2021 9:11 PM UTC
    sha256:7965eaff775516d296fb3cf48410c4e2220be10f78fb1f2a6078ca4a3ffb37c5RUN
    NVIDIA_PYTORCH_VERSION=21.09 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
    09/02/2021 9:11 PM UTC
    sha256:8c3cf95c036b7a23e1b3f2a9237ad2aa4dd080e08a04bf39a562ac7fb921370aRUN
    NVIDIA_PYTORCH_VERSION=21.09 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
    09/02/2021 9:11 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
    09/02/2021 9:11 PM UTC
    sha256:37340022fa45cee5bcd3ea6d6bd14be4c5541f58065c600939a9c3372be3edafRUN
    NVIDIA_PYTORCH_VERSION=21.09 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
    09/02/2021 9:11 PM UTC
    sha256:05e9e6fcf34251b8da38f25b1330f0518c9ad834e5b3055e6b82afc705476734COPY
    NVIDIA_Deep_Learning_Container_License.pdf /workspace/
    09/02/2021 9:11 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.