You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/07/06 18:18:27 UTC
[incubator-mxnet] branch master updated: [MXNET-613] Upgrade
jetpack to version 3.2.1 (#11494)
This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new ef820c1 [MXNET-613] Upgrade jetpack to version 3.2.1 (#11494)
ef820c1 is described below
commit ef820c1180b573e57abd9b8296996e7e18d36a86
Author: Kellen Sunderland <ke...@gmail.com>
AuthorDate: Fri Jul 6 20:18:19 2018 +0200
[MXNET-613] Upgrade jetpack to version 3.2.1 (#11494)
* [MXNET-613] Upgrade jetpack to version 3.2.1
* [MXNET-613] Treat ARM repo update failures as non-fatal
* [MXNET-613] Force architecture installation
---
ci/docker/Dockerfile.build.jetson | 18 +++++++++---------
ci/docker/install/deb_ubuntu_ccache.sh | 2 +-
ci/docker/install/ubuntu_arm.sh | 2 +-
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ci/docker/Dockerfile.build.jetson b/ci/docker/Dockerfile.build.jetson
index 9cacdc3..f3cf111 100755
--- a/ci/docker/Dockerfile.build.jetson
+++ b/ci/docker/Dockerfile.build.jetson
@@ -50,20 +50,20 @@ COPY --from=cudabuilder /usr/local/cuda /usr/local/cuda
ENV TARGET_ARCH aarch64
ENV TARGET_OS linux
-# Install ARM depedencies based on Jetpack 3.2
-RUN JETPACK_DOWNLOAD_PREFIX=http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/3.2GA/m892ki/JetPackL4T_32_b196/ && \
+# Install ARM depedencies based on Jetpack 3.2.1
+RUN JETPACK_DOWNLOAD_PREFIX=https://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/3.2.1/m8u2ki/JetPackL4T_321_b23 && \
ARM_CUDA_INSTALLER_PACKAGE=cuda-repo-l4t-9-0-local_9.0.252-1_arm64.deb && \
- ARM_CUDNN_INSTALLER_PACKAGE=libcudnn7_7.0.5.13-1+cuda9.0_arm64.deb && \
- ARM_CUDNN_DEV_INSTALLER_PACKAGE=libcudnn7-dev_7.0.5.13-1+cuda9.0_arm64.deb && \
+ ARM_CUDNN_INSTALLER_PACKAGE=libcudnn7_7.0.5.15-1+cuda9.0_arm64.deb && \
+ ARM_CUDNN_DEV_INSTALLER_PACKAGE=libcudnn7-dev_7.0.5.15-1+cuda9.0_arm64.deb && \
+ dpkg --add-architecture arm64 && \
wget -nv $JETPACK_DOWNLOAD_PREFIX/$ARM_CUDA_INSTALLER_PACKAGE && \
wget -nv $JETPACK_DOWNLOAD_PREFIX/$ARM_CUDNN_INSTALLER_PACKAGE && \
wget -nv $JETPACK_DOWNLOAD_PREFIX/$ARM_CUDNN_DEV_INSTALLER_PACKAGE && \
- dpkg -i $ARM_CUDA_INSTALLER_PACKAGE && \
+ dpkg -i --force-architecture $ARM_CUDA_INSTALLER_PACKAGE && \
apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub && \
- dpkg -i $ARM_CUDNN_INSTALLER_PACKAGE && \
- dpkg -i $ARM_CUDNN_DEV_INSTALLER_PACKAGE && \
- apt update -y && apt install -y unzip cuda-libraries-dev-9-0 libcudnn7-dev
-
+ dpkg -i --force-architecture $ARM_CUDNN_INSTALLER_PACKAGE && \
+ dpkg -i --force-architecture $ARM_CUDNN_DEV_INSTALLER_PACKAGE && \
+ apt update -y || true && apt install -y cuda-libraries-dev-9-0 libcudnn7-dev
ENV PATH $PATH:/usr/local/cuda/bin
ENV NVCCFLAGS "-m64"
ENV CUDA_ARCH "-gencode arch=compute_53,code=sm_53 -gencode arch=compute_62,code=sm_62"
diff --git a/ci/docker/install/deb_ubuntu_ccache.sh b/ci/docker/install/deb_ubuntu_ccache.sh
index 31cd5c8..c7cccbf 100755
--- a/ci/docker/install/deb_ubuntu_ccache.sh
+++ b/ci/docker/install/deb_ubuntu_ccache.sh
@@ -23,7 +23,7 @@ set -ex
pushd .
-apt update
+apt update || true
apt install -y \
libxslt1-dev \
docbook-xsl \
diff --git a/ci/docker/install/ubuntu_arm.sh b/ci/docker/install/ubuntu_arm.sh
index becb012..1e4f371 100755
--- a/ci/docker/install/ubuntu_arm.sh
+++ b/ci/docker/install/ubuntu_arm.sh
@@ -19,6 +19,6 @@
set -ex
-apt update
+apt update || true
apt install -y \
unzip