Timeout running pipeline (stt.faster_whisper)

Always getting following error when using voice assistant:

stage: error
run:
  pipeline: 01h0a695ejh71jhe7nf4g5ad78
  language: en
  runner_data:
    stt_binary_handler_id: 1
    timeout: 30
events:
  - type: run-start
    data:
      pipeline: 01h0a695ejh71jhe7nf4g5ad78
      language: en
      runner_data:
        stt_binary_handler_id: 1
        timeout: 30
    timestamp: "2023-05-29T11:44:46.543151+00:00"
  - type: stt-start
    data:
      engine: stt.faster_whisper
      metadata:
        language: en
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
    timestamp: "2023-05-29T11:44:46.544437+00:00"
  - type: error
    data:
      code: timeout
      message: Timeout running pipeline
    timestamp: "2023-05-29T11:45:16.543829+00:00"
stt:
  engine: stt.faster_whisper
  metadata:
    language: en
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  done: false
error:
  code: timeout
  message: Timeout running pipeline

Already tried updating, different devices, different models…

Hope somebody can help me.

I got the same problem. Running HassOS in PVE VM

1 Like

Does anyone have a solution for this? I’m in the same boat.

1 Like

curious if anyone knows how to define the timeout on this. I did a voice command to purposefully run a script that takes about a minute to run and the thing timeouts… Would have hoped it was asynchronous but it appears it tries to run the command and waits until it finishes before coming back a/ a “success”.

See what I wrote here: Whisper speech to text timeout · Issue #1361 · home-assistant/intents · GitHub

Basically whisper is too slow and it times out, and this make sense, an answer that takes more than 25 seconds is not a conversation anymore. IMHO

The real solution would be to make whisper go faster, see this issue: GPU support · Issue #3 · rhasspy/wyoming-addons · GitHub

1 Like

I am in the same boat although it did work before. I broke it and I don’t want to reinstall everything. How to debug it to see what’s the problem?