Open sgjohnson1981 opened 3 weeks ago
Accounts above have been blocked and reported for spam/phishing.
After yesterday's update I pulled everything and rebuilt the poetry env. Getting a completely different error now.
Starting server...
Starting client...
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:1001:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Loading llama3.1:8b...
Loading...
Loading...
Loading...
Loading...
Model loaded.
▌ Local model set to ollama/llama3.1:8b, Local TTS set to coqui.
Loading...
Loading...
Exception in thread Thread-3 (run):
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/media/user/8E0C30BE0C30A2DF/code/LLMs/01/software/source/clients/light-python/client.py", line 100, in run
device.start()
File "/media/user/8E0C30BE0C30A2DF/code/LLMs/01/software/source/clients/light-python/client.py", line 94, in start
asyncio.run(self.main())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/media/user/8E0C30BE0C30A2DF/code/LLMs/01/software/source/clients/light-python/client.py", line 87, in main
await self.connect_with_retry()
File "/media/user/8E0C30BE0C30A2DF/code/LLMs/01/software/source/clients/light-python/client.py", line 38, in connect_with_retry
raise Exception("Failed to connect to the server after multiple attempts")
Exception: Failed to connect to the server after multiple attempts
Error loading model for checkpoint /media/user/8E0C30BE0C30A2DF/code/LLMs/01/software/models/v2.0.2: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
RealTimeSTT: root - ERROR - Error initializing main coqui engine model: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
Traceback (most recent call last):
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/RealtimeTTS/engines/coqui_engine.py", line 502, in _synthesize_worker
tts = load_model(checkpoint, tts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/RealtimeTTS/engines/coqui_engine.py", line 486, in load_model
tts.to(torch_device)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1159, in convert
return t.to(
^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/cuda/__init__.py", line 279, in _lazy_init
raise RuntimeError(
RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/RealtimeTTS/engines/coqui_engine.py", line 502, in _synthesize_worker
tts = load_model(checkpoint, tts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/RealtimeTTS/engines/coqui_engine.py", line 486, in load_model
tts.to(torch_device)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1173, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 779, in _apply
module._apply(fn)
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 804, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1159, in convert
return t.to(
^^^^^
File "/home/user/.cache/pypoetry/virtualenvs/01-jX8ul_1R-py3.11/lib/python3.11/site-packages/torch/cuda/__init__.py", line 279, in _lazy_init
raise RuntimeError(
RuntimeError: Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method
Desktop (please complete the following information):