We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
LocalAI version: localai/localai:latest-gpu-nvidia-cuda-12 (sha256:ff0b3e63d517631b1660fb3f7dbf6cfbbe8f0df730573c6f9b7b6effa964af05)
Environment, CPU architecture, OS, and Version: Linux 82a266e95db7 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug Parler-tts backend imports runtime_version from protobuf and fails.
To Reproduce
curl -L http://localhost:8080/tts \ -H "Content-Type: application/json" \ -d '{ "model": "parler-tts", "input": "Hi there!" }' | aplay
Expected behavior Model loads and generates audio for the text
Logs 7:11AM DBG Wait for the service to start up 7:11AM DBG GRPC(-127.0.0.1:34227): stdout Initializing libbackend for parler-tts 7:11AM DBG GRPC(-127.0.0.1:34227): stdout virtualenv activated 7:11AM DBG GRPC(-127.0.0.1:34227): stdout activated virtualenv has been ensured 7:11AM DBG GRPC(-127.0.0.1:34227): stderr Traceback (most recent call last): 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend.py", line 13, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr import backend_pb2 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend_pb2.py", line 9, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr from google.protobuf import runtime_version as _runtime_version 7:11AM DBG GRPC(-127.0.0.1:34227): stderr ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/build/backend/python/parler-tts/venv/lib/python3.10/site-packages/google/protobuf/__init__.py)
7:11AM DBG Wait for the service to start up 7:11AM DBG GRPC(-127.0.0.1:34227): stdout Initializing libbackend for parler-tts 7:11AM DBG GRPC(-127.0.0.1:34227): stdout virtualenv activated 7:11AM DBG GRPC(-127.0.0.1:34227): stdout activated virtualenv has been ensured 7:11AM DBG GRPC(-127.0.0.1:34227): stderr Traceback (most recent call last): 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend.py", line 13, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr import backend_pb2 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend_pb2.py", line 9, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr from google.protobuf import runtime_version as _runtime_version 7:11AM DBG GRPC(-127.0.0.1:34227): stderr ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/build/backend/python/parler-tts/venv/lib/python3.10/site-packages/google/protobuf/__init__.py)
The text was updated successfully, but these errors were encountered:
Should be covered by #3954 - we had a hacky workaround in place for workarounding descriptinc/audiotools#111
Sorry, something went wrong.
Still present on master images. Needs deeper investigation
mudler
Successfully merging a pull request may close this issue.
LocalAI version:
localai/localai:latest-gpu-nvidia-cuda-12 (sha256:ff0b3e63d517631b1660fb3f7dbf6cfbbe8f0df730573c6f9b7b6effa964af05)
Environment, CPU architecture, OS, and Version:
Linux 82a266e95db7 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
Parler-tts backend imports runtime_version from protobuf and fails.
To Reproduce
curl -L http://localhost:8080/tts \ -H "Content-Type: application/json" \ -d '{ "model": "parler-tts", "input": "Hi there!" }' | aplay
Expected behavior
Model loads and generates audio for the text
Logs
7:11AM DBG Wait for the service to start up 7:11AM DBG GRPC(-127.0.0.1:34227): stdout Initializing libbackend for parler-tts 7:11AM DBG GRPC(-127.0.0.1:34227): stdout virtualenv activated 7:11AM DBG GRPC(-127.0.0.1:34227): stdout activated virtualenv has been ensured 7:11AM DBG GRPC(-127.0.0.1:34227): stderr Traceback (most recent call last): 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend.py", line 13, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr import backend_pb2 7:11AM DBG GRPC(-127.0.0.1:34227): stderr File "/build/backend/python/parler-tts/backend_pb2.py", line 9, in <module> 7:11AM DBG GRPC(-127.0.0.1:34227): stderr from google.protobuf import runtime_version as _runtime_version 7:11AM DBG GRPC(-127.0.0.1:34227): stderr ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/build/backend/python/parler-tts/venv/lib/python3.10/site-packages/google/protobuf/__init__.py)
The text was updated successfully, but these errors were encountered: