You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2021/04/02 17:23:37 UTC
[incubator-mxnet] branch v1.x updated: [v1.x][CD] Fix CD cu102 110
112 cuda compatibility (#20116)
This is an automated email from the ASF dual-hosted git repository.
zha0q1 pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.x by this push:
new 11debf4 [v1.x][CD] Fix CD cu102 110 112 cuda compatibility (#20116)
11debf4 is described below
commit 11debf4415ba7c464aa6c1add4866ce5fb692629
Author: Zhaoqi Zhu <zh...@gmail.com>
AuthorDate: Fri Apr 2 10:21:27 2021 -0700
[v1.x][CD] Fix CD cu102 110 112 cuda compatibility (#20116)
* remove cuda compat
* add back ci/docker/
---
ci/docker/Dockerfile.build.ubuntu_gpu_cu102 | 5 -----
ci/docker/Dockerfile.build.ubuntu_gpu_cu110 | 5 -----
ci/docker/Dockerfile.build.ubuntu_gpu_cu112 | 1 -
3 files changed, 11 deletions(-)
diff --git a/ci/docker/Dockerfile.build.ubuntu_gpu_cu102 b/ci/docker/Dockerfile.build.ubuntu_gpu_cu102
index 845a58d..b0963060 100644
--- a/ci/docker/Dockerfile.build.ubuntu_gpu_cu102
+++ b/ci/docker/Dockerfile.build.ubuntu_gpu_cu102
@@ -69,10 +69,6 @@ ENV CUDNN_VERSION=8.0.4.30
COPY install/ubuntu_cudnn.sh /work/
RUN /work/ubuntu_cudnn.sh
-# update the cuda compatibity package because cd host uses nvidia driver 460
-RUN apt-get update && apt-get install -y cuda-compat-11-2
-RUN ln -sfn /usr/local/cuda-11.2 /usr/local/cuda
-
# Always last
ARG USER_ID=0
ARG GROUP_ID=0
@@ -82,4 +78,3 @@ RUN /work/ubuntu_adduser.sh
COPY runtime_functions.sh /work/
WORKDIR /work/mxnet
-ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/compat
diff --git a/ci/docker/Dockerfile.build.ubuntu_gpu_cu110 b/ci/docker/Dockerfile.build.ubuntu_gpu_cu110
index db5138b..923c069 100644
--- a/ci/docker/Dockerfile.build.ubuntu_gpu_cu110
+++ b/ci/docker/Dockerfile.build.ubuntu_gpu_cu110
@@ -32,10 +32,6 @@ COPY install/ubuntu_python.sh /work/
COPY install/requirements /work/
RUN /work/ubuntu_python.sh
-# update the cuda compatibity package because cd host uses nvidia driver 460
-RUN apt-get update && apt-get install -y cuda-compat-11-2
-RUN ln -sfn /usr/local/cuda-11.2 /usr/local/cuda
-
# Always last
ARG USER_ID=0
ARG GROUP_ID=0
@@ -45,4 +41,3 @@ RUN /work/ubuntu_adduser.sh
COPY runtime_functions.sh /work/
WORKDIR /work/mxnet
-ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/compat
diff --git a/ci/docker/Dockerfile.build.ubuntu_gpu_cu112 b/ci/docker/Dockerfile.build.ubuntu_gpu_cu112
index 7fe0bce..f45ceed 100644
--- a/ci/docker/Dockerfile.build.ubuntu_gpu_cu112
+++ b/ci/docker/Dockerfile.build.ubuntu_gpu_cu112
@@ -41,4 +41,3 @@ RUN /work/ubuntu_adduser.sh
COPY runtime_functions.sh /work/
WORKDIR /work/mxnet
-ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/compat