mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-30 09:57:57 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user