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]: fatal runtime error: Rust cannot catch foreign exceptions #360

Closed
ElFistoGrande opened this issue Nov 7, 2024 · 11 comments
Closed
Labels
bug Something isn't working

Comments

@ElFistoGrande
Copy link

What happened?

Crashing with no error, cmd log says whats in the title.
Was using the Ivrit model on version 2.6.3
I have an nVidia GTX 1650 and an AMD Ryzen 5 5600X 6-Core Processor 3.70 GHz, using Windows 10 ver. 22H2

Steps to reproduce

  1. Open Vibe
  2. Choose file
  3. Transcribe
  4. Crash

What OS are you seeing the problem on?

Window

Relevant log output

C:\Users\Ido>%localappdata%\vibe\vibe.exe

C:\Users\Ido>set RUST_LOG=debug

C:\Users\Ido>ggml_vulkan: Found 1 Vulkan devices:
Vulkan0: NVIDIA GeForce GTX 1650 (NVIDIA) | uma: 0 | fp16: 1 | warp size: 32
ggml_backend_sched_alloc_splits: failed to allocate graph, reserving (backend_ids_changed = 1)
ggml_gallocr_reserve_n: reallocating NVIDIA GeForce GTX 1650 buffer from size 0.00 MiB to 31.59 MiB
ggml_gallocr_reserve_n: reallocating CPU buffer from size 0.00 MiB to 0.92 MiB
ggml_gallocr_needs_realloc: graph has different number of nodes
ggml_gallocr_alloc_graph: cannot reallocate multi buffer graph automatically, call reserve
ggml_backend_sched_alloc_splits: failed to allocate graph, reserving (backend_ids_changed = 0)
ggml_gallocr_reserve_n: reallocating NVIDIA GeForce GTX 1650 buffer from size 0.00 MiB to 200.96 MiB
ggml_gallocr_reserve_n: reallocating CPU buffer from size 0.00 MiB to 0.00 MiB
ggml_gallocr_needs_realloc: graph has different number of nodes
ggml_gallocr_alloc_graph: cannot reallocate multi buffer graph automatically, call reserve
ggml_backend_sched_alloc_splits: failed to allocate graph, reserving (backend_ids_changed = 0)
ggml_gallocr_reserve_n: reallocating NVIDIA GeForce GTX 1650 buffer from size 0.00 MiB to 7.32 MiB
ggml_gallocr_reserve_n: reallocating CPU buffer from size 0.00 MiB to 0.00 MiB
ggml_backend_sched_alloc_splits: failed to allocate graph, reserving (backend_ids_changed = 1)
ggml_gallocr_reserve_n: reallocating NVIDIA GeForce GTX 1650 buffer from size 0.00 MiB to 93.01 MiB
ggml_gallocr_reserve_n: reallocating CPU buffer from size 0.00 MiB to 0.88 MiB
fatal runtime error: Rust cannot catch foreign exceptions
@ElFistoGrande ElFistoGrande added the bug Something isn't working label Nov 7, 2024
@thewh1teagle
Copy link
Owner

Hey @ElFistoGrande

Make sure your'e on Windows 11 and update the graphics card driver to the latest version.
You can try also install vulkan runtime from https://sdk.lunarg.com/sdk/download/1.3.296.0/windows/VulkanRT-1.3.296.0-Installer.exe

If that doesn't work you can try this release
https://github.com/thewh1teagle/vibe/releases/download/v2.6.3/vibe_2.6.3_x64-setup_older-cpu.exe
but it will work much slower

@ElFistoGrande
Copy link
Author

ElFistoGrande commented Nov 7, 2024 via email

@thewh1teagle
Copy link
Owner

@ElFistoGrande
Copy link
Author

ElFistoGrande commented Nov 7, 2024 via email

@thewh1teagle
Copy link
Owner

Make sure there's no hidden instance running
Open task manager, search for vibe and kill the process before trying to open

@ElFistoGrande
Copy link
Author

ElFistoGrande commented Nov 7, 2024 via email

@thewh1teagle
Copy link
Owner

thewh1teagle commented Nov 7, 2024

I did. 2.6.3 setup can boot, the rest can't. Even if I uninstalled 2.6.3

taskkill /IM vibe.exe /F
set RUST_BACKTRACE=1
set RUST_LOG=vibe=debug,whisper_rs=debug
%localappdata%\vibe\vibe.exe

You can try run it from the command line (cmd. not powershell) this way (with different vibe versions) also you can just extract them and start there instead of instal each time...
See if you can see new interesting error when you try to transcribe because currently I still not sure why it crash

Sent you pm in discord

@ElFistoGrande
Copy link
Author

Saw ur pm, moving there :D

@thewh1teagle
Copy link
Owner

thewh1teagle commented Nov 7, 2024

gtx1650 with Vulkan out of memory with ivrit.ai model though it has 4GB vram.
works fine with medium model.

@thewh1teagle
Copy link
Owner

#370

@thewh1teagle
Copy link
Owner

@ElFistoGrande

FYI: I created new optimized model of ivrit.ai that is weight much less. maybe this one will work

ggml-ivrit-v2-d4-q8_0.bin

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