Skip to content

Commit 8fda9c6

Browse files
committed
update and test serving
Signed-off-by: Srikanth Ramakrishna <srikanth.ramakrishna@intel.com>
1 parent d945596 commit 8fda9c6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pytorch/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ RUN apt-get update && \
169169

170170
RUN rm -rf /etc/apt/sources.list.d/intel-gpu-jammy.list
171171

172-
ENV LD_LIBRARY_PATH=/opt/intel/oneapi/redist/lib:$LD_LIBRARY_PATH
172+
ENV OCL_ICD_VENDORS=/etc/OpenCL/vendors
173173

174174
FROM ipex-xpu-base AS ipex-xpu-base-wheels-pip
175175

pytorch/serving/model-archive/ipex_squeezenet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
# pylint: skip-file
2929

30-
import intel_extension_for_pytorch as ipex
3130
import torch
31+
import intel_extension_for_pytorch as ipex
3232
import torchvision.models as models
3333

3434
# load the model

pytorch/serving/torchserve-xpu-requirements.txt

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
torch==2.1.0.post3+cxx11.abi
2-
torchvision==0.16.0.post3+cxx11.abi
3-
torchaudio==2.1.0.post3+cxx11.abi
4-
intel_extension_for_pytorch==2.1.40+xpu
1+
torch==2.3.1+cxx11.abi
2+
torchvision==0.18.1+cxx11.abi
3+
torchaudio==2.3.1+cxx11.abi
4+
intel_extension_for_pytorch==2.3.110+xpu
55
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us
6-
setuptools==69.5.1
76
numpy==1.26.4
87
captum>=0.7.0
98
cython>=3.0.10

0 commit comments

Comments
 (0)