.NET library for speech-to-text using Whisper models
Top 46.1% on sourcepulse
Whisper.net provides .NET bindings for OpenAI's Whisper speech-to-text model, leveraging the efficient whisper.cpp
backend. It targets .NET developers seeking to integrate powerful ASR capabilities into their applications, offering cross-platform support and hardware acceleration options.
How It Works
Whisper.net acts as a C# wrapper around the whisper.cpp
library, enabling .NET applications to utilize Whisper models. It supports various hardware acceleration runtimes, including CPU (with and without AVX), NVIDIA CUDA, Apple CoreML, Intel OpenVino, and Vulkan. The library automatically selects the most appropriate runtime based on the host system's capabilities and user-defined priorities, facilitating seamless deployment across diverse hardware.
Quick Start & Requirements
Install-Package Whisper.net.AllRuntimes
or add <PackageReference Include="Whisper.net.AllRuntimes" Version="1.8.1" />
to your .csproj
.libstdc++6
, glibc 2.31
.Whisper.net.Runtime.NoAvx
available otherwise.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The macOS prerequisites for native runtimes are listed as "TBD". The project's versioning scheme is tied to whisper.cpp
commits, requiring users to check the submodule for specific backend versions.
1 week ago
1 week