Skip to content

fix(neutts): pin torchaudio to match torch (fixes undefined symbol) (#9798) - #10292

Merged
mudler merged 1 commit into
masterfrom
fix/9798-neutts-torchaudio
Jun 13, 2026
Merged

fix(neutts): pin torchaudio to match torch (fixes undefined symbol) (#9798)#10292
mudler merged 1 commit into
masterfrom
fix/9798-neutts-torchaudio

Conversation

@localai-bot

Copy link
Copy Markdown
Collaborator

Closes #9798

Problem

neutts-air fails to load with undefined symbol: torch_library_impl. The neutts requirements pin torch==2.8.0 but not torchaudio; neucodec pulls torchaudio in transitively, so an incompatible (differently-built) torchaudio can be resolved against the pinned torch, breaking the C++ ABI at import.

Fix

Pin torchaudio==2.8.0 (matching torch==2.8.0) in requirements-cpu.txt and requirements-cublas12.txt.

Note

There is still no requirements-cublas13.txt for neutts, so on a CUDA-13 image the backend loads as cpu-neutts. Adding a cu130 variant is a sensible follow-up but needs the right torch/torchaudio cu130 pins, so it is left out of this minimal fix. Not built/verified locally (Python backend image build); the change is an additive version pin.

Assisted-by: claude:claude-opus-4-8 [Claude Code]

neucodec pulls torchaudio transitively but it was unpinned, so an
incompatible torchaudio could be resolved against the pinned torch==2.8.0,
producing the 'undefined symbol: torch_library_impl' load failure. Pin
torchaudio==2.8.0 alongside torch in the cpu and cublas12 requirements.

Assisted-by: claude:claude-opus-4-8 [Claude Code]
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler
mudler merged commit 7088572 into master Jun 13, 2026
61 checks passed
@mudler
mudler deleted the fix/9798-neutts-torchaudio branch June 13, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

neutts-air undefined symbol: torch_library_impl

2 participants