From 2bed6f65ba084015a0904ff3ada0fe31199523af Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Tue, 14 Jul 2026 18:58:13 +0200 Subject: [PATCH] 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 --- backend/python/kokoro/requirements-intel.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/python/kokoro/requirements-intel.txt b/backend/python/kokoro/requirements-intel.txt index 54a596e45..c73d96a3e 100644 --- a/backend/python/kokoro/requirements-intel.txt +++ b/backend/python/kokoro/requirements-intel.txt @@ -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 \ No newline at end of file +soundfile