Skip to content

[oneAPI][backward compatibility] libur_loader.so.0: version `LIBUR_LOADER_0.11' not found #2349

@dvrogozh

Description

@dvrogozh

oneAPI claims adherence to semantic versioning and backward compatibility as per the following documents:

"New Intel oneAPI device drivers, oneAPI dynamic libraries, and oneAPI compilers will not break previously deployed applications built with oneAPI tools. Current APIs will not be removed or modified without notice and an iteration of the major version."

Unfortunately this does not hold true at the moment as can be demonstrated by installing pre-built PyTorch 2.8 (built against oneAPI 2025.1 release) and sourcing oneAPI 2025.2 environment:

$ pip install torch==2.8 --index-url https://download.pytorch.org/whl/xpu
$ pip install numpy
$ python -c "import torch; print(torch.xpu.is_available())"
True

$ . /opt/intel/oneapi/2025.2/oneapi-vars.sh
$ python -c "import torch; print(torch.xpu.is_available())"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/dvrogozh/pt2.8/lib/python3.12/site-packages/torch/__init__.py", line 416, in <module>
    from torch._C import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^
ImportError: /opt/intel/oneapi/2025.2/lib/libur_loader.so.0: version `LIBUR_LOADER_0.11' not found (required by /home/dvrogozh/pt2.8/lib/python3.12/site-packages/torch/lib/../../../../libsycl.so.8)

This issue will cause problems to developers who wish using pre-built pytorch binaries and develop additional stuff (related or not related to pytorch) on the latest oneAPI environment within the same major series.

This issue won't affect those who don't deploy and source oneAPI toolkits or those who build pytorch from sources and rebuild everything on oneAPI toolkit upgrades.

CC: @riverliuintel @chuanqi129

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions