Discover and explore top open-source AI tools and projects—updated daily.
antirezPure C ASR inference engine
New!
Top 74.1% on SourcePulse
Summary
This project provides a pure C inference engine for Qwen3-ASR speech-to-text models (0.6B and 1.7B parameters). It targets engineers and power users needing efficient, low-dependency ASR on diverse hardware, particularly Linux servers, offering high-speed transcription even on modest CPUs.
How It Works
The core is a C implementation of the Qwen3-ASR inference pipeline, requiring only a standard C library and a BLAS implementation (Accelerate on macOS, OpenBLAS on Linux). It supports both offline and streaming transcription modes, outputting tokens directly to stdout. The design prioritizes CPU performance and rapid model loading via memory-mapped safetensors, while explicitly omitting MPS support to focus on broader server deployment.
Quick Start & Requirements
Build with make blas. Download models using ./download_model.sh. Transcribe audio via ./qwen_asr -d <model_dir> -i <audio_file> or pipe audio from ffmpeg using --stdin. Key requirements include a C compiler and a BLAS library (OpenBLAS or Accelerate). MPS (Apple Silicon GPU) support is not included.
Highlighted Details
--language.--prompt) can subtly influence model output for specific terms.--monitor mode for real-time pipeline visualization.Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), or project roadmap were found in the provided README content.
Licensing & Compatibility
The project is released under the MIT license, permitting broad use, including commercial applications. However, it explicitly excludes support for Apple's MPS (Metal Performance Shaders) framework.
Limitations & Caveats
MPS support is intentionally omitted, requiring users to fork the repository for Apple Silicon GPU acceleration. The streaming mode prioritizes incremental stability over raw throughput for prerecorded files, potentially leading to slower overall processing compared to offline modes in such scenarios. Prompt biasing is noted as a subtle influence rather than a strict command.
1 week ago
Inactive
antirez
wenet-e2e