#error in STT

1 messages · Page 1 of 1 (latest)

main pawn
#
  start_stage: wake_word
  end_stage: tts
  input:
    sample_rate: 48000
  pipeline: 01hnf1nqp0mszayy67m7q9g90p
  conversation_id: null
stage: stt
run:
  pipeline: 01hnf1nqp0mszayy67m7q9g90p
  language: en
  runner_data:
    stt_binary_handler_id: 5
    timeout: 300
events:
  - type: run-start
    data:
      pipeline: 01hnf1nqp0mszayy67m7q9g90p
      language: en
      runner_data:
        stt_binary_handler_id: 5
        timeout: 300
    timestamp: "2024-02-06T12:38:14.385264+00:00"
  - type: wake_word-start
    data:
      entity_id: wake_word.openwakeword
      metadata:
        format: wav
        codec: pcm
        bit_rate: 16
        sample_rate: 16000
        channel: 1
      timeout: 3
    timestamp: "2024-02-06T12:38:14.385413+00:00"
  - type: wake_word-end
    data:
      wake_word_output:
        wake_word_id: ok_nabu_v0.1
        timestamp: 1575
    timestamp: "2024-02-06T12:38:18.892543+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: "2024-02-06T12:38:18.892862+00:00"
  - type: stt-vad-start
    data:
      timestamp: 1780
    timestamp: "2024-02-06T12:38:20.276694+00:00"
  - type: stt-vad-end
    data:
      timestamp: 2435
    timestamp: "2024-02-06T12:38:20.398674+00:00"
wake_word:
  entity_id: wake_word.openwakeword
  metadata:
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  timeout: 3
  done: true
  wake_word_output:
    wake_word_id: ok_nabu_v0.1
    timestamp: 1575
stt:
  engine: stt.faster_whisper
  metadata:
    language: en
    format: wav
    codec: pcm
    bit_rate: 16
    sample_rate: 16000
    channel: 1
  done: false
#

raw view

#
  language: en
  format: wav
  codec: pcm
  bit_rate: 16
  sample_rate: 16000
  channel: 1
``` SST logs
vocal lodge
#

are you using Whisper? as an addon?

main pawn
#
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service whisper: starting
s6-rc: info: service whisper successfully started
s6-rc: info: service discovery: starting
[17:44:19] WARNING: Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.
INFO:__main__:Ready
[17:44:24] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started``` whisper logs
#

why this error Your CPU does not support Advanced Vector Extensions (AVX). Whisper will run slower than normal.?

vocal lodge
main pawn
#

using virtual box

#

do I have to change something in virtualbox to enable avx?

vocal lodge
#

most likely

main pawn
#

if I run this on rpi4 it will work fine, my production setup?

vocal lodge
#

"fine" is relative. it will run, but it either won't be fast or it won't be accurate or both

main pawn
#

so for assist, even on x86 vm is not recommended method?

vocal lodge
#

don't confuse Assist with STT. you can have a cloud STT if you want, and then you wouldn't care what it's running on

#

Whisper specifically as an STT requires the AVX instruction set

main pawn
#

yes I mean local STT