Skip to content

Commit

Permalink
Update the docker to PT1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
EikanWang committed Feb 25, 2021
1 parent 64ea758 commit 9afd0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ RUN --mount=type=cache,target=/opt/ccache \
cd intel-extension-for-pytorch && git submodule sync && \
git submodule update --init --recursive && \
git clone https://github.com/pytorch/pytorch && \
cd pytorch && git checkout v1.5.1 && git submodule sync && \
cd pytorch && git checkout v1.7.0 && git submodule sync && \
git submodule update --init --recursive && \
git apply ../torch_patches/dpcpp-v1.5.1.patch && \
git apply ../torch_patches/xpu-1.7.patch && \
USE_MKLDNN=1 USE_CUDA=0 USE_NNPACK=0 USE_CUDNN=0 \
CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" pip install -v . && \
cd .. && pip install -v . && rm -rf *
Expand Down

0 comments on commit 9afd0df

Please sign in to comment.