← Back to Leaderboard
FQwenAudio

QwenAudio/Fun-ASR

Speech recognition weights with GGUF edge inference and vLLM streaming

Engineering Health (Methodology)
A+ · 89/100
Maintenance Activity
● Updated 2d ago
Latest Release
runtime-llamacpp-v0.1.10
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence17/20
License Clarity20/20
Local AICLIGPUAPI
Total Stars
★ 1,622
24h Growth
+2
7d Growth
+7
Forks
166

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

QwenAudio/Fun-ASR Star History (2025-12-14 - 2026-12-03) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +1.6k in 354d · avg +5/day 1.7k 856 0 2025-12-14: ★ 212026-01-10: ★ 6532026-02-07: ★ 8512026-03-07: ★ 8972026-04-04: ★ 9742026-05-02: ★ 1,0922026-05-30: ★ 1,1832026-06-27: ★ 1,2982026-07-25: ★ 1,4132026-08-22: ★ 1,4752026-09-19: ★ 1,5372026-10-17: ★ 1,5712026-11-08: ★ 1,5982026-12-03: ★ 1,622 ★ 1.6k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Fun-ASR is a speech recognition weight family with separate execution paths. On the Python path, the audio encoder feeds a language-model decoder. In the composed FunASR pipeline, FSMN-VAD splits long recordings before decoding, and a trained CTC branch can align recognized characters. The repository exposes direct inference through model.py, with ctc.py and decode.py alongside it. Its manifest specifies torch>=2.9.0, torchaudio>=2.9.0, transformers>=4.51.3, and funasr>=1.3.26; the separate native Transformers quickstart pins Transformers 5.17.0 and requires neither FunASR nor remote Python code.

For serving, AutoModelVLLM handles offline batches, FunASRNanoStreamingVLLM exposes a streaming SDK, and serve_realtime_ws.py provides a WebSocket entry point. Under runtime/llama.cpp/, the GGUF path loads separate encoder and decoder artifacts and can run FSMN-VAD in the same process. These paths share a model family, not a uniform API or feature set.

Key Capabilities & Differentiators

Nano-2512 covers Chinese, English, Japanese, and Chinese dialects and accents. The separate 800M MLT-Nano-2512 covers 31 languages, with an emphasis on East and Southeast Asia. The FunASR path exposes hotwords and inverse text normalization. Neither Nano checkpoint emits speaker labels natively: the composed pipeline uses FSMN-VAD to segment audio, CAM++ to assign speakers, and CT-Punc to restore punctuation. Its sentence start and end times are VAD boundaries, not character alignments.

Character timestamps depend on the exact artifact: the ModelScope Nano-2512 checkpoint contains trained CTC weights; the identified Hugging Face FunASR revision 272c57b82523ada6fd87095e955f8e29100979ab lacks them. With the current model.py and FunASR 1.3.26 or newer, that older artifact still transcribes but omits timestamps. On 184 files totaling 11,541 seconds, vLLM took 34 seconds at 8.20% CER versus native PyTorch's 550 seconds at 8.06% CER. This measures offline batch throughput, not live-session latency.

Trade-offs & Limitations

Fun-ASR-Nano scored 1.80% WER on AIShell1 versus Whisper-large-v3 at 4.72%, but the gap was smaller on Fleurs-en: 5.96% versus 6.23%. These results make Nano a candidate for Chinese-heavy workloads, not a universal winner or a comparison with a hosted Whisper endpoint. A managed Whisper API reduces model-serving work; self-hosting Fun-ASR gives operators control over audio handling, segmentation, and serving, but adds responsibility for checkpoint compatibility, compute sizing, and runtime updates.

The GGUF CLI has a small runtime dependency footprint, but benchmark CPU speed on the intended device and do not assume parity with the Python paths for timestamps, diarization, or API behavior. For GPU deployments, size VRAM and concurrency against your selected checkpoint and actual audio lengths rather than extrapolating from the published batch run. The repository is Apache-2.0; verify the terms of separately downloaded weights and auxiliary models before commercial redistribution.

Hardware & Deployment Guide

