Skip to content

Commit

Permalink
set cuda version in Dockerfile.manylinux-cudaXXX
Browse files Browse the repository at this point in the history
  • Loading branch information
Yafen Fang committed Feb 22, 2023
1 parent 12562b0 commit cfb49ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.manylinux-cuda111
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM pytorch/manylinux-cuda111

RUN rm -rf /usr/local/cuda
RUN ln -s /usr/local/cuda-11.1 /usr/local/cuda

RUN yum install centos-release-scl-rh -y && yum install devtoolset-8-toolchain -y
RUN yum remove okay-release -y && yum install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm -y
RUN yum remove cmake3 -y && yum install cmake3 -y
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile.manylinux-cuda113
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM pytorch/manylinux-cuda113

RUN rm -rf /usr/local/cuda
RUN ln -s /usr/local/cuda-11.3 /usr/local/cuda

RUN yum install centos-release-scl-rh -y && yum install devtoolset-8-toolchain -y
RUN yum remove okay-release -y && yum install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm -y
RUN yum remove cmake3 -y && yum install cmake3 -y
Expand Down
4 changes: 4 additions & 0 deletions docker/Dockerfile.manylinux-cuda115
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM pytorch/manylinux-cuda115


RUN rm -rf /usr/local/cuda
RUN ln -s /usr/local/cuda-11.5 /usr/local/cuda

RUN yum install centos-release-scl-rh -y && yum install devtoolset-8-toolchain -y
RUN yum remove okay-release -y && yum install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm -y
RUN yum remove cmake3 -y && yum install cmake3 -y
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile.manylinux-cuda116
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM pytorch/manylinux-cuda116

RUN rm -rf /usr/local/cuda
RUN ln -s /usr/local/cuda-11.6 /usr/local/cuda

RUN yum install centos-release-scl-rh -y && yum install devtoolset-8-toolchain -y
RUN yum remove okay-release -y && yum install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm -y
RUN yum remove cmake3 -y && yum install cmake3 -y
Expand Down

0 comments on commit cfb49ec

Please sign in to comment.