Skip to content

Commit

Permalink
[v.1x] Attempt to fix v1.x cd by installing new cuda compt package (a…
Browse files Browse the repository at this point in the history
…pache#19959)

* update cude compt for cd

* Update Dockerfile.build.ubuntu_gpu_cu102

* Update Dockerfile.build.ubuntu_gpu_cu102

* Update Dockerfile.build.ubuntu_gpu_cu110

* Update runtime_functions.sh

* Update Dockerfile.build.ubuntu_gpu_cu110

* Update Dockerfile.build.ubuntu_gpu_cu102
  • Loading branch information
Zha0q1 committed Feb 26, 2021
1 parent 8236e52 commit acb7df1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu102
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ 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
Expand Down
4 changes: 4 additions & 0 deletions ci/docker/Dockerfile.build.ubuntu_gpu_cu110
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ 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
Expand Down

0 comments on commit acb7df1

Please sign in to comment.