Using kernels on XPU with torch<=2.6.0 causes an error. We can upgrade torch to fix it.
On torch==2.5.1

On torch==2.6.0
Perhaps we should consider an alternative approach to retrieve the torch version when using kernels on XPU. (Relevant code: https://github.com/huggingface/kernels/blob/main/src/kernels/utils.py#L57-L59)