From ddcdf4753910d556fbc50a78ff9d6fe6272bddf7 Mon Sep 17 00:00:00 2001 From: Yuwen Hu <54161268+Oscilloscope98@users.noreply.github.com> Date: Fri, 11 Oct 2024 18:30:52 +0800 Subject: [PATCH] Support Windows ARL release (#12183) * Support release for ARL * Small fix * Small fix to doc * Temp for test * Remove temp commit for test --- docs/mddocs/Overview/install_gpu.md | 4 ++-- docs/mddocs/Quickstart/install_windows_gpu.md | 2 +- python/llm/setup.py | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/mddocs/Overview/install_gpu.md b/docs/mddocs/Overview/install_gpu.md index 639c49fa..8a993169 100644 --- a/docs/mddocs/Overview/install_gpu.md +++ b/docs/mddocs/Overview/install_gpu.md @@ -46,7 +46,7 @@ We recommend using [Miniforge](https://conda-forge.org/download/) to create a py The easiest ways to install `ipex-llm` is the following commands. -- For **Intel Core™ Ultra Series 2 (a.k.a. Lunar Lake) with Intel Arc™ Graphics**: +- For **Intel Core™ Ultra Series 2 with Intel Arc™ Graphics (a.k.a. Lunar Lake)**: Choose either US or CN website for `extra-index-url`: @@ -94,7 +94,7 @@ The easiest ways to install `ipex-llm` is the following commands. If you encounter network issues when installing IPEX, you can also install IPEX-LLM dependencies for Intel XPU from source archives. First you need to download and install torch/torchvision/ipex from wheels listed below before installing `ipex-llm`. -- For **Intel Core™ Ultra Series 2 (a.k.a. Lunar Lake) with Intel Arc™ Graphics**: +- For **Intel Core™ Ultra Series 2 with Intel Arc™ Graphics (a.k.a. Lunar Lake)**: Download the wheels on Windows system: diff --git a/docs/mddocs/Quickstart/install_windows_gpu.md b/docs/mddocs/Quickstart/install_windows_gpu.md index 0d90d999..f18d3578 100644 --- a/docs/mddocs/Quickstart/install_windows_gpu.md +++ b/docs/mddocs/Quickstart/install_windows_gpu.md @@ -47,7 +47,7 @@ conda activate llm With the `llm` environment active, use `pip` to install `ipex-llm` for GPU: -- For **Intel Core™ Ultra Series 2 (a.k.a. Lunar Lake) with Intel Arc™ Graphics**: +- For **Intel Core™ Ultra Series 2 with Intel Arc™ Graphics (a.k.a. Lunar Lake)**: Choose either US or CN website for `extra-index-url`: diff --git a/python/llm/setup.py b/python/llm/setup.py index 7169d75f..4f114f2a 100644 --- a/python/llm/setup.py +++ b/python/llm/setup.py @@ -276,11 +276,9 @@ def setup_package(): oneapi_2024_0_requires = ["dpcpp-cpp-rt==2024.0.2;platform_system=='Windows'", - "mkl-dpcpp==2024.0.0;platform_system=='Windows'", - "onednn==2024.0.0;platform_system=='Windows'"] + "mkl-dpcpp==2024.0.0;platform_system=='Windows'"] oneapi_2024_2_requires = ["dpcpp-cpp-rt==2024.2.1;platform_system=='Windows'", - "mkl-dpcpp==2024.2.1;platform_system=='Windows'", - "onednn==2024.2.1;platform_system=='Windows'"] + "mkl-dpcpp==2024.2.1;platform_system=='Windows'"] # Linux install with --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ xpu_21_requires = copy.deepcopy(all_requires) for exclude_require in cpu_torch_version: @@ -304,7 +302,8 @@ def setup_package(): "intel-extension-for-pytorch==2.3.110+xpu", "bigdl-core-xe-23==" + CORE_XE_VERSION, "bigdl-core-xe-batch-23==" + CORE_XE_VERSION, - "bigdl-core-xe-addons-23==" + CORE_XE_VERSION] + "bigdl-core-xe-addons-23==" + CORE_XE_VERSION, + "onednn-devel==2024.1.1;platform_system=='Windows'"] cpp_requires = ["bigdl-core-cpp==" + CORE_XE_VERSION, "onednn-devel==2024.2.1;platform_system=='Windows'"] @@ -345,6 +344,7 @@ def setup_package(): "npu": npu_requires, "xpu-2-1": xpu_21_requires, "xpu-lnl": xpu_lnl_requires, + "xpu-arl": xpu_lnl_requires, "serving": serving_requires, "cpp": cpp_requires, "llama-index": llama_index_requires}, # for internal usage when upstreaming for llama-index