thewh1teagle / vibe

Transcribe on your own!
https://thewh1teagle.github.io/vibe/
MIT License
886 stars 55 forks source link

[Bug]: Unable to play audio to text #288

Open Watereks opened 1 week ago

Watereks commented 1 week ago

What happened?

When trying to convert an audio recording into text, the process closes and stops completely, it is not in the task manager

All the details are on the video

Steps to reproduce

https://github.com/user-attachments/assets/903ef0f1-d667-44f4-bb42-981e4289c2a5

What OS are you seeing the problem on?

Window

Relevant log output

Microsoft Windows [Version 10.0.22631.4169]
(c) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

C:\Users\славик>set RUST_BACKTRACE=1

C:\Users\славик>set RUST_LOG=vibe=debug,whisper_rs=debug

C:\Users\славик>%localappdata%\vibe\vibe.exe

C:\Users\славик>2024-09-22T14:49:13.268338Z DEBUG vibe::setup: Vibe App Running
2024-09-22T14:49:13.269730Z DEBUG vibe::setup: webview version: 128.0.2739.79
2024-09-22T14:49:13.269968Z DEBUG vibe::custom_protocol: Protocol handler registered successfully.
2024-09-22T14:49:13.270026Z DEBUG vibe::setup: Cargo features:
2024-09-22T14:49:13.270089Z DEBUG vibe::setup: CPU Features
{"avx":{"enabled":false,"support":true},"avx2":{"enabled":false,"support":false},"f16c":{"enabled":false,"support":false},"fma":{"enabled":false,"support":false}}
2024-09-22T14:49:13.270135Z DEBUG vibe::setup: Executable Architecture: x86_64
2024-09-22T14:49:13.270178Z DEBUG vibe::setup: APP VERSION: 2.5.3
2024-09-22T14:49:13.270217Z DEBUG vibe::setup: COMMIT HASH: d8531f182e7ffb75281b1915808bb94162bce2bd
2024-09-22T14:49:13.270303Z DEBUG vibe::setup: Non CLI mode
2024-09-22T14:49:14.071859Z DEBUG vibe::cmd: models folder None
2024-09-22T14:49:14.087876Z DEBUG vibe::cmd::audio: Default Input Device:
Ok("Микрофон (High Definition Audio Device)")
2024-09-22T14:49:14.088954Z DEBUG vibe::cmd::audio: Default Output Device:
Ok("Динамики (3- High Definition Audio Device)")
2024-09-22T14:49:14.091646Z DEBUG vibe::cmd::audio: Devices:
2024-09-22T14:49:25.654556Z DEBUG vibe::cmd: models folder None
2024-09-22T14:49:39.762879Z DEBUG vibe::cmd: loading model first time
2024-09-22T14:49:39.763389Z DEBUG vibe_core::transcribe: open model...
2024-09-22T14:49:39.763571Z DEBUG vibe_core::transcribe: gpu device: 1
2024-09-22T14:49:39.763934Z DEBUG vibe_core::transcribe: use gpu: false
2024-09-22T14:49:39.764099Z DEBUG vibe_core::transcribe: creating whisper context with model path C:\Users\славик\AppData\Local\github.com.thewh1teagle.vibe\ggml-large-v3.bin
2024-09-22T14:49:39.764250Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_from_file_with_params_no_state: loading model from 'C:\Users\славик\AppData\Local\github.com.thewh1teagle.vibe\ggml-large-v3.bin'
2024-09-22T14:49:39.764661Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: use gpu    = 0
2024-09-22T14:49:39.764777Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: flash attn = 0
2024-09-22T14:49:39.764910Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: gpu_device = 1
2024-09-22T14:49:39.765029Z  INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: dtw        = 0
2024-09-22T14:49:39.765143Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: loading model
2024-09-22T14:49:39.765297Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_vocab       = 51866
2024-09-22T14:49:39.765373Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_ctx   = 1500
2024-09-22T14:49:39.765450Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_state = 1280
2024-09-22T14:49:39.765522Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_head  = 20
2024-09-22T14:49:39.765594Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_layer = 32
2024-09-22T14:49:39.765664Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_ctx    = 448
2024-09-22T14:49:39.765731Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_state  = 1280
2024-09-22T14:49:39.765807Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_head   = 20
2024-09-22T14:49:39.765873Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_layer  = 32
2024-09-22T14:49:39.765938Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_mels        = 128
2024-09-22T14:49:39.766016Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: ftype         = 1
2024-09-22T14:49:39.766084Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: qntvr         = 0
2024-09-22T14:49:39.766228Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: type          = 5 (large v3)
2024-09-22T14:49:39.878810Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: adding 1609 extra tokens
2024-09-22T14:49:39.881063Z  INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_langs       = 100
thewh1teagle commented 1 week ago

Hey! Thanks for report.

Looks like you already uses version for older CPUs right? That's weird it should work. can you try version 2.4.0 for older CPUs? https://github.com/thewh1teagle/vibe/releases/tag/v2.4.0

thewh1teagle commented 6 days ago

I created new release and added check that will show error with instructions to solve it in case that vulkan is not supported.

https://github.com/thewh1teagle/vibe/releases/tag/v2.5.4