Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
mingzailao | bba6f2c538 | |
mingzailao | 888b97f148 | |
mingzailao | 41318cef42 | |
mingzailao | d887a0db8b |
|
@ -1,6 +1,5 @@
|
|||
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
|
||||
|
@ -9,7 +8,11 @@ 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
|
||||
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.7.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