Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
mingzailao | d08e684997 |
|
@ -1 +0,0 @@
|
|||
torch-whl/
|
14
Dockerfile
14
Dockerfile
|
@ -1,15 +1,7 @@
|
|||
FROM mingzailao/cuda:10.1-cudnn7-devel-ubuntu18.04
|
||||
FROM mingzailao/cuda:11.3.1-cudnn8-devel-ubuntu20.04
|
||||
|
||||
RUN pip3 install torch==1.10.1+cu113 --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 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.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
|
||||
|
|
Loading…
Reference in New Issue