Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Watereks opened this issue Sep 22, 2024 · 5 comments
Closed

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

Watereks opened this issue Sep 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Watereks
Copy link

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

Desktop.2024.09.22.-.19.49.21.01.mp4

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
@Watereks Watereks added the bug Something isn't working label Sep 22, 2024
@thewh1teagle
Copy link
Owner

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
Copy link
Owner

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

@Watereks
Copy link
Author

Watereks commented Oct 10, 2024

Yes, I just downloaded a new version of the old processors, but when I launched it, as before - the application just crashed without any errors, now I'll try to look at the logs

@Watereks
Copy link
Author

Watereks commented Oct 10, 2024

Microsoft Windows Version 10.0.22631.4169 Корпорация Майкрософт (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-10-10T16:43:06.106672Z DEBUG vibe::setup: Vibe App Running 2024-10-10T16:43:06.107273Z DEBUG vibe::setup: webview version: 129.0.2792.792024-10-10T16:43:06.107574Z DEBUG vibe::custom_protocol: Protocol handler registered successfully. 2024-10-10T16:43:06.107786Z DEBUG vibe::setup: Cargo features: vulkan2024-10-10T16:43:06.107953Z 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-10-10T16:43:06.108078Z DEBUG vibe::setup: Executable Architecture: x86_64 2024-10-10T16:43:06.108151Z DEBUG vibe::setup: APP VERSION: 2.6.12024-10-10T16:43:06.108209Z DEBUG vibe::setup: COMMIT HASH: d2db779bef283b1996d2001c1005c2f6690cafa9 2024-10-10T16:43:06.108263Z DEBUG vibe::setup: Non CLI mode2024-10-10T16:43:06.827245Z DEBUG vibe::cmd: Vulkan support is successfully checked and working. 2024-10-10T16:43:06.897103Z DEBUG vibe::cmd::audio: Default Input Device:Ok("Микрофон (High Definition Audio Device)") 2024-10-10T16:43:06.897264Z DEBUG vibe::cmd::audio: Default Output Device:Ok("Динамики (3- High Definition Audio Device)") 2024-10-10T16:43:06.899187Z DEBUG vibe::cmd::audio: Devices:2024-10-10T16:43:25.494138Z DEBUG vibe::cmd: loading model first time 2024-10-10T16:43:25.494547Z DEBUG vibe_core::transcribe: open model...2024-10-10T16:43:25.494846Z DEBUG vibe_core::transcribe: gpu device: 0 2024-10-10T16:43:25.494982Z DEBUG vibe_core::transcribe: use gpu: true2024-10-10T16:43:25.495192Z DEBUG vibe_core::transcribe: creating whisper context with model path C:\Users\славик\AppData\Local\github.com.thewh1teagle.vibe\ggml-medium.bin 2024-10-10T16:43:25.495493Z 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-medium.bin'2024-10-10T16:43:25.496200Z INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: use gpu = 1 2024-10-10T16:43:25.496429Z INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: flash attn = 02024-10-10T16:43:25.496649Z INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: gpu_device = 0 2024-10-10T16:43:25.496833Z INFO whisper_rs::whisper_sys_tracing: whisper_init_with_params_no_state: dtw = 02024-10-10T16:43:25.497045Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: loading model 2024-10-10T16:43:25.497318Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_vocab = 518652024-10-10T16:43:25.497466Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_ctx = 1500 2024-10-10T16:43:25.497669Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_state = 10242024-10-10T16:43:25.497899Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_head = 16 2024-10-10T16:43:25.498063Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_audio_layer = 242024-10-10T16:43:25.498255Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_ctx = 448 2024-10-10T16:43:25.498510Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_state = 10242024-10-10T16:43:25.498677Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_head = 16 2024-10-10T16:43:25.499328Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_text_layer = 242024-10-10T16:43:25.499617Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_mels = 80 2024-10-10T16:43:25.499759Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: ftype = 12024-10-10T16:43:25.499927Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: qntvr = 0 2024-10-10T16:43:25.500084Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load:type = 4 (medium) 2024-10-10T16:43:25.627859Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: adding 1608 extra tokens 2024-10-10T16:43:25.630175Z INFO whisper_rs::whisper_sys_tracing: whisper_model_load: n_langs = 99

I am also attaching the video again.

Desktop_2024.10.10_-_21.43.17.01.mp4

@Watereks Watereks reopened this Oct 10, 2024
@thewh1teagle
Copy link
Owner

Try version 2.8.0
#370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants