Compare commits

..

7 Commits
v1.11 ... v1.6

Author SHA1 Message Date
mingzailao 6b68a607ae sd 2023-11-19 15:28:06 +08:00
mingzailao 53cdf75b23 no message 2023-11-19 15:15:07 +08:00
mingzailao 9ef92c2b2a no message 2023-11-19 14:22:44 +08:00
mingzailao eff9035e29 no message 2023-05-25 13:59:23 +08:00
mingzailao 4f66e712e7 sdas 2023-05-04 16:47:07 +08:00
mingzailao 7a0e70717a sda 2023-03-28 15:52:06 +08:00
mingzailao 862d8f0102 sda 2023-03-14 13:32:10 +08:00
1 changed files with 5 additions and 9 deletions

View File

@ -1,19 +1,15 @@
FROM mingzailao/cuda:10.2-cudnn8-devel-ubuntu18.04
FROM mingzailao/cuda:10.1-cudnn7-devel-ubuntu18.04
RUN rm /usr/bin/python3
RUN ln -s /usr/bin/python3.8 /usr/bin/python3
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get install -y python3.8 python3-pip
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN apt-get install build-essential libatlas-base-dev gfortran -y
RUN pip install Cython
RUN pip install --upgrade pip
COPY ./torch-whl/torch-1.11.0+cu102-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.11.0+cu102-cp38-cp38-linux_x86_64.whl
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