Unable to find an entry point named 'whisper_full_default_params_by_ref' in shared library 'whisper'.
See original GitHub issueHi y’all, thank you for working on this .NET implementation for Whisper!
I’m trying to run the “Simple” example from the repo but run into issues on macOS Ventura (ARM, M1 Pro). It appears to find the native library but can’t call it correctly.
Older Whisper.net versions (1.4.4, 1.4.3) are exhibiting the same behavior.
whisper.net/examples/Simple on main [✘] via .NET 7.0.101
➜ dotnet run --framework net6.0
Downloading Model ggml-base.bin
whisper_init_from_file_no_state: loading model from 'ggml-base.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab = 51865
whisper_model_load: n_audio_ctx = 1500
whisper_model_load: n_audio_state = 512
whisper_model_load: n_audio_head = 8
whisper_model_load: n_audio_layer = 6
whisper_model_load: n_text_ctx = 448
whisper_model_load: n_text_state = 512
whisper_model_load: n_text_head = 8
whisper_model_load: n_text_layer = 6
whisper_model_load: n_mels = 80
whisper_model_load: ftype = 1
whisper_model_load: qntvr = 0
whisper_model_load: type = 2
whisper_model_load: mem required = 310.00 MB (+ 6.00 MB per decoder)
whisper_model_load: adding 1608 extra tokens
whisper_model_load: model ctx = 140.66 MB
whisper_model_load: model size = 140.54 MB
Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named 'whisper_full_default_params_by_ref' in shared library 'whisper'.
at Whisper.net.Native.NativeMethods.whisper_full_default_params_by_ref(WhisperSamplingStrategy strategy)
at Whisper.net.WhisperProcessor.GetWhisperParams()
at Whisper.net.WhisperProcessor..ctor(WhisperProcessorOptions options)
at Whisper.net.WhisperProcessorBuilder.Build()
at Program.Main(String[] args) in /Users/philippbauer/Learning/whisper.net/examples/Simple/Program.cs:line 29
at Program.<Main>(String[] args)
Issue Analytics
- State:
- Created 3 months ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Unable to find an entry point named
EntryPointNotFoundException means that the symbol ObjectGetStringEntryID is not exported by the DLL. Check the export file (or __declspec ...
Read more >Unable to find an entry point named ' ...
I did manage to get working. But I have another problem, when I try to "unback" a backup, it returns an error message...
Read more >Unable to find an entry point named 'PldaMemoryWrite32' ...
Hi, I am using C# application with DLL library source code for one of my project. I configured both for 64bt system and...
Read more >The procedure entry point SetDefaultDllDirectories could ...
Hi,I am trying to install a program but it keeps giving me an error about an entry point called SetDefaultDllDirectories that can't be...
Read more >Solution to "Entry point was not found." in Visual Studio
I got this “System.EntryPointNotFoundException” exception today: “Entry point was not found.” There could be many reasons for this exception ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I figured out that I assumed the encoder file was ready to use and not a zip file that needed to be decompressed into a folder with the .mlmodelc extensions in the folder name. Now I got it to work as expected.
Maybe the documentation can be a bit clearer on this point.
Thank you!
Released 1.4.6 which contains the fix for the osx build.