vocode-python icon indicating copy to clipboard operation
vocode-python copied to clipboard

[Bug]: Segmentation Fault in vocode's wishper.cpp When Running Locally/Server

Open petergerten opened this issue 10 months ago • 3 comments

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

petergerten avatar Apr 06 '24 09:04 petergerten

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

petergerten avatar Apr 06 '24 09:04 petergerten

Anyone here that got whisper_cpp working as a transcriber?

petergerten avatar Apr 14 '24 02:04 petergerten

facing similar issue

anasmohammed361 avatar Apr 25 '24 01:04 anasmohammed361

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.

github-actions[bot] avatar Jun 24 '24 01:06 github-actions[bot]

This issue has been automatically closed due to inactivity. Thank you for your contributions.

github-actions[bot] avatar Jul 01 '24 01:07 github-actions[bot]

Still having this issue in 2024 nothing has changed.

acastry avatar Jul 22 '24 02:07 acastry