fix(kokoro): pin compatible Intel XPU runtime (#10823)

PyTorch 2.13 XPU pulls oneAPI 2026 libraries that conflict with the oneAPI 2025.3 backend image. Pin torch and torchaudio to the matching 2.11 XPU pair so the build resolves a coherent 2025.3 runtime.

Assisted-by: Codex:GPT-5 [uv]

Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
LocalAI [bot]
2026-07-14 18:58:13 +02:00
committed by GitHub
parent b224c96db6
commit 2bed6f65ba

View File

@@ -1,9 +1,11 @@
--extra-index-url https://download.pytorch.org/whl/xpu
torch
torchaudio
# PyTorch 2.13 XPU requires oneAPI 2026, while the image uses oneAPI 2025.3.
# Pin the matching torch/torchaudio pair that uses the 2025.3 runtime.
torch==2.11.0+xpu
torchaudio==2.11.0+xpu
optimum[openvino]
setuptools
transformers==4.48.3
accelerate
kokoro
soundfile
soundfile