← Back to Leaderboard
FFluidInference

FluidInference/FluidAudio

Swift and Core ML SDK for on-device speech processing on Apple devices

Engineering Health (Methodology)
A+ · 96/100
Maintenance Activity
● Updated 3d ago
Latest Release
v0.18.5
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance35/35
Fork Adoption21/25
Release Cadence20/20
License Clarity20/20
Local AICLI
Total Stars
★ 3,352
24h Growth
+2
7d Growth
+14
Forks
542

GitHub Star History

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

FluidInference/FluidAudio Star History (2025-06-26 - 2026-12-03) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +3.4k in 525d · avg +6/day 3.5k 1.8k 0 2025-06-26: ★ 12025-08-02: ★ 3122025-09-06: ★ 4662025-10-11: ★ 6072025-11-15: ★ 7342025-12-20: ★ 1,0112026-01-24: ★ 1,1962026-02-28: ★ 1,4582026-04-04: ★ 1,6852026-05-09: ★ 1,9562026-06-13: ★ 2,1432026-07-18: ★ 2,4462026-08-22: ★ 2,6562026-09-26: ★ 2,8912026-10-31: ★ 3,2342026-12-03: ★ 3,352 ★ 3.4k 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

FluidAudio is a Swift SDK that runs audio models through Core ML on Apple devices. It targets the Apple Neural Engine (ANE) rather than a GPU/MPS pipeline. The SDK exposes inference through model-specific APIs: for offline diarization, OfflineDiarizerManager prepares the model bundles, then accepts resampled audio samples or a file URL. The file API uses memory-mapped reads; the Community-1 pipeline combines powerset segmentation, WeSpeaker embeddings, and VBx clustering.

Model delivery is separate from inference. The default loader fetches and compiles missing assets, while ModelRegistry supports alternate registries and revision overrides for mirrors. The repository includes separate Package.swift and Package@swift-6.2.swift manifests, an SDK product, and the fluidaudiocli entry point. Swift 6.2 package traits make TTS, diarization, and NeMo text processing optional at build time. React Native/Expo and Rust/Tauri wrappers provide additional integration paths without changing the Apple execution target.

Key Capabilities & Differentiators

The SDK provides streaming and file transcription, text-to-speech, Silero voice activity detection, online and offline speaker diarization, and speaker embedding extraction. Parakeet covers documented ASR workflows including end-of-utterance detection, while Nemotron provides English and multilingual streaming encoders. NeMo inverse text normalization can turn spoken forms such as “two hundred” into “200.” Kokoro synthesis supports pauses keyed to literal punctuation marks, so similar-looking marks can be timed independently.

For recorded meetings, the offline CLI benchmark can run the AMI ES2004a file and emit JSON with DER, JER, RTFx, and timings for segmentation, embedding extraction, and VBx clustering. For live capture, the beta LocalVQE pipeline suppresses loudspeaker echo, noise, and reverb in 16 kHz microphone audio given a far-end reference. Its stated 16 ms streaming latency applies to the enhancement stage, not the full voice application.

Trade-offs & Limitations

Compared with a standalone local ASR engine, FluidAudio is a better fit when transcription, VAD, speaker segmentation, and synthesis need to live in one Apple app. If the job is simply to transcribe files, compare recognition quality and packaging cost before adopting the broader SDK. Compared with a hosted speech API, local inference removes the network round trip from the inference path and allows audio to stay on the device. In exchange, the app owns model provisioning, storage, updates, and device-specific validation. The language wrappers do not make Core ML a cross-platform inference backend.

Treat ANE placement as something to verify for each model and chip, not an SDK-wide guarantee. Measure startup preparation separately from inference, then test peak memory, CPU use, and real-time throughput under the intended workload. Trait trimming reduces the build footprint but does not eliminate the need to provision the models you use. The SDK is Apache-2.0; check the licenses and redistribution obligations of the selected models and dependencies separately.

Hardware & Deployment Guide

Integrate the FluidAudio product with Swift Package Manager in an Apple app target or use swift run fluidaudiocli for local evaluation. Swift 6.2+/Xcode 26+ supports trait-based trimming: traits: [] retains ASR and VAD but removes TTS, diarization, and NeMo text processing. Older toolchains build all three optional subsystems. Automatic preparation downloads missing assets from Hugging Face by default. REGISTRY_URL redirects the CLI to a mirror, while https_proxy routes requests through a proxy. For STRICTLY offline use, provision compatible assets, enable ModelHub.offlineMode before any loader runs, and load from a local directory. Missing files produce a typed error, and a corrupt bundle is not silently redownloaded.

