vocode-python
vocode-python copied to clipboard
[Bug]: Segmentation Fault in vocode's wishper.cpp When Running Locally/Server
Brief Description
https://github.com/vocodedev/vocode-python/issues/419
Same as already mentioned in the above bug report. This is consistently reproducible.
LLM
None
Transcription Services
Whisper.cpp
Synthesis Services
None
Telephony Services
None
Conversation Type and Platform
No response
Steps to Reproduce
using WhisperCPPTranscriber with WhisperCPPTranscriberConfig.from_input_device in the quickstart.
Expected Behavior
no segmentation fault
Screenshots
No response
this is where it happens (when the external whisper.cpp lib is called): https://github.com/vocodedev/vocode-python/blob/19f97fa39749a40e32164a80092c25de7b3753c7/vocode/utils/whisper_cpp/helpers.py#L18
I added some debug output for the parameters. Looks ok on a first glance:
2024-04-06 17:38:20,329 - DEBUG - ctx (type): <class 'int'>, value: 110630373571616
2024-04-06 17:38:20,329 - DEBUG - params (type): <class 'vocode.utils.whisper_cpp.whisper_params.WhisperFullParams'>, direct content logging might need manual inspection depending on its type
2024-04-06 17:38:20,329 - DEBUG - normalized data pointer (type): <class 'vocode.utils.whisper_cpp.helpers.LP_c_float'>
2024-04-06 17:38:20,329 - DEBUG - length of normalized (type): <class 'int'>, value: 16384
Anyone here that got whisper_cpp working as a transcriber?
facing similar issue
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Thank you for your contributions.
Still having this issue in 2024 nothing has changed.