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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions