NVIDIA
NVIDIA
PyTorch
Container
NVIDIA
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=47af9878a32b9be6133e82d382f9922f4f1d35e0
    07/23/2021 8:40 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_REF
    07/23/2021 8:40 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4LABEL
    com.nvidia.build.id=25165078
    07/23/2021 8:40 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ENV
    NVIDIA_BUILD_ID=25165078
    07/23/2021 8:40 AM UTC
    sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4ARG
    NVIDIA_BUILD_ID
    07/23/2021 8:40 AM UTC
    sha256:05c1ab0ce8907c6e5030022520cd2a2647645c97d22acdcde0e4bcc2f48ae49eRUN
    NVIDIA_PYTORCH_VERSION=21.07 PYTORCH_BUILD_VERSION=1.10.0a0+ecc3718 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
    07/23/2021 8:40 AM UTC
    sha256:b53359dc347133cb061dea9e3b565d964813a29abc0ed8a3bb4e6e8bc0b8d066RUN
    NVIDIA_PYTORCH_VERSION=21.07 PYTORCH_BUILD_VERSION=1.10.0a0+ecc3718 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
    07/23/2021 8:40 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
    07/23/2021 8:40 AM UTC
    sha256:c496404f904b4f0db90d06c776320efa0b60764444477696faf18df23d0365bdRUN
    NVIDIA_PYTORCH_VERSION=21.07 PYTORCH_BUILD_VERSION=1.10.0a0+ecc3718 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
    07/23/2021 8:40 AM UTC
    sha256:ab660418cc663f037f05a0fad7633d4670022387977e523725fc6bdd0091656bCOPY
    NVIDIA_Deep_Learning_Container_License.pdf /workspace/
    07/23/2021 8:40 AM UTC
    ...