File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -94,18 +94,21 @@ RUN ln -sf $(which ${PYTHON}) /usr/local/bin/python && \
9494
9595ARG TORCH_VERSION
9696ARG TORCHVISION_VERSION
97+ ARG TORCHAUDIO_VERSION
9798ARG IPEX_VERSION
9899ARG ONECCL_BIND_PT_VERSION
99100ARG TORCH_WHL_URL
100101ARG IPEX_WHL_URL
101102ARG TORCHVISION_WHL_URL
103+ ARG TORCHAUDIO_WHL_URL
102104ARG ONECCL_BIND_PT_WHL_URL
103105
104106RUN python -m pip install numpy
105107
106108RUN python -m pip install torch==${TORCH_VERSION} --extra-index-url ${TORCH_WHL_URL} && \
107109 python -m pip install intel_extension_for_pytorch==${IPEX_VERSION} --extra-index-url ${IPEX_WHL_URL} && \
108110 python -m pip install torchvision==${TORCHVISION_VERSION} --extra-index-url ${TORCHVISION_WHL_URL} && \
111+ python -m pip install torchaudio==${TORCHAUDIO_VERSION} --extra-index-url ${TORCHAUDIO_WHL_URL} && \
109112 python -m pip install oneccl_bind_pt==${ONECCL_BIND_PT_VERSION} --extra-index-url ${ONECCL_BIND_PT_WHL_URL}
110113
111114ENV LD_LIBRARY_PATH=/opt/intel/oneapi/lib:/opt/intel/oneapi/lib/intel64:$LD_LIBRARY_PATH
Original file line number Diff line number Diff line change @@ -18,9 +18,11 @@ if [[ ${IMAGE_NAME} != "" ]]; then
1818 --build-arg TORCH_VERSION=2.1.0a0+cxx11.abi \
1919 --build-arg IPEX_VERSION=2.1.10+xpu \
2020 --build-arg TORCHVISION_VERSION=0.16.0a0+cxx11.abi \
21+ --build-arg TORCHAUDIO_VERSION=2.1.0a0+cxx11.abi \
2122 --build-arg TORCH_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
2223 --build-arg IPEX_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
2324 --build-arg TORCHVISION_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
25+ --build-arg TORCHAUDIO_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
2426 --build-arg CCL_VER=2021.11.1-6 \
2527 --build-arg ONECCL_BIND_PT_VERSION=2.1.100 \
2628 --build-arg ONECCL_BIND_PT_WHL_URL=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ \
You can’t perform that action at this time.
0 commit comments