Skip to content

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

Closed
@Disty0

Description

@Disty0

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

walkallen commented on Mar 12, 2025

@walkallen

same issue wait for solution

self-assigned this
on Mar 12, 2025
ZhaoqiongZ

ZhaoqiongZ commented on Mar 12, 2025

@ZhaoqiongZ
Contributor

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

Disty0 commented on Mar 13, 2025

@Disty0
Author

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

ZhaoqiongZ commented on Mar 14, 2025

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Dependency conflict between IPEX 2.6 XPU and PyTorch 2.6 XPU · Issue #793 · intel/intel-extension-for-pytorch