Compare commits

..

1 Commits
v1.6 ... v1.11

Author SHA1 Message Date
mingzailao cc96928741 no message 2023-12-04 01:50:29 -05:00
1 changed files with 9 additions and 5 deletions

View File

@ -1,15 +1,19 @@
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 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 pip3 install Cython
RUN pip3 install --upgrade pip
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
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