-
Notifications
You must be signed in to change notification settings - Fork 298
Closed
Labels
Description
Describe the issue
When installing Ipex xpu 2.6.10 for llm following the instruction. I got following error:
Successfully installed annotated-types-0.7.0 expecttest-0.1.6 iniconfig-2.0.0 pluggy-1.5.0 pydantic-2.10.6 pydantic-core-2.27.2 pytest-8.3.4 ruamel.yaml-0.18.6 ruamel.yaml.clib-0.2.12 scipy-1.15.2 tomli-2.2.1
Building Intel Extension for PyTorch. Version: 2.6.10+gitc48095b
running clean
Building Intel Extension for PyTorch. Version: 2.6.10+gitc48095b
Traceback (most recent call last):
File "/home/sdp/intel-extension-for-pytorch/setup.py", line 524, in <module>
create_version_files(
File "/home/sdp/intel-extension-for-pytorch/setup.py", line 382, in create_version_files
build_aot = get_build_aot()
File "/home/sdp/intel-extension-for-pytorch/setup.py", line 189, in get_build_aot
"USE_AOT_DEVLIST", ",".join(arch for arch in torch.xpu.get_arch_list())
AttributeError: module 'torch.xpu' has no attribute 'get_arch_list'
How to fix this?
Thanks.