Compare commits

..

1 Commits
v1.6 ... v1.10

Author SHA1 Message Date
mingzailao d08e684997 no message 2023-03-14 13:57:37 +08:00
2 changed files with 3 additions and 12 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
torch-whl/

View File

@ -1,15 +1,7 @@
FROM mingzailao/cuda:10.1-cudnn7-devel-ubuntu18.04
FROM mingzailao/cuda:11.3.1-cudnn8-devel-ubuntu20.04
RUN pip3 install torch==1.10.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
RUN rm /usr/bin/python3
RUN ln -s /usr/bin/python3.8 /usr/bin/python3
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN apt-get install build-essential libatlas-base-dev gfortran -y
RUN pip3 install Cython
RUN pip3 install --upgrade pip
COPY ./torch-whl/torch-1.6.0+cu101-cp38-cp38-linux_x86_64.whl /torch-whl/torch-1.6.0+cu101-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torch-1.6.0+cu101-cp38-cp38-linux_x86_64.whl