Is Intel® Iris Xe Graphics compatible with torch==2.6.0?

I followed the installation instructions for pytorch with XPU support, but when I try to use it, I get “RuntimeError: No XPU devices are available.”

OS: Ubuntu 24.04.1 LTS