Skip to content

Problem with TTS in 2.8 #1707

Description

@Jasonthefirst

We are using LocalAI in Docker but have Problems with all TTS models described in TTS in LocalAI .

But when calling the following curl:

curl http://localhost:8080/tts -H "Content-Type: application/json" -d '{ "backend": "bark", "input":"Hello!" }' | aplay

we get the following error:

stderr OSError: /opt/conda/envs/transformers/lib/python3.11/site-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE

This error is thrown with bark, qoqui and Vall-E-X. Piper works.

LocalAI version:
v2.8.0-cublas-cuda12-ffmpeg

Environment, CPU architecture, OS, and Version:
Linux aifb-bis-mlpc 5.15.0-92-generic #102-Ubuntu SMP Wed Jan 10 09:33:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

To Reproduce
Run v2.8.0-cublas-cuda12-ffmpeg LocalAI on Server an the curl command.

Expected behavior
LocalAI shouldn't return an error but a tts file.

Logs
I added a log file. _Shared_LocalAI_logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions