Compare commits

...

4 Commits
v1.6 ... v1.7

Author SHA1 Message Date
mingzailao bba6f2c538 no message 2023-11-19 16:29:02 +08:00
mingzailao 888b97f148 sa 2023-11-19 15:39:00 +08:00
mingzailao 41318cef42 sda 2023-06-29 20:04:25 +08:00
mingzailao d887a0db8b sad 2023-05-25 15:23:48 +08:00
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM mingzailao/cuda:11.7.0-cudnn8-devel-ubuntu18.04 FROM mingzailao/cuda:10.1-cudnn7-devel-ubuntu18.04
RUN rm /usr/bin/python3 RUN rm /usr/bin/python3
RUN ln -s /usr/bin/python3.8 /usr/bin/python3 RUN ln -s /usr/bin/python3.8 /usr/bin/python3
@ -6,12 +6,12 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
RUN apt-get install build-essential libatlas-base-dev gfortran -y RUN apt-get install build-essential libatlas-base-dev gfortran -y
RUN pip3 install Cython RUN pip3 install Cython
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
COPY ./torch-whl/torch-1.13.1+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torch-1.13.1+cu117-cp38-cp38-linux_x86_64.whl
COPY ./torch-whl/torchvision-0.14.1+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torchvision-0.14.1+cu117-cp38-cp38-linux_x86_64.whl
COPY ./torch-whl/torchaudio-0.13.1+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torchaudio-0.13.1+cu117-cp38-cp38-linux_x86_64.whl COPY ./torch-whl/torch-1.7.0+cu101-cp38-cp38-linux_x86_64.whl /torch-whl/torch-1.7.0+cu101-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torch-1.13.1+cu117-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torchvision-0.14.1+cu117-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torchaudio-0.13.1+cu117-cp38-cp38-linux_x86_64.whl RUN pip3 install ./torch-whl/torch-1.7.0+cu101-cp38-cp38-linux_x86_64.whl