Skip to content

Commit 7088572

Browse files
localai-botmudler
andauthored
fix(neutts): pin torchaudio to match torch (fixes undefined symbol) (#9798) (#10292)
fix(neutts): pin torchaudio to match torch to avoid ABI mismatch (#9798) 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> Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
1 parent c1e8440 commit 7088572

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

backend/python/neutts/requirements-cpu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--extra-index-url https://download.pytorch.org/whl/cpu
22
accelerate
33
torch==2.8.0
4+
torchaudio==2.8.0
45
transformers==4.56.1
56
librosa==0.11.0
67
neucodec>=0.0.4

backend/python/neutts/requirements-cublas12.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ neucodec>=0.0.4
33
phonemizer==3.3.0
44
soundfile==0.13.1
55
torch==2.8.0
6+
torchaudio==2.8.0
67
transformers==4.56.1
78
resemble-perth==1.0.1
89
accelerate

0 commit comments

Comments
 (0)