Closed
Description
Describe the bug
IPEX 2.6 XPU and PyTorch 2.6 XPU can't be installed in a single step or can't be in the same requirements.txt file because of a dependency conflict from different versions of intel-sycl-rt.
IPEX 2.6 XPU depends on intel-sycl-rt==2025.0.4
while PyTorch 2.6 XPU depends on intel-sycl-rt==2025.0.2
To reproduce:
pip install torch==2.6.0+xpu torchvision==0.21.0+xpu intel-extension-for-pytorch==2.6.10+xpu oneccl_bind_pt==2.6.0+xpu --index-url https://download.pytorch.org/whl/xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us --extra-index-url https://pypi.org/simple
Error message:
ERROR: Cannot install dpcpp-cpp-rt==2025.0.4 and torch==2.6.0+xpu because these package versions have conflicting dependencies.
The conflict is caused by:
torch 2.6.0+xpu depends on intel-sycl-rt==2025.0.2
dpcpp-cpp-rt 2025.0.4 depends on intel-sycl-rt==2025.0.4
Versions
Can't provide the collect_env.py output because IPEX 2.5 and above can't be imported on the latest Arch Linux: #794
Python: 3.12.9
OS: Arch Linux x86_64
Kernel: Linux 6.13.5-zen1-1-zen
Intel Compute Runtime: intel-compute-runtime-bin-25.05.32567.17-1
GPU: Intel Arc A770 LE 16 GB
Activity
walkallen commentedon Mar 12, 2025
same issue wait for solution
ZhaoqiongZ commentedon Mar 12, 2025
Hi @Disty0 @walkallen , thank you for pointing this out!
this is a known issue for v2.6.10+xpu. https://intel.github.io/intel-extension-for-pytorch/xpu/latest/tutorials/known_issues.html
In the next release, we will loosen the dependency requirements to fix this inconvenience.
Disty0 commentedon Mar 13, 2025
We can close this issue if it is already in the known issues.
It might also better to have this open so people with the same issue can click on this issue.
I will leave it to you to decide if we should close this or leave it open.
ZhaoqiongZ commentedon Mar 14, 2025
we can leave this open till formal fix for the next release