Compare commits

..

2 Commits
v1.6 ... v1.9

Author SHA1 Message Date
mingzailao a178e81265 no message 2023-11-30 17:57:53 +08:00
mingzailao b09c5de59b no messaqge 2023-11-19 16:31:52 +08:00
1 changed files with 5 additions and 7 deletions

View File

@ -1,15 +1,13 @@
FROM mingzailao/cuda:10.1-cudnn7-devel-ubuntu18.04
FROM mingzailao/cuda:10.2-cudnn8-devel-ubuntu18.04
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.9.0+cu102-cp38-cp38-linux_x86_64.whl /torch-whl/torch-1.9.0+cu102-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torch-1.9.0+cu102-cp38-cp38-linux_x86_64.whl
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