Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
mingzailao | 6b68a607ae | |
mingzailao | 53cdf75b23 | |
mingzailao | 9ef92c2b2a | |
mingzailao | eff9035e29 | |
mingzailao | 4f66e712e7 | |
mingzailao | 7a0e70717a | |
mingzailao | 862d8f0102 | |
mingzailao | ff4614b7b4 |
|
@ -0,0 +1 @@
|
|||
torch-whl/
|
14
Dockerfile
14
Dockerfile
|
@ -1,7 +1,15 @@
|
|||
FROM mingzailao/cuda:11.3.1-cudnn8-devel-ubuntu20.04
|
||||
|
||||
RUN pip3 install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
|
||||
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 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