hello, I’m struggling at correctly installing PyTorch and xpu. here is my config
$uname -ar
Linux thor 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
$ python --version
Python 3.14.0
$ which python
/home/fred/.pyenv/shims/python
then I install PyTorch with
$pip install torch==2.9.1+xpu torchvision==0.23.1+xpu torchaudio==2.9.1+xpu intel-cmplr-lib-rt intel-cmplr-lib-ur intel-cmplr-lic-rt intel-sycl-rt pytorch-triton-xpu tcmlib umf intel-pti --index-url https://download.pytorch.org/whl/xpu
as (very well) explained here
then I checked
>>> import torch
>>> print(f"XPU available: {torch.xpu.is_available()}")
/media/SSD02/venv/lib/python3.14/site-packages/torch/xpu/__init__.py:61: UserWarning: XPU device count is zero! (Triggered internally at /pytorch/c10/xpu/XPUFunctions.cpp:115.)
return torch._C._xpu_getDeviceCount()
XPU available: False
>>> print(f"PyTorch version: {torch.__version__}")
PyTorch version: 2.9.1+xpu
>>> print(f"XPU compiled: {torch._C._xpu_getDeviceCount is not None}")
XPU compiled: True
What did I miss ? why it is not able to interact with xpu ?? thank you very much ![]()
EDIT : from a fresh and clean install of Debian 13 + Liquorix the problem is still the same… XPU available: False
$ uname -ar
Linux THOR 6.17.12-1-liquorix-amd64 #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.17-14.1~trixie (2025-12-12 x86_64 GNU/Linux
and
$ pip install torch==2.9.1+xpu torchvision==0.24.1+xpu torchaudio==2.9.1+xpu intel-cmplr-lib-rt intel-cmplr-lib-ur intel-cmplr-lic-rt intel-sycl-rt pytorch-triton-xpu tcmlib umf intel-pti --index-url https://download.pytorch.org/whl/xpu
-_-,