Skip to content

Dependency conflict between IPEX 2.6 XPU and PyTorch 2.6 XPU #793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Disty0 opened this issue Mar 11, 2025 · 4 comments
Closed

Dependency conflict between IPEX 2.6 XPU and PyTorch 2.6 XPU #793

Disty0 opened this issue Mar 11, 2025 · 4 comments
Assignees
Labels

Comments

@Disty0
Copy link

Disty0 commented Mar 11, 2025

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

@walkallen
Copy link

same issue wait for solution

@ZhaoqiongZ ZhaoqiongZ self-assigned this Mar 12, 2025
@ZhaoqiongZ
Copy link
Contributor

ZhaoqiongZ commented 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

Image

In the next release, we will loosen the dependency requirements to fix this inconvenience.

@Disty0
Copy link
Author

Disty0 commented 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
Copy link
Contributor

we can leave this open till formal fix for the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants