Skip to content

Commit 74eacc0

Browse files
authored
Update IPEX CPU toolchain to 2.5.0 version (#510)
Signed-off-by: Srikanth Ramakrishna <srikanth.ramakrishna@intel.com>
1 parent 58c9cfa commit 74eacc0

File tree

5 files changed

+27
-20
lines changed

5 files changed

+27
-20
lines changed

pytorch/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ The images below are built only with CPU optimizations (GPU acceleration support
7070

7171
| Tag(s) | Pytorch | IPEX | Dockerfile |
7272
| -------------------------- | -------- | ------------ | --------------- |
73-
| `2.4.0-pip-base`, `latest` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
73+
| `2.5.0-pip-base`, `latest` | [v2.5.0] | [v2.5.0+cpu] | [v0.4.0-Beta] |
74+
| `2.4.0-pip-base` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
7475
| `2.3.0-pip-base` | [v2.3.0] | [v2.3.0+cpu] | [v0.4.0-Beta] |
7576
| `2.2.0-pip-base` | [v2.2.0] | [v2.2.0+cpu] | [v0.3.4] |
7677
| `2.1.0-pip-base` | [v2.1.0] | [v2.1.0+cpu] | [v0.2.3] |
@@ -88,6 +89,7 @@ The images below additionally include [Jupyter Notebook](https://jupyter.org/) s
8889

8990
| Tag(s) | Pytorch | IPEX | Dockerfile |
9091
| ------------------- | -------- | ------------ | --------------- |
92+
| `2.5.0-pip-jupyter` | [v2.5.0] | [v2.5.0+cpu] | [v0.4.0-Beta] |
9193
| `2.4.0-pip-jupyter` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
9294
| `2.3.0-pip-jupyter` | [v2.3.0] | [v2.3.0+cpu] | [v0.4.0-Beta] |
9395
| `2.2.0-pip-jupyter` | [v2.2.0] | [v2.2.0+cpu] | [v0.3.4] |
@@ -269,6 +271,7 @@ The images below are [TorchServe*] with CPU Optimizations:
269271

270272
| Tag(s) | Pytorch | IPEX | Dockerfile |
271273
| ------------------- | -------- | ------------ | --------------- |
274+
| `2.5.0-serving-cpu` | [v2.5.0] | [v2.5.0+cpu] | [v0.4.0-Beta] |
272275
| `2.4.0-serving-cpu` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
273276
| `2.3.0-serving-cpu` | [v2.3.0] | [v2.3.0+cpu] | [v0.4.0-Beta] |
274277
| `2.2.0-serving-cpu` | [v2.2.0] | [v2.2.0+cpu] | [v0.3.4] |
@@ -287,6 +290,7 @@ The images below are built only with CPU optimizations (GPU acceleration support
287290

288291
| Tag(s) | Pytorch | IPEX | Dockerfile |
289292
| ---------------- | -------- | ------------ | --------------- |
293+
| `2.5.0-idp-base` | [v2.5.0] | [v2.5.0+cpu] | [v0.4.0-Beta] |
290294
| `2.4.0-idp-base` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
291295
| `2.3.0-idp-base` | [v2.3.0] | [v2.3.0+cpu] | [v0.4.0-Beta] |
292296
| `2.2.0-idp-base` | [v2.2.0] | [v2.2.0+cpu] | [v0.3.4] |
@@ -297,6 +301,7 @@ The images below additionally include [Jupyter Notebook](https://jupyter.org/) s
297301

298302
| Tag(s) | Pytorch | IPEX | Dockerfile |
299303
| ------------------- | -------- | ------------ | --------------- |
304+
| `2.5.0-idp-jupyter` | [v2.5.0] | [v2.5.0+cpu] | [v0.4.0-Beta] |
300305
| `2.4.0-idp-jupyter` | [v2.4.0] | [v2.4.0+cpu] | [v0.4.0-Beta] |
301306
| `2.3.0-idp-jupyter` | [v2.3.0] | [v2.3.0+cpu] | [v0.4.0-Beta] |
302307
| `2.2.0-idp-jupyter` | [v2.2.0] | [v2.2.0+cpu] | [v0.3.4] |
@@ -404,6 +409,7 @@ It is the image user's responsibility to ensure that any use of The images below
404409
[v2.1.10+xpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.1.10%2Bxpu
405410
[v2.0.110+xpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.0.110%2Bxpu
406411
412+
[v2.5.0]: https://github.com/pytorch/pytorch/releases/tag/v2.5.0
407413
[v2.4.0]: https://github.com/pytorch/pytorch/releases/tag/v2.4.0
408414
[v2.3.0]: https://github.com/pytorch/pytorch/releases/tag/v2.3.0
409415
[v2.2.2]: https://github.com/pytorch/pytorch/releases/tag/v2.2.2
@@ -421,6 +427,7 @@ It is the image user's responsibility to ensure that any use of The images below
421427
[v2.3.1]: https://github.com/intel/neural-compressor/releases/tag/v2.3.1
422428
[v2.1.1]: https://github.com/intel/neural-compressor/releases/tag/v2.1.1
423429
430+
[v2.5.0+cpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.5.0%2Bcpu
424431
[v2.4.0+cpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.4.0%2Bcpu
425432
[v2.3.0+cpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.3.0%2Bcpu
426433
[v2.2.0+cpu]: https://github.com/intel/intel-extension-for-pytorch/releases/tag/v2.2.0%2Bcpu

pytorch/docker-compose.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ services:
2525
BASE_IMAGE_NAME: ${BASE_IMAGE_NAME:-ubuntu}
2626
BASE_IMAGE_TAG: ${BASE_IMAGE_TAG:-22.04}
2727
GITHUB_RUN_NUMBER: ${GITHUB_RUN_NUMBER:-0}
28-
IPEX_VERSION: ${IPEX_VERSION:-2.4.0}
28+
IPEX_VERSION: ${IPEX_VERSION:-2.5.0}
2929
MINIFORGE_VERSION: ${MINIFORGE_VERSION:-Linux-x86_64}
3030
NO_PROXY: ''
3131
PACKAGE_OPTION: ${PACKAGE_OPTION:-pip}
3232
PYTHON_VERSION: ${PYTHON_VERSION:-3.10}
33-
PYTORCH_VERSION: ${PYTORCH_VERSION:-2.4.0+cpu}
33+
PYTORCH_VERSION: ${PYTORCH_VERSION:-2.5.0+cpu}
3434
REGISTRY: ${REGISTRY}
3535
REPO: ${REPO}
36-
TORCHAUDIO_VERSION: ${TORCHAUDIO_VERSION:-2.4.0}
37-
TORCHVISION_VERSION: ${TORCHVISION_VERSION:-0.19.0}
36+
TORCHAUDIO_VERSION: ${TORCHAUDIO_VERSION:-2.5.0}
37+
TORCHVISION_VERSION: ${TORCHVISION_VERSION:-0.20.0}
3838
context: .
3939
labels:
4040
dependency.python: ${PYTHON_VERSION:-3.10}
@@ -43,29 +43,29 @@ services:
4343
org.opencontainers.base.name: "intel/python:3.10-core"
4444
org.opencontainers.image.name: "intel/intel-optimized-pytorch"
4545
org.opencontainers.image.title: "Intel® Extension for PyTorch Base Image"
46-
org.opencontainers.image.version: ${IPEX_VERSION:-2.4.0}-${PACKAGE_OPTION:-pip}-base
46+
org.opencontainers.image.version: ${IPEX_VERSION:-2.5.0}-${PACKAGE_OPTION:-pip}-base
4747
target: ipex-base-${PACKAGE_OPTION:-pip}
4848
command: >
4949
sh -c "python -c 'import torch; import intel_extension_for_pytorch as ipex; print(\"torch:\", torch.__version__, \" ipex:\",ipex.__version__)'"
5050
depends_on:
5151
- ${PACKAGE_OPTION:-pip}
52-
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.4.0}-base
52+
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.5.0}-base
5353
pull_policy: always
5454
jupyter:
5555
build:
5656
labels:
5757
dependency.python.pip: jupyter-requirements.txt
58-
org.opencontainers.base.name: "intel/intel-optimized-pytorch:${IPEX_VERSION:-2.4.0}-${PACKAGE_OPTION:-pip}-base"
58+
org.opencontainers.base.name: "intel/intel-optimized-pytorch:${IPEX_VERSION:-2.5.0}-${PACKAGE_OPTION:-pip}-base"
5959
org.opencontainers.image.title: "Intel® Extension for PyTorch Jupyter Image"
60-
org.opencontainers.image.version: ${IPEX_VERSION:-2.4.0}-${PACKAGE_OPTION:-pip}-jupyter
60+
org.opencontainers.image.version: ${IPEX_VERSION:-2.5.0}-${PACKAGE_OPTION:-pip}-jupyter
6161
target: jupyter
6262
command: >
6363
bash -c "python -m jupyter --version"
6464
environment:
6565
http_proxy: ${http_proxy}
6666
https_proxy: ${https_proxy}
6767
extends: ipex-base
68-
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.4.0}-jupyter
68+
image: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.5.0}-jupyter
6969
network_mode: host
7070
ports:
7171
- 8888:8888
@@ -118,7 +118,7 @@ services:
118118
docs: serving
119119
org.opencontainers.base.name: "intel/python:3.10-core"
120120
org.opencontainers.image.title: "Intel® Extension for PyTorch Serving Image"
121-
org.opencontainers.image.version: ${IPEX_VERSION:-2.4.0}-serving-cpu
121+
org.opencontainers.image.version: ${IPEX_VERSION:-2.5.0}-serving-cpu
122122
target: torchserve-cpu
123123
command: torchserve --version
124124
entrypoint: ""

pytorch/requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
torch==2.4.0+cpu
2-
torchvision==0.19.0+cpu
3-
torchaudio==2.4.0+cpu
1+
torch==2.5.0+cpu
2+
torchvision==0.20.0+cpu
3+
torchaudio==2.5.0+cpu
44
--extra-index-url https://download.pytorch.org/whl/cpu
5-
intel_extension_for_pytorch==2.4.0+cpu
5+
intel_extension_for_pytorch==2.5.0+cpu
66
--extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/

pytorch/serving/torchserve-requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ torch-model-archiver==0.12.0
77
torch-workflow-archiver==0.2.15
88
torchserve==0.12.0
99
torchtext==0.18.0+cpu
10-
torchvision==0.19.0
10+
torchvision==0.20.0
1111
-f https://pytorch-extension.intel.com/release-whl/stable/cpu/us/
12-
intel_extension_for_pytorch==2.4.0+cpu
12+
intel_extension_for_pytorch==2.5.0+cpu

pytorch/tests/tests.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
# limitations under the License.
1414

1515
import-ipex-cpu-${PACKAGE_OPTION:-pip}:
16-
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.4.0}-base
16+
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.5.0}-base
1717
cmd: python -c "import torch;import intel_extension_for_pytorch as ipex;print(f'torch {torch.__version__} ipex {ipex.__version__}')"
1818
import-ipex-xpu-${PACKAGE_OPTION:-pip}:
1919
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.3.110xpu}-xpu-base
2020
cmd: python -c "import torch; import intel_extension_for_pytorch as ipex;[print(f'[{i}] {torch.xpu.get_device_properties(i)}') for i in range(torch.xpu.device_count())];"
2121
device: ["/dev/dri"]
2222
import-cpu-jupyter-${PACKAGE_OPTION:-pip}:
23-
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.4.0}-jupyter
23+
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.5.0}-jupyter
2424
cmd: python -m jupyter --version
2525
import-xpu-jupyter-${PACKAGE_OPTION:-pip}:
2626
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.3.110xpu}-xpu-jupyter
2727
cmd: python -m jupyter --version
2828
device: ["/dev/dri"]
2929
ipex-cpu-${PACKAGE_OPTION:-pip}:
30-
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.4.0}-base
30+
img: ${REGISTRY}/${REPO}:b-${GITHUB_RUN_NUMBER:-0}-${BASE_IMAGE_NAME:-ubuntu}-${BASE_IMAGE_TAG:-22.04}-${PACKAGE_OPTION:-pip}-py${PYTHON_VERSION:-3.10}-ipex-${IPEX_VERSION:-2.5.0}-base
3131
cmd: python /tests/ipex-resnet50.py --ipex --device cpu --backend gloo
3232
volumes:
3333
- dst: /tests

0 commit comments

Comments
 (0)