Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not load tts_models/multilingual TTS models #2327

Open
edisonzf2020 opened this issue May 15, 2024 · 1 comment
Open

Can not load tts_models/multilingual TTS models #2327

edisonzf2020 opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working unconfirmed

Comments

@edisonzf2020
Copy link

LocalAI version: 2.15.0

Docker: image: quay.io/go-skynet/local-ai:master-cublas-cuda12-ffmpeg
Environment, CPU architecture, OS, and Version:

Ubuntu 22.04 GPU
Describe the bug

test 3 models :
1: tts_models/multilingual/multi-dataset/xtts_v2
2: tts_models/multilingual/multi-dataset/xtts_v1.1
4: tts_models/multilingual/multi-dataset/bark

curl -L http://192.168.1.19:8090/tts \
    -H "Content-Type: application/json" \
    -d '{
"backend": "coqui",
"input": "Bonjour Madame ! Comment allez-vous ?",
"model": "tts_models/multilingual/multi-dataset/xtts_v2",
"voice": "Ana Florence"
}' | aplay -D pipewire -

To Reproduce

8:25AM ERR Server error error="could not load model (no success): Unexpected err=UnpicklingError(\"invalid load key, '<'.\"), type(err)=<class '_pickle.UnpicklingError'>" ip=172.22.0.1 latency=13.523714559s method=POST status=500 url=/v1/audio/speech
8:25AM INF Loading model 'tts_models/multilingual/multi-dataset/bark' with backend coqui
8:26AM INF Loading model 'tts_models/multilingual/multi-dataset/xtts_v2' with backend coqui
8:26AM ERR Server error error="could not load model (no success): Unexpected err=UnpicklingError(\"invalid load key, '<'.\"), type(err)=<class '_pickle.UnpicklingError'>" ip=172.22.0.1 latency=13.108962696s method=POST status=500 url=/v1/audio/speech
8:26AM INF Loading model 'tts_models/multilingual/multi-dataset/bark' with backend coqui
8:26AM ERR Server error error="could not load model (no success): Unexpected err=RuntimeError('input(): lost sys.stdin'), type(err)=<class 'RuntimeError'>" ip=192.168.1.28 latency=6.335075199s method=POST status=500 url=/tts

Expected behavior

Logs

Additional context

@edisonzf2020 edisonzf2020 added bug Something isn't working unconfirmed labels May 15, 2024
@edisonzf2020 edisonzf2020 changed the title Can not load Can not load tts_models/multilingual TTS models May 15, 2024
@blob42
Copy link
Contributor

blob42 commented May 18, 2024

Hi. This will be solved when #2308 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

2 participants