no message
parent
ff4614b7b4
commit
cc96928741
|
@ -0,0 +1 @@
|
||||||
|
torch-whl/
|
16
Dockerfile
16
Dockerfile
|
@ -1,6 +1,18 @@
|
||||||
FROM mingzailao/cuda:11.3.1-cudnn8-devel-ubuntu20.04
|
FROM mingzailao/cuda:10.2-cudnn8-devel-ubuntu18.04
|
||||||
|
|
||||||
RUN pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --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 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue