mingzailao 2023-05-25 15:23:48 +08:00
parent eff9035e29
commit d887a0db8b
1 changed files with 6 additions and 6 deletions

View File

@ -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 pip3 install Cython
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
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
COPY ./torch-whl/torch-2.0.0+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torch-2.0.0+cu117-cp38-cp38-linux_x86_64.whl
COPY ./torch-whl/torchvision-0.15.1+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torchvision-0.15.1+cu117-cp38-cp38-linux_x86_64.whl
COPY ./torch-whl/torchaudio-2.0.1+cu117-cp38-cp38-linux_x86_64.whl /torch-whl/torchaudio-2.0.1+cu117-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torch-2.0.0+cu117-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torchvision-0.15.1+cu117-cp38-cp38-linux_x86_64.whl
RUN pip3 install ./torch-whl/torchaudio-2.0.1+cu117-cp38-cp38-linux_x86_64.whl