Recent fixes make exact release and model-bundle selection important. In v0.18.4, revised Nemotron encoder bundles rewrite the convolution-cache slice so M2 and M3 Neural Engines can compile the encoders instead of silently sending that work to the CPU. In v0.18.5, moving Kokoro alignment to a native Swift copy addresses a Core ML CPU-engine crash at the 48-token shape under .cpuAndNeuralEngine. Validate the exact bundle and software release on the Apple chips you plan to support.

Runtime: Swift and Core ML target ANE execution without relying on a GPU/MPS pipeline.
Batch diarization: Community-1 combines powerset segmentation, WeSpeaker embeddings, and VBx clustering; the file API uses memory-mapped reads.
Benchmarking: The offline AMI CLI benchmark exports DER, JER, RTFx, and per-stage timings as JSON.
Streaming enhancement: The beta 4.8M-parameter LocalVQE processes 16 kHz microphone audio with a far-end reference at a stated 16 ms streaming latency.
Build footprint: Swift 6.2+ package traits can omit TTS, diarization, and NeMo text processing; the optional ITN engine accounts for about 8 MB per slice.
Offline provisioning: ModelHub.offlineMode rejects network fetches and disables automatic redownload; internal mirrors can map pinned revisions explicitly.
Best For

Apple-device dictation, private meeting transcription, or voice interfaces that combine local ASR, VAD, diarization, and synthesis. The CLI is useful for validating batch workloads before app integration.

Skip If

You need a single inference backend across Apple and non-Apple targets, or prefer a managed speech endpoint to shipping models and testing across device generations.

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

Quick Start & Installation

Local AICLI
# Use custom registry
export REGISTRY_URL=https://your-mirror.example.com
swift run fluidaudiocli transcribe audio.wav

# Or use the MODEL_REGISTRY_URL alias
export MODEL_REGISTRY_URL=https://models.internal.corp
swift run fluidaudiocli diarization-benchmark --auto-download

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
FluidAudio ★3.4k+14SwiftApache-2.0Swift and Core ML SDK for on-device speech processing on Apple devices
sherpa-onnx16.4k+136C++Apache-2.0C++ and ONNX Runtime SDK for offline speech and real-time transcription
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe
Speech18.8k+18PythonApache-2.0PyTorch speech SDK for training, adapting, and running ASR, TTS, and SpeechLM mo

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/FluidInference/FluidAudio.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.

FluidInference/FluidAudio Star History on RepoForAI

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

Frequently Asked Questions about FluidAudio

How do I add batch speaker diarization to a Swift app?

Add the FluidAudio product through Swift Package Manager. For batch diarization, initialize OfflineDiarizerManager, call prepareModels(), and pass a file URL for memory-mapped reads or supply resampled samples directly. For a network-free startup, provision the model assets yourself and enable ModelHub.offlineMode before any loader runs.

What hardware and memory budget should I plan for?

Size the system around Core ML execution on your target Apple device, not a discrete-GPU VRAM figure. ANE placement depends on the model bundle and chip, so profile peak memory, CPU load, and real-time throughput with the models and concurrent workloads you intend to ship. Measure model preparation separately from steady-state inference.

Can I ship it commercially and host the model assets myself?

The SDK is Apache-2.0. Before distributing an app or hosting a model mirror, verify the terms and notice requirements for each bundled model and dependency; the SDK license does not replace those terms. Use ModelRegistry.baseURL for an internal mirror and preserve pinned upstream revisions where possible. For an air-gapped runtime, ship the assets and turn on offline mode instead of relying on a reachable mirror.

When should I choose FluidAudio over a standalone ASR engine or a cloud API?

Use FluidAudio when you need more than transcription on Apple devices—for example, streaming ASR alongside VAD, speaker diarization, and TTS. If you only need file transcription, compare the recognition quality and deployment effort with a standalone local ASR engine. If you already run a cross-platform speech service, weigh the privacy and network-latency benefits of local inference against taking on device-specific testing and model distribution.

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 FluidInference/FluidAudio? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature FluidInference/FluidAudio 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