For CPU and edge deployments, start with llama-funasr-cli and the Nano assets fetched by runtime/llama.cpp/download-funasr-model.sh: encoder and decoder GGUF files plus a separate FSMN-VAD GGUF. The self-contained binary needs no Python at runtime. For application integration, the pinned native Transformers example runs on CPU; the FunASR example uses cuda:0 and enables custom model code with remote_code="./model.py". For GPU batch work, test batch_size_s in FunASR before adding vLLM. Pre-segment long recordings for AutoModelVLLM, whose single-pass decoding can truncate long inputs.

For live clients, integrate through serve_realtime_ws.py; for local process integration, the macOS arm64 v0.1.10 release adds --stream and --lang, reading s16le PCM from stdin and emitting LOCKED, PARTIAL, and DONE. Earlier releases added Vulkan and Windows CUDA packages in v0.1.9, while v0.2.1 fixed Vulkan device selection involving integrated GPUs. Pin both the checkpoint revision and platform-specific runtime build, and verify streaming and timestamp behavior on the exact deployment combination.

Checkpoint selection: Nano targets Chinese, English, Japanese, and Chinese dialects; the separate 800M MLT-Nano covers 31 languages.
Native integration: Fun-ASR-Nano-2512-hf loads through Transformers 5.17.0 with trust_remote_code=False.
Timestamp integrity: With FunASR 1.3.26 or newer and the current model.py, incomplete CTC weights yield text without timestamps rather than unreliable alignments.
Speaker attribution: The composed FunASR pipeline uses FSMN-VAD for segmentation, CAM++ for speaker labels, and CT-Punc for punctuation.
GPU throughput: The 184-file batch benchmark reports 34 s for vLLM versus 550 s for native PyTorch, at 8.20% versus 8.06% CER.
Edge streaming: The macOS arm64 v0.1.10 GGUF runtime accepts s16le PCM on stdin and emits LOCKED, PARTIAL, and DONE events.
Best For

Self-hosted Chinese and dialect transcription, multilingual workloads validated on MLT-Nano, and teams choosing between an offline CPU CLI and GPU batch or streaming service.

Skip If

You need one checkpoint to return both speaker labels and character timestamps across every runtime, or you prefer a managed API over operating model weights and inference infrastructure.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AICLIGPUAPI
git clone https://github.com/QwenAudio/Fun-ASR.git
cd Fun-ASR
pip install -r requirements.txt

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Fun-ASR ★1.6k+7CApache-2.0Speech recognition weights with GGUF edge inference and vLLM streaming
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
sherpa-onnx16.4k+136C++Apache-2.0C++ and ONNX Runtime SDK for offline speech and real-time transcription
moonshine11.7k+48C++—On-device C++ SDK for live transcription, intent recognition, and speech synthes

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/QwenAudio/Fun-ASR.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

QwenAudio/Fun-ASR Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Fun-ASR

Which integration should I use for text, timestamps, and speaker labels?

Use the native Transformers checkpoint for text-only integration without remote Python code. If you need character-level timing, use FunASR 1.3.26 or newer with the CTC-equipped ModelScope Nano checkpoint (hub="ms"). For speaker attribution, compose Nano with FSMN-VAD and CAM++; the resulting segment boundaries are not character timestamps.

Do I need a GPU, and how much VRAM should I provision?

There is no universal GPU or VRAM requirement. The GGUF CLI and the native Transformers CPU example both offer GPU-free paths. For PyTorch CUDA or vLLM, measure peak VRAM with the actual checkpoint, segment lengths, batch sizes, and concurrency. The vLLM example exposes gpu_memory_utilization and tensor_parallel_size, but neither provides a sizing guarantee.

Can I use Fun-ASR commercially and self-host it?

The GitHub repository is Apache-2.0, which permits commercial use subject to its terms. Verify the terms of each downloaded checkpoint and auxiliary model separately, and preserve required notices when redistributing covered artifacts. Self-hosting keeps inference under your control, but recording consent, transcript retention, and access controls still need to be addressed.

When should I choose Fun-ASR over a managed Whisper API?

Choose Fun-ASR if local processing, Chinese dialect coverage, or control over VAD, hotwords, and serving matters. Use a managed Whisper API if avoiding model and runtime operations matters more. Compare on the same audio and text-normalization rules, and measure task-specific error rates, end-to-end latency, and cost; the Whisper-large-v3 benchmark entries do not establish hosted API performance.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining QwenAudio/Fun-ASR? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature QwenAudio/Fun-ASR on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare