I built a small, simple test application on my windows machine (VS 2022, Win11)
Worked great, so I did dotnet build .\WhisperNetTesting\WhisperNetTesting.csproj --runtime linux-x64, deployed to a linux machine (CentOS), and I'm getting the following now:
Downloading Model ggml-large-v3-q5_0.bin
Unhandled exception. System.Exception: Failed to load native whisper library. Error: Unknown error
at Whisper.net.WhisperFactory..ctor(IWhisperProcessorModelLoader loader, Boolean delayInit, String libraryPath, Boolean bypassLoading)
at Whisper.net.WhisperFactory.FromPath(String path, Boolean delayInitialization, String libraryPath, Boolean bypassLoading, Boolean useGpu)
at Program.<Main>$(String[] args) in N:\source\Various Testing\WhisperNetTesting\Program.cs:line 45
at Program.<Main>(String[] args)
Aborted (core dumped)
I'm really just trying to see if this is a viable solution for something I'm working on, and so far this looks like it would be a great solution for my team, but I'm having trouble getting this small sample to run. Am I doing something silly, or am I just missing something. I also tried a regular build (without declaring runtime), same error.
Using .NET 6.0
I built a small, simple test application on my windows machine (VS 2022, Win11) Worked great, so I did
dotnet build .\WhisperNetTesting\WhisperNetTesting.csproj --runtime linux-x64
, deployed to a linux machine (CentOS), and I'm getting the following now:I'm really just trying to see if this is a viable solution for something I'm working on, and so far this looks like it would be a great solution for my team, but I'm having trouble getting this small sample to run. Am I doing something silly, or am I just missing something. I also tried a regular build (without declaring runtime), same error. Using .NET 6.0