Skip to content

Commit

Permalink
Add option with PyTorch 2.6 RC version for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 committed Jan 7, 2025
1 parent f9ee789 commit b46adeb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/llm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,14 @@ def setup_package():
"bigdl-core-xe-addons-23==" + CORE_XE_VERSION,
"onednn-devel==2024.1.1;platform_system=='Windows'",
"onednn==2024.1.1;platform_system=='Windows'"]

xpu_26_requires = copy.deepcopy(all_requires)
for exclude_require in cpu_torch_version:
xpu_26_requires.remove(exclude_require)
xpu_26_requires += ["torch==2.6.0+xpu",
"torchvision==0.21.0+xpu",
"torchaudio==2.6.0+xpu",
"bigdl-core-xe-all==" + CORE_XE_VERSION]

cpp_requires = ["bigdl-core-cpp==" + CORE_XE_VERSION,
"onednn-devel==2024.2.1;platform_system=='Windows'",
Expand Down Expand Up @@ -363,6 +371,7 @@ def setup_package():
"xpu-lnl": xpu_lnl_requires,
"xpu-arl": xpu_lnl_requires,
"xpu-arc": xpu_lnl_requires,
"xpu-2-6": xpu_26_requires,
"serving": serving_requires,
"cpp": cpp_requires,
"cpp-arl": cpp_arl_requires,
Expand Down

0 comments on commit b46adeb

Please sign in to comment.