Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docker/Dockerfile.prebuilt
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ RUN ${PYTHON} -m pip --no-cache-dir install --upgrade \
# Some TF tools expect a "python" binary
RUN ln -s $(which ${PYTHON}) /usr/local/bin/python

ARG IPEX_VERSION=2.3.100
ARG PYTORCH_VERSION=2.3.0
ARG TORCHAUDIO_VERSION=2.3.0
ARG TORCHVISION_VERSION=0.18.0
ARG TORCH_CPU_URL=https://download.pytorch.org/whl/cpu/torch_stable.html
ARG IPEX_VERSION=2.4.0
ARG PYTORCH_VERSION=2.4.0
ARG TORCHAUDIO_VERSION=2.4.0
ARG TORCHVISION_VERSION=0.19.0
ARG TORCH_CPU_URL=https://download.pytorch.org/whl/cpu/

RUN \
python -m pip install --no-cache-dir \
torch==${PYTORCH_VERSION}+cpu torchvision==${TORCHVISION_VERSION}+cpu torchaudio==${TORCHAUDIO_VERSION}+cpu -f ${TORCH_CPU_URL} && \
python -m pip install --extra-index-url ${TORCH_CPU_URL} --no-cache-dir \
torch==${PYTORCH_VERSION}+cpu torchvision==${TORCHVISION_VERSION}+cpu torchaudio==${TORCHAUDIO_VERSION}+cpu && \
python -m pip install --no-cache-dir \
intel_extension_for_pytorch==${IPEX_VERSION}

Expand Down
Loading