Support LNL Windows release (#12169)

* Release for LNL on Windows

* Temp commit for release test

* Change option name

* Remove temp commit and change option name

* temp commit for test again

* Remove temp commit
This commit is contained in:
Yuwen Hu 2024-10-09 17:41:10 +08:00 committed by GitHub
parent 78d253165d
commit aef1f671bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -295,6 +295,15 @@ def setup_package():
# default to ipex 2.1 for linux and windows # default to ipex 2.1 for linux and windows
xpu_requires = copy.deepcopy(xpu_21_requires) xpu_requires = copy.deepcopy(xpu_21_requires)
xpu_lnl_requires = copy.deepcopy(all_requires)
for exclude_require in cpu_torch_version:
xpu_lnl_requires.remove(exclude_require)
xpu_lnl_requires += ["torch==2.3.1+cxx11.abi",
"torchvision==0.18.1+cxx11.abi",
"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]
cpp_requires = ["bigdl-core-cpp==" + CORE_XE_VERSION, cpp_requires = ["bigdl-core-cpp==" + CORE_XE_VERSION,
"onednn-devel==2024.2.1;platform_system=='Windows'"] "onednn-devel==2024.2.1;platform_system=='Windows'"]
@ -334,6 +343,7 @@ def setup_package():
"xpu": xpu_requires, # default to ipex 2.1 for linux and windows "xpu": xpu_requires, # default to ipex 2.1 for linux and windows
"npu": npu_requires, "npu": npu_requires,
"xpu-2-1": xpu_21_requires, "xpu-2-1": xpu_21_requires,
"xpu-lnl": xpu_lnl_requires,
"serving": serving_requires, "serving": serving_requires,
"cpp": cpp_requires, "cpp": cpp_requires,
"llama-index": llama_index_requires}, # for internal usage when upstreaming for llama-index "llama-index": llama_index_requires}, # for internal usage when upstreaming for llama-index