mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-30 09:57:57 -04:00
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>
12 lines
322 B
Plaintext
12 lines
322 B
Plaintext
--extra-index-url https://download.pytorch.org/whl/xpu
|
|
# 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
|