Skip to content

Commit 0736481

Browse files
committed
update docs
Signed-off-by: Srikanth Ramakrishna <srikanth.ramakrishna@intel.com>
1 parent 618642d commit 0736481

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

pytorch/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,13 @@ The images below are [TorchServe*] with CPU Optimizations:
272272

273273
For more details, follow the procedure in the [TorchServe](https://github.com/pytorch/serve/blob/master/examples/intel_extension_for_pytorch/README.md) instructions.
274274

275+
The images below are [TorchServe*] with XPU Optimizations:
276+
277+
| Tag(s) | Pytorch | IPEX | Dockerfile |
278+
| ------------------- | -------- | ------------ | --------------- |
279+
| `2.3.110-serving-xpu` | [v2.3.1] | [v2.3.110+xpu] | [v0.4.0-Beta] |
280+
281+
275282
## CPU only images with Intel® Distribution for Python*
276283

277284
The images below are built only with CPU optimizations (GPU acceleration support was deliberately excluded) and include [Intel® Distribution for Python*]:

pytorch/serving/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ docker run --rm -it \
3939
-u root \
4040
-v $PWD:/home/model-server \
4141
--device /dev/dri \
42-
intel/intel-optimized-pytorch:2.1.40-serving-xpu \
42+
intel/intel-optimized-pytorch:2.3.110-serving-xpu \
4343
sh -c 'python model-archive/ipex_squeezenet.py && \
4444
torch-model-archiver --model-name squeezenet1_1 \
4545
--version 1.1 \
@@ -73,7 +73,7 @@ docker run -d --rm --name server \
7373
-v $PWD/config-xpu.properties:/home/model-server/config.properties \
7474
--net=host \
7575
--device /dev/dri \
76-
intel/intel-optimized-pytorch:2.1.40-serving-xpu
76+
intel/intel-optimized-pytorch:2.3.110-serving-xpu
7777
```
7878

7979
After lauching the container, follow the steps below:

pytorch/serving/wf-store/rest-test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ apt-get -y install curl
3333

3434
curl --fail -X GET http://localhost:8080/ping
3535

36-
cd ../model-store || exit
36+
cd /home/model-server/model-store || exit
3737
curl --fail -O https://torchserve.pytorch.org/mar_files/cat_dog_classification.mar
3838
curl --fail -O https://torchserve.pytorch.org/mar_files/dog_breed_classification.mar
3939
curl --fail -X POST "http://127.0.0.1:8081/models?url=cat_dog_classification.mar"
4040
curl --fail -X POST "http://127.0.0.1:8081/models?url=dog_breed_classification.mar"
4141

42-
cd ../wf-store || exit
42+
cd /home/model-server/wf-store || exit
4343
curl --fail -X POST "http://127.0.0.1:8081/workflows?url=dog_breed_wf.war"
4444

4545
curl --fail -O https://raw.githubusercontent.com/pytorch/serve/master/examples/Workflows/dog_breed_classification/model_input/Cat.jpg

0 commit comments

Comments
 (0)