Skip to content

Vall-E-X backend still broken #1394

@TwinFinz

Description

@TwinFinz

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

Environment, CPU architecture, OS, and Version:
Linux LocalAi-GPT 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64 GNU/Linux

Describe the bug
Fails to find something (expect it is tokenizer its failing to find)

To Reproduce
curl http://localhost:8080/tts -H "Content-Type: application/json" -H "Authorization: Bearer sk-xxx" -d '{ "backend": "bark", "input":"Hello!" }'

Expected behavior
Output Audio

Logs
1:31AM DBG GRPC(-127.0.0.1:34935): stderr Traceback (most recent call last):
1:31AM DBG GRPC(-127.0.0.1:34935): stderr File "/build/backend/python/vall-e-x/ttsvalle.py", line 14, in
1:31AM DBG GRPC(-127.0.0.1:34935): stderr from utils.generation import SAMPLE_RATE, generate_audio, preload_models
1:31AM DBG GRPC(-127.0.0.1:34935): stderr File "/build/backend/python/vall-e-x/utils/generation.py", line 47, in
1:31AM DBG GRPC(-127.0.0.1:34935): stderr text_tokenizer = PhonemeBpeTokenizer(tokenizer_path="./utils/g2p/bpe_69.json")
1:31AM DBG GRPC(-127.0.0.1:34935): stderr File "/build/backend/python/vall-e-x/utils/g2p/init.py", line 13, in init
1:31AM DBG GRPC(-127.0.0.1:34935): stderr self.tokenizer = Tokenizer.from_file(tokenizer_path)
1:31AM DBG GRPC(-127.0.0.1:34935): stderr Exception: No such file or directory (os error 2)

Additional context
this is a fresh pull of the LocalAi v2 image docker was freshly reinstalled/reset with all previous images removed prior.